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
- Animator Controller Layer name stays unchanged in Layers tab when renamed from Inspector
- [RenderingDebugger]Motion vectors are displayed when Phong Tessellation is used on the material and Skinned Motion Vectors are enabled on the GameObject's Skinned Mesh Renderer component
- Shader Graph Enum Keywords always select last element in Entries when Stages is set to Fragment and Recursive Rendering is enabled in the Scene
- [Mac] Glitchy visual artifacts appear when moving around a scene with Sphere Handles
- Crash on memcpy_repmovs when selecting NavMesh Agent objects while in Play Mode in a specific scene
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.