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
- UI Text color is incorrect when text is rendered on SubMeshUI
- "Invalid SortingGroup index set in Renderer" errors when making many modifications in same frame
- Crash on GizmoBufferSizeHistory::GetBuffer() when opening a specific scene
- RenderTexture is not initialized when it is set as Material's Texture
- Branch node outputs a random value instead of a constant on the false conditon
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.