From 1370ffb3bb9d259b984eb241f9445a81ac2f5789 Mon Sep 17 00:00:00 2001 From: hevinci Date: Thu, 21 Jul 2022 18:00:57 +0800 Subject: [PATCH] Update UpdateManifestOperation.cs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 不期望删除断点续传的资源文件 --- .../Runtime/PatchSystem/Operations/UpdateManifestOperation.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Assets/YooAsset/Runtime/PatchSystem/Operations/UpdateManifestOperation.cs b/Assets/YooAsset/Runtime/PatchSystem/Operations/UpdateManifestOperation.cs index 8a2951e..8571e94 100644 --- a/Assets/YooAsset/Runtime/PatchSystem/Operations/UpdateManifestOperation.cs +++ b/Assets/YooAsset/Runtime/PatchSystem/Operations/UpdateManifestOperation.cs @@ -472,9 +472,13 @@ namespace YooAsset else { VerifyFailCount++; + + // NOTE:不期望删除断点续传的资源文件 + /* YooLogger.Warning($"Failed to verify file : {info.FilePath}"); if (File.Exists(info.FilePath)) File.Delete(info.FilePath); + */ } _verifyingList.Remove(info.Bundle); }