Search Issue Tracker
Fixed
Fixed in 6000.0.53f1, 6000.1.10f1, 6000.2.X, 6000.3.0a2
Votes
0
Found in
2021.3.42f1
2022.3.42f1
6000.0.15f1
6000.1.0a7
6000.2.0a1
6000.3.0a1
7000.0.0a1
Issue ID
UUM-77941
Regression
No
Crash on tlsf_free when calling "UnloadResources" with the "OnDisable" function
How to reproduce:
1. Open the attached "UnloadCrash" project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Enter Play Mode, Leave Play Mode, and enter Play Mode
Reproducible with: 2021.3.42f1, 2022.3.42f1, 6000.0.15f1
Reproducible on: macOS 14.5 Sonoma (Intel), Windows 10 (reported by user)
Not reproducible on: No other environment tested
Notes:
- If “OnDisable“ function in the “MainScript“ Script is commented out, then Unity won’t crash, but the “Awake“ function won’t be called
First few lines of stack trace:
0x00007ff61c3ac1e4 (Unity) tlsf_free
0x00007ff61a1558bb (Unity) DynamicHeapAllocator::Deallocate
0x00007ff61a166ddf (Unity) DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate
0x00007ff61a156132 (Unity) MemoryManager::Deallocate
0x00007ff61a15ebfa (Unity) free_alloc_internal
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment