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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
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.