Skip to content

Commit 9057452

Browse files
authored
Merge pull request #607 from Redpenguine/master
fix: incorrect download progress reporting
2 parents f057abf + a2f6f84 commit 9057452

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/UniTask/Assets/Plugins/UniTask/Runtime/External/Addressables/AddressablesAsyncExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public bool MoveNext()
243243

244244
if (progress != null && handle.IsValid())
245245
{
246-
progress.Report(handle.PercentComplete);
246+
progress.Report(handle.GetDownloadStatus().Percent);
247247
}
248248

249249
return true;
@@ -448,7 +448,7 @@ public bool MoveNext()
448448

449449
if (progress != null && handle.IsValid())
450450
{
451-
progress.Report(handle.PercentComplete);
451+
progress.Report(handle.GetDownloadStatus().Percent);
452452
}
453453

454454
return true;

0 commit comments

Comments
 (0)