Search Issue Tracker

Fixed

Fixed in 1.19.17

Votes

0

Found in [Package]

1.18.2

Issue ID

ADDR-2398

Regression

Yes

[Addressables] Editor freezes when Max Concurrent Web Requests operations are happening and WaitForCompletion is called

Package: Build Pipeline - Addressables

-

How to reproduce:
1. Open the user-submitted project
2. Open the Addressables Groups window (Window > Asset Management > Addressables > Groups)
3. Click Build > New Build > Default Build Script
4. Enter Play mode

Expected result: Addressables are loaded
Actual result: The Editor freezes

Reproducible with: 1.18.2, 1.19.11 (2019.4.33f1, 2020.3.24f1, 2021.2.5f1, 2022.1.0b1)
Not reproducible with: 1.17.13, 1.17.17 (2019.4.33f1, 2020.3.24f1)
Could not test with: 1.16.19 (2019.4.33f1, 2020.3.24f1) (Error: 'AsyncOperationHandle<GameObject>' does not contain a definition for 'WaitForCompletion'))

  1. Resolution Note (fix version 1.19.17):

    Fixed issue where using WaitForCompletion and loading an AssetBundle through a UnityWebRequest freezes the editor when using 2021.2+.
    Fixed issue where using WaitForCompletion and exceeding the max number of concurrent web requests freezes the editor.

Comments (1)

  1. xodennisxo

    Jan 18, 2023 08:53

    but there is an error in this situation in Unity2013.3.13f1 + Addressable 1.21.2:
    System.ArgumentNullException: Value cannot be null.
    Parameter name: _unity_self
    at (wrapper managed-to-native) UnityEngine.Networking.DownloadHandlerAssetBundle.get_autoLoadAssetBundle(UnityEngine.Networking.DownloadHandlerAssetBundle)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.