From ae465a47a9df943aebef4adea292b4e20e9527c5 Mon Sep 17 00:00:00 2001 From: hevinci Date: Wed, 11 May 2022 16:13:51 +0800 Subject: [PATCH] Simulate build use default build version. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 模拟构建模式使用一个默认的资源版本号。 --- .../Editor/AssetBundleBuilder/AssetBundleSimulateBuilder.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleSimulateBuilder.cs b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleSimulateBuilder.cs index b5a80d4..191c422 100644 --- a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleSimulateBuilder.cs +++ b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleSimulateBuilder.cs @@ -16,8 +16,7 @@ namespace YooAsset.Editor buildParameters.OutputRoot = defaultOutputRoot; buildParameters.BuildTarget = EditorUserBuildSettings.activeBuildTarget; buildParameters.BuildMode = EBuildMode.SimulateBuild; - buildParameters.BuildVersion = AssetBundleBuilderSettingData.Setting.BuildVersion; - buildParameters.BuildinTags = AssetBundleBuilderSettingData.Setting.BuildTags; + buildParameters.BuildVersion = 999; buildParameters.EnableAddressable = AssetBundleCollectorSettingData.Setting.EnableAddressable; AssetBundleBuilder builder = new AssetBundleBuilder();