Skip to content

Commit 2963ab6

Browse files
author
wanderer
committed
资源版本验证
1 parent 6ea3f26 commit 2963ab6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

GameFramework/Runtime/Resource/ResourceVersion.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,8 @@ private void DownloadFiles(List<AssetHashInfo> needDownloadFiles,Action<float, d
358358
else
359359
{
360360
File.Delete(localPath);
361-
throw new GameException($"File integrity verification failed. {localPath}");
361+
//throw new GameException($"File integrity verification failed. {localPath}");
362+
errorCallback?.Invoke(localPath, "File integrity verification failed.");
362363
}
363364
}, (localPath, error) =>
364365
{

0 commit comments

Comments
 (0)