From 19221480a0a89140ec6bb5a2bf34e24119d1e37a Mon Sep 17 00:00:00 2001 From: hevinci Date: Fri, 24 Mar 2023 16:25:45 +0800 Subject: [PATCH] update asset bundle collector MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 导入时检测xml配置错误。 --- .../AssetBundleCollector/AssetBundleCollectorConfig.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorConfig.cs b/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorConfig.cs index e9be8a2..7db138a 100644 --- a/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorConfig.cs +++ b/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorConfig.cs @@ -161,6 +161,12 @@ namespace YooAsset.Editor } } + // 检测配置错误 + foreach(var package in packages) + { + package.CheckConfigError(); + } + // 保存配置数据 AssetBundleCollectorSettingData.ClearAll(); AssetBundleCollectorSettingData.Setting.EnableAddressable = enableAddressable;