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
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'))
Comments (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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ScrollView speed is slower when entering Play mode
- UI Builder elements disappear and "Semantic - Unknown template name" error appears when changes to "Template" parameter are saved
- Renderers outside Light Probe hull use incorrect Ambient Probe values when "Renderer Light Probe Selection" is set to "Use Ambient Probe" and "Light Probes" on Mesh is set to "Blend Probes"
- ArgumentNullException error occurs when selecting a Camera in the Hierarchy with the Scene view open
- Clicking 'Open Editor Log' through the Console fails to open redirected Logs when relative Log files exist outside of the Project root
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.