Search Issue Tracker
By Design
Votes
0
Found in
2020.1.17f1
2020.2
2021.1
2021.2
Issue ID
1314151
Regression
No
Resources.LoadAll() sometimes freezes Editor upon recompilation
Reproduction steps:
1. Open user attached project
2. Open Assets\_Scenes\Setup Scene
3. Press Play
4. Repeat step 3 for 5-20 times
Expected result: Play mode is enabled
Actual result: The editor Freezes
Reproducible with: 2020.2.7f1, 2021.1.0b9, 2021.2.0a7
Could not test with: 2018.4, 2019.4 (Compiler errors)
Notes: Commenting out line 59 on the PROBLEM_SCRIPT script resolves the issue
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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Resolution Note:
After debugging this, I found that the problem is not `Resources.LoadAll()`, but the call to ChangeShip. The while loop in some cases never ends and results in the Editor freezing up