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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
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.