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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
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.