Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2021.2.X
Votes
1
Found in
2020.3
2020.3.0f1
2021.1
2021.2
Issue ID
1322485
Regression
No
Crash on tlsf_free when entering Play Mode and the index is out of range in texture data
How to reproduce:
1. Open the user's attached project from "2D test.zip"
2. Enter Play Mode
Reproducible with: 2020.3.3f1, 2021.1.2f1, 2021.2.0a12
Could not test with: 2018.4.33f1, 2019.4.23f1 (No feature)
First lines of stack traces:
0x00007ff70b6b02f4 (Unity) tlsf_free
0x00007ff707fe7f37 (Unity) DynamicHeapAllocator::Deallocate
0x00007ff707fe3734 (Unity) DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate
0x00007ff707fc5df2 (Unity) MemoryManager::Deallocate
0x00007ff707fd7d1a (Unity) free_alloc_internal
0x00007ff7075c6901 (Unity) dynamic_array<void * __ptr64 [38],0>::~dynamic_array<void * __ptr64 [38],0>
0x00007ff62710a491 (Unity) tlsf_memalign
0x00007ff6250f66f6 (Unity) DynamicHeapAllocator::Allocate
0x00007ff6250f2f54 (Unity) DualThreadAllocator<DynamicHeapAllocator>::Allocate
0x00007ff6250e9ddb (Unity) MemoryManager::Allocate
0x00007ff6250f117c (Unity) malloc_internal
0x00007ff625594f6d (Unity) dynamic_array_detail::dynamic_array_data::resize_buffer
Note:
1. Error "Index is out of range" is added, but still crashes
2. If it doesn't crash, exit Play Mode
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
- Missing script error when clicking “script” link in Cave scene’s Water Sample Description
- [VFX Graph] Set Position Shape Gizmo isn't refreshed after shaper switch
- NullReferenceException is thrown when trying to access volumeStack from the HDCamera class
- Visual artifacts appear when using an Orthographic camera with a Reflection Probe
- Not all animation properties are accessible when a prefab with an avatar model contains a nested copy of itself with a renamed GameObject
Resolution Note (fix version 2021.1):
Fixed in 2022.1.0a2
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0b11