Skip to content

Commit

Permalink
fix: removed webgl preprocessor directive for asasets download pack
Browse files Browse the repository at this point in the history
  • Loading branch information
dre0dru committed Dec 19, 2021
1 parent b2c069f commit c5ddab7
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,10 @@ private void UpdateDownloadStatusProgress()
// TODO Won't work on WebGL
// Call Addressables.InitializeAsync() before creating instance of this class
// https://docs.unity3d.com/Packages/[email protected]/manual/SynchronousAddressables.html#webgl
#if !UNITY_WEBGL
private long GetDownloadSizeBytes()
{
return Addressables.GetDownloadSizeAsync((IEnumerable)_assetLabelReferences).WaitForCompletion();
}
#endif

private AssetsDownloadStatus CreateInitialDownloadStatus()
{
Expand Down

0 comments on commit c5ddab7

Please sign in to comment.