Fix AwaitForAllAssets stackoverflow #394

master
neuecc 2022-10-24 21:57:42 +09:00
parent ed617a04a6
commit f092f6a112
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ namespace Cysharp.Threading.Tasks
public static UniTask<UnityEngine.Object[]> AwaitForAllAssets(this AssetBundleRequest asyncOperation, CancellationToken cancellationToken)
{
return AwaitForAllAssets(asyncOperation, cancellationToken: cancellationToken);
return AwaitForAllAssets(asyncOperation, null, PlayerLoopTiming.Update, cancellationToken: cancellationToken);
}
public static UniTask<UnityEngine.Object[]> AwaitForAllAssets(this AssetBundleRequest asyncOperation, IProgress<float> progress = null, PlayerLoopTiming timing = PlayerLoopTiming.Update, CancellationToken cancellationToken = default(CancellationToken))