From cc75594747e4af229ff5e32312bf714786e53b51 Mon Sep 17 00:00:00 2001 From: hevinci Date: Thu, 5 Jan 2023 19:01:45 +0800 Subject: [PATCH] update patch system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复WebGL平台本地文件验证报错。 --- .../PatchSystem/Operations/Internal/VerifyPackageOperation.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/YooAsset/Runtime/PatchSystem/Operations/Internal/VerifyPackageOperation.cs b/Assets/YooAsset/Runtime/PatchSystem/Operations/Internal/VerifyPackageOperation.cs index 6600ffa..9f1af87 100644 --- a/Assets/YooAsset/Runtime/PatchSystem/Operations/Internal/VerifyPackageOperation.cs +++ b/Assets/YooAsset/Runtime/PatchSystem/Operations/Internal/VerifyPackageOperation.cs @@ -215,7 +215,7 @@ namespace YooAsset // 设置同时验证的最大数 _verifyMaxNum = bundleCount; - _verifyTotalCount = _waitingList.Count; + _verifyTotalCount = bundleCount; _waitingList = new List(bundleCount); _verifyingList = new List(_verifyMaxNum);