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); + } } // 创建补丁清单文本文件