修复了同步加载原生文件,程序卡死的问题。
This commit is contained in:
hevinci
2023-03-06 20:05:34 +08:00
parent b330d26b4f
commit ef5e1e65f9
7 changed files with 37 additions and 28 deletions
@@ -286,6 +286,7 @@ namespace YooAsset
// 文件解压
if (_unpacker != null)
{
_unpacker.WaitForAsyncComplete = true;
_unpacker.Update();
if (_unpacker.IsDone() == false)
continue;