Search Issue Tracker
Fixed
Votes
0
Found in
2022.3.12f1
2023.1.19f1
2023.2.0b16
2023.3.0a12
Issue ID
UUM-54961
Regression
Yes
Crash on block_remove when continuously instantiating and destroying a prefab
Reproduction steps:
1. Open the attached “repro-project”
2. Open the “Assets/Scenes/SampleScene.unity“ scene
3. Enter Play Mode
4. Observe the crash
Reproducible with: 2022.2.9f1, 2022.3.12f1, 2023.1.19f1, 2023.2.0b16, 2023.3.0a12
Not reproducible with: 2021.3.32f1, 2022.2.8f1
Reproduced on: Windows 10 Pro
Not reproducible on: No other environment tested
Note: The script causing the crash repeatedly creates a GameObject, pauses for 0.2 seconds, and then destroys it
First few lines of the stack traces:
0x00007FF658687192 (Unity) block_remove
0x00007FF6586870E8 (Unity) block_merge_next
0x00007FF6586878BC (Unity) tlsf_realloc_align_inplace
0x00007FF65645720E (Unity) DynamicHeapAllocator::Reallocate
0x00007FF656460BE5 (Unity) DualThreadAllocator<DynamicHeapAllocator>::Reallocate
0x00007FFE1695936A (Unity) remove_free_block
0x00007FFE169590B3 (Unity) block_locate_free
0x00007FFE1695977C (Unity) tlsf_memalign
0x00007FFE145DC08B (Unity) DynamicHeapAllocator::Allocate
0x00007FFE145E2B40 (Unity) DynamicHeapAllocator::Reallocate
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
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-54962