update asset system

修复安卓平台下,小米8手机上有小概率加载原生文件失败的问题。
This commit is contained in:
hevinci
2023-05-29 17:30:43 +08:00
parent eff2f1d968
commit e9fa3ead04
3 changed files with 3 additions and 3 deletions

View File

@@ -89,7 +89,7 @@ namespace YooAsset
// 3. 从站点下载
if (_steps == ESteps.Website)
{
int failedTryAgain = 1;
int failedTryAgain = Impl.DownloadFailedTryAgain;
var bundleInfo = ManifestTools.GetUnpackInfo(MainBundleInfo.Bundle);
_website = DownloadSystem.BeginDownload(bundleInfo, failedTryAgain);
_steps = ESteps.CheckWebsite;