Search Issue Tracker
Fixed
Fixed in 2021.3.17f1
Votes
2
Found in
2021.3.16f1
Issue ID
UUM-25490
Regression
Yes
Crash on delete_object_internal_step1 when unloading memory
Reproduction steps:
1. Open the attached project "UnloadResourceBug2021_3_15f1"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Press “1.Prepare DownloadStart” button and wait for the download complete
5. Press “2.Run TextureLoad” button
6. Press “ExplicitUnload” button
Expected result: The Editor releases image memory
Actual result: The Editor crashes
Reproducible with: 2021.3.10f1, 2021.3.16f1
Not reproducible with: 2020.3.44f1, 2021.3.9f1, 2022.2.1f1, 2023.1.0a25
Reproduced on: Windows 10 Enterprise 21H2
First few lines of the Stacktrace:
0x00007ff6e886cf0d (Unity) delete_object_internal_step1
0x00007ff6e8869570 (Unity) DestroySingleObject
0x00007ff6e8b8ac7d (Unity) DestroyObjectHighLevel_Internal
0x00007ff6e8b8a814 (Unity) DestroyObjectHighLevel
0x00007ff6e8b45c5a (Unity) BackgroundJobQueue::ExecuteMainThreadJobs
Notes:
- Confirmed in both IL2CPP builds and Mono builds
- Reproduces on Android
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
- Location tooltip in the Viewport of UI Builder window does not update when the UI Document Asset is moved to a different location
- Audio Clip Volume and Avoid Repeating Last fields values cannot be changed in Audio Random Container window
- Setting a variable in the root selector via an imported USS file in a theme does not work
- No character limit when creating a new Scene with excessively long name, Editor can be forced to crash
- URP Decal Projector flickers/glitches when added to Cube or Quad GameObjects as a Component
Resolution Note (fix version 2021.3.17f1):
Fixed by a PR that landed in 2021.3.17.
The crash does not seem to occur in the editor / Android Mono builds / Android IL2CPP builds anymore.