Search Issue Tracker
Won't Fix
Votes
1
Found in
2020.3.37f1
Issue ID
UUM-11127
Regression
No
Crash on tlsf_free when entering Play mode
Reproduction steps:
1. Open the user’s attached project “Bullet_Hell.zip“
2. Enter Play mode
Expected result: The Editor does not crash
Actual result: The Editor crashes
Reproducible with: 2020.3.37f1
Could not test with: 2021.3.6f1, 2022.1.10f1, 2022.2.0b2, 2023.1.0a2 - due to errors in the Console when upgrading the project (not able to enter Play mode)
Reproduced on: Windows 10 Pro
First few lines of the stack trace:
0x00007ff77ba76b04 (Unity) tlsf_free
0x00007ff779b2c5b7 (Unity) DynamicHeapAllocator::Deallocate
0x00007ff779b28a15 (Unity) DelayedPointerDeletionManager::CleanupPendingMainThreadPointers
0x00007ff779b28226 (Unity) DualThreadAllocator<DynamicHeapAllocator>::Allocate
0x00007ff779b22355 (Unity) MemoryManager::Allocate 0x00007ff779b219fb (Unity) operator new
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
- "Rendering Debugger" displays incorrect overdraw count when using "Unlit/Texture" shader
- Scene and Game views break when the Editor window is snapped with the Microsoft PowerToys
- Materials do not transfer texture when the "Shader" parameter is changed from "Unlit/Texture" to "Universal Render Pipeline/Unlit"
- [Linux][Vulkan] Crash when opening searchable dialog
- The "Shader error in 'AE/Leaves': "Undefined punctual shadow filter algorithm"" error appears when build completes on a specific project
Resolution Note:
The issue was in the user's code and was caused by the JobHandle variable being created inside the OnUpdate method, causing it to lose reference to the original Job on the next frame and resulting in an error when attempting to access the modified data. The issue was fixed by creating a NativeArray at the class/SystemBase level to hold the JobHandle across frames.