Search Issue Tracker

Active

Under Consideration for 6000.0.X, 6000.2.X, 6000.3.X, 6000.4.X

Votes

0

Found in

6000.0.61f1

6000.2.10f1

6000.3.0b8

6000.4.0a4

Issue ID

UUM-125366

Regression

Yes

Crash on UNITY_FT_Load_Glyph when generating multi-threaded Font Atlas in TMPro Font Asset Creator

-

Steps to reproduce:
1. Open the “user’s attached project”
2. Open “Window/TextMeshPro/Font Asset Creator”
3. Set Source font to “GmarketSansTTFMedium”
4. Set Sampling Point Size to Auto Sizing
5. Set Padding to 7%
6. Set Packing method to Fast
7. Set Atlas resolution to 2048x2048
8. Set Character Set to Characters from File
9. Set Character File to “Characters_ko_Content”
10. Generate Font Atlas
11. Observe the crash or an Assertion failed error with generated corrupted glyphs or dots

Reproducible with versions: 6000.0.61f1 (Assertion failed error), 6000.2.0b7, 6000.2.10f1, 6000.3.0b8, 6000.4.0a4
Not reproducible with versions: 6000.2.0b6

Reproducible on: macOS 15.7.1 (M1 Max)
Not reproducible on: no other environment tested

First few lines of StackTraces:
#0 0x00000107ab01c0 in cf2_builder_lineTo
#1 0x00000107ab98d4 in cf2_glyphpath_pushPrevElem
#2 0x00000107ab8640 in cf2_glyphpath_curveTo
#3 0x00000107ab1ec4 in cf2_interpT2CharString
#4 0x00000107aacc44 in cf2_decoder_parse_charstrings
#5 0x00000107aa3b68 in cff_glyph_load
#6 0x00000107a89518 in UNITY_FT_Load_Glyph

#1 0x00000104629e1c in DynamicHeapAllocator::Deallocate(void)
#2 0x00000104621244 in DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate(void
)
#3 0x00000104633400 in MemoryManager::TryDeallocateWithLabel(void, MemLabelId, char const, int)
#4 0x0000010462dca0 in free_alloc_internal(void, MemLabelId const&, char const, int)
#5 0x00000106dd00b8 in UNITY_FT_Stream_ReleaseFrame debugger-agent: Unable to listen on 44
#6 0x00000106de3c18 in cff_glyph_load
#7 0x00000106dc9574 in UNITY_FT_Load_Glyph

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.