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
  1. Resolution Note (fix version 6000.3.0a1):

    Fixed rare deadlock on Windows in Resources.UnloadUnusedAssets.

  2. Resolution Note (fix version 6000.2.0b10):

    Fixed rare deadlock on Windows when aggressively calling Resources.UnloadUnusedAssets and generating a large amount of garbage.

  3. Resolution Note (fix version 6000.1.12f1):

    Fixed rare deadlock on Windows when aggressively calling Resources.UnloadUnusedAssets and generating a large amount of garbage.

  4. Resolution Note (fix version 6000.0.54f1):

    Fixed rare deadlock on Windows when aggressively calling Resources.UnloadUnusedAssets and generating a large amount of garbage.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.