From f6bc52fd594a83b9c8726b4ffbaf1a7802d148ba Mon Sep 17 00:00:00 2001 From: hevinci Date: Wed, 22 Feb 2023 17:02:28 +0800 Subject: [PATCH] update asset bundle builder --- .../BuildTasks/TaskCreatePatchManifest.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskCreatePatchManifest.cs b/Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskCreatePatchManifest.cs index 258b64a..66c9cf5 100644 --- a/Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskCreatePatchManifest.cs +++ b/Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskCreatePatchManifest.cs @@ -64,8 +64,11 @@ namespace YooAsset.Editor // 更新资源包之间的引用关系 if (buildParameters.BuildPipeline == EBuildPipeline.BuiltinBuildPipeline) { - var buildResultContext = context.GetContextObject(); - UpdateBuiltinPipelineReference(patchManifest, buildResultContext, buildMapContext); + if (buildParameters.BuildMode != EBuildMode.SimulateBuild) + { + var buildResultContext = context.GetContextObject(); + UpdateBuiltinPipelineReference(patchManifest, buildResultContext, buildMapContext); + } } // 创建补丁清单文本文件