Search Issue Tracker
Duplicate
Duplicate in 2.0.X
Votes
0
Found in [Package]
1.21.20
2.0.8
Issue ID
ADDR-3680
Regression
Yes
The Editor becomes unresponsive when using WaitForCompletion function while loading Addressable assets which are responsible for loading an additional scene
How to reproduce:
1. Open the “EmptyProject2022“ project
2. Open the “Window > Asset Management > Addressables > Groups“
3. Select Play Mode Script, and choose Use Existing Builds mode
4. Select “Build > New Build > Default Build Script”
5. Open the “Driver“ scene
6. Enter the Play Mode
7. Move the mouse around
Expected result: The Editor is responsive
Actual result: The Editor becomes unresponsive
Reproducible with: 1.21.19 (2022.3.25f1), 1.21.20 (2022.3.25f1, 2023.2.19f1, 6000.0.0b15), 2.0.8 (2023.2.19f1, 6000.0.0b15),
Could not test with: 1.21.19, 1.21.20 (2021.3.37f1) (Couldn’t resolve the Console exceptions)
Reproducible on: macOS 13.5.2 (Intel), Windows 10 Pro
Not reproducible on: No other environments tested
Note: Some asynchronous operation (coming from the {{Addressables.LoadAssetAsync<Object>}}()) is holding the WaitForCompletion function not finished and it is holding the Awake() function, thus holding the Editor unresponsive.
-
Resolution Note:
This is a user error:
public class TestAwake : MonoBehaviour
{
private void Awake()
{
Addressables.LoadAssetAsync<Material>("Test").WaitForCompletion();
}
}Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/ADDR-3664
-
Resolution Note (2.0.X):
This is a user error:
public class TestAwake : MonoBehaviour
{
private void Awake()
{
Addressables.LoadAssetAsync<Material>("Test").WaitForCompletion();
}
}Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/ADDR-3664
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
- Scaled Backgrounds List and dropdown text are enabled while Scaled Backgrounds field is disabled in IMGUI Debugger window
- Editor crashes when large value is entered in Scaled Backgrounds field of IMGUI Debugger window
- "Custom Function" Node "Input" type changes do not immediately show mistmatch errors when set to an incompatible type in Shader Graph
- My Assets list is populated with Asset Packages when setting how many Packages to display before clicking the Load button
- Hub shows 6.0 as Latest LTS when opening a project after deleting its 6.3 Editor version
This is a duplicate of issue #-3664