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
- Compute Shader property not set error when entering play mode with path tracing and PBR sky
- "WebGL Publish" detects WebGL module and allows building when it is installed without restarting the project
- Editor is non-responsive and flickers when multiple Water System instances are enabled
- Texture2D.PackTextures causes mips 7-9 to turn pink when packed textures are of ASTC 4x4 compression
- "OnApplicationQuit" is called when "Application.wantsToQuit" returns false
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.