Search Issue Tracker
Active
Votes
1
Found in
2019.4
2020.3
2021.3
2021.3.2f1
2022.1
2022.2
Issue ID
1428833
Regression
No
Async/await makes the Editor hang indefinitely
How to reproduce:
1. Open the attached "Deadlock test" project
2. In the Project window, Right Click -> Create -> Bug -> Sample
3. Click "Test" in the Inspector window
Expected result: "Value" changes from 0 to 10 with no problems in the Inspector window
Actual result: A loading bar that says "Hold on (busy for Xs)..." pops up and hangs indefinitely, making the Editor unusable
Reproducible with: 2019.4.39f1, 2020.3.35f1, 2021.3.3f1, 2022.1.2f1, 2022.2.0a15
Notes:
1. Unity freezes without a loading bar in 2019.4
2. The line that makes the Editor hang can be found at Assets/Editor/1428833_SampleScriptableObjectEditor.cs at line 16
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Canvas UI is invisible in camera with output from Graphics Compositor with a texture sublayer when a separate camera renders to that texture as a Target Texture
- UI Builder Progress Bar Element background color does not change in the Viewport
- [Linux] Screen.SetResolution immediately applies windowed resolution when switching from Fullscreen to Windowed mode
- Lighting window allows non-cube map texture for Environment Reflections, throwing invalid texture type (2D) error
- Console warning “MismatchingRepositoryProjectMessage” when creating a new Unity Version Control workspace
Add comment