Search Issue Tracker
Fixed
Fixed in 6000.0.54f1, 6000.1.12f1, 6000.2.0b10, 6000.3.0a1
Votes
0
Found in
6000.0.42f1
6000.1.0b10
6000.2.0a6
6000.3.0a1
Issue ID
UUM-98000
Regression
Yes
Resources.UnloadUnusedAssets() freezes the Editor when releasing Mesh objects
Reproduction steps:
1. Open the attached “repro_IN-93706“ project
2. Open the “Assets/TestScene.unity“ Scene
3. In the Editor overlay, press “Layout“, select “Reset All Layouts“ and press “Continue“
4. Open the Profiler (“Window → Analysis → Profiler“)
5. Enter the Play Mode
6. Wait for the Editor to freeze
Reproducible with: 2023.1.0a24, 6000.0.42f1, 6000.1.0b10, 6000.2.0a6
Not reproducible with: 2022.3.60f1, 2023.1.0a23
Reproducible on: Windows 10 (22H2), Windows 11 (23H2) (user’s)
Not reproducible on: No other environments tested
Notes:
- Reproduction is inconsistent, but the rate is pretty high
- The Profiler window must be open for the freeze to reproduce
- If you’re not able to reproduce the freeze after ~30 seconds, close the Editor and repeat from step 1 - the freeze should reproduce in a few repeats
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
- UI Builder Scrollview is unable to scroll all the way down when the window is downsized vertically
- Celestial bodies order remains unchanged when the Distance setting is modified
- A memory leak occurs with massive terrain when camera position changes occur.
- No valid hits are returned when using RaycastCommand
- Camera is not overlooking the main Scene in Scene View in the HDRP Sample Template
Resolution Note (fix version 6000.3.0a1):
Fixed rare deadlock on Windows in Resources.UnloadUnusedAssets.
Resolution Note (fix version 6000.2.0b10):
Fixed rare deadlock on Windows when aggressively calling Resources.UnloadUnusedAssets and generating a large amount of garbage.
Resolution Note (fix version 6000.1.12f1):
Fixed rare deadlock on Windows when aggressively calling Resources.UnloadUnusedAssets and generating a large amount of garbage.
Resolution Note (fix version 6000.0.54f1):
Fixed rare deadlock on Windows when aggressively calling Resources.UnloadUnusedAssets and generating a large amount of garbage.