Search Issue Tracker
Fixed in 2022.3.20f1
Fixed in 2023.3.0b7
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
- AdaptiveLOD sample has missing prefabs and throws missing prefab errors when the AdaptiveLOD sample is imported and the AdaptiveLOD scene is opened
- Error "transform.position assign attempt for 'x' is not valid" is logged when Moving Game Object to View while a Scene is multi selected
- [Desktop] Plastic move detection mixes up identical files
- SVG Icon has tessellation issues in "Antialiased Arc Encodings", ok with "Basic Triangulation"
- "You may not pass null objects" and "Maximized serialized file backup not found" errors are thrown when maximizing and minimizing docked Multiplayer Play Mode window after Multiplayer Play Mode package is uninstalled
Resolution Note (fix version 2022.3.20f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-54962
Resolution Note (fix version 2023.3.0b7):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-54962