在禁用边玩边下的时候,加载原生文件流程未处理的问题。
This commit is contained in:
何冠峰
2026-06-02 15:53:31 +08:00
parent 54d1593dd2
commit 93a9167100

View File

@@ -335,10 +335,20 @@ namespace YooAsset
} }
} }
else else
{
if (_fileSystem.DisableOnDemandDownload)
{
_steps = ESteps.Done;
Status = EOperationStatus.Failed;
Error = $"The bundle not cached : {_bundle.BundleName}";
YooLogger.Warning(Error);
}
else
{ {
_steps = ESteps.DownloadFile; _steps = ESteps.DownloadFile;
} }
} }
}
if (_steps == ESteps.DownloadFile) if (_steps == ESteps.DownloadFile)
{ {