Search Issue Tracker
Fixed
Votes
0
Found in
2022.3.54f1
6000.0.31f1
6000.1.0a8
7000.0.0a1
Issue ID
UUM-91105
Regression
No
Editor crashes on tlsf_free when generating font atlas with Padding set to “-2.147484e+09%”
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open Font Asset Creator (Window > TextMeshPro > Font Asset Creator)
3. Set Padding to “-2.147484e+09” %
3. Click “Generate Font Atlas“
Expected result: Font atlas is successfully generated
Actual result: Editor crashes
Reproducible with: TMP 4.0.0-pre.2 (2022.3.54f1), uGUI 2.0.0 (6000.0.31f1, 6000.1.0a8)
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
First few lines of the Stacktrace:
0x00007FF947E315B9 (Unity) tlsf_free
0x00007FF945947720 (Unity) DynamicHeapAllocator::Deallocate
0x00007FF945955465 (Unity) DelayedPointerDeletionManager::CleanupPendingMainThreadPointersInternal
0x00007FF945954C3B (Unity) DualThreadAllocator<DynamicHeapAllocator>::Allocate
0x00007FF94594638D (Unity) MemoryManager::Allocate
Note:
- Does not reproduce with Padding set to “5” %
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
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-91956