Search Issue Tracker
Fixed
Fixed in 6000.0.43f1, 6000.1.0b11, 6000.2.0a7
Votes
0
Found in
6000.0.40f1
6000.1.0b8
6000.2.0a5
Issue ID
UUM-99056
Regression
No
Crash on TextCore::OTL_GSUB_TableReader::GetGlyphIDSequence when assigning a specific Font Asset to a TMP(Text) GameObject
Steps to reproduce:
1. Open the “repro project”
2. Open “SampleScene”
3. Select the “Text(TMP)” GameObject through the Hierarchy
4. Under the “Textmesh Pro - Text” component change the “Font Asset” to “Assets/Missaali-Regular SDF.asset” through the Inspector
5. Observe the crash
Alternatively:
1. Create a new Unity project
2. Make sure the TextMesh Pro package is installed
3. Go to “Windows/TextMestPro/Import TMP Essential Resources” through the Main Menu
4. Download the “missaali” font file and add it to the Assets folder
5. Right-click on the uploaded font file and go to “Create/TextMeshPro/Font Asset/SDF”
6. Right-click in the Hierarchy and create a “3D Object/Text - TextMeshPro“ GameObject
7. Under the “Textmesh Pro - Text” component change the “Font Asset” to “Assets/Missaali-Regular SDF.asset” through the Inspector
8. Observe the crash
Reproducible with versions: 2022.3.0a14, 6000.0.40f1, 6000.1.0b8, 6000.2.0a5
Not reproducible with versions: 2022.3.59f1
Couldn’t test with: 2023.1.0a2, 2023.2.0a13 (could not assign the Font Asset due to NullReferenceException errors)
Reproducible on: macOS 15.2 (Intel), Windows 10 (by the reporter)
Not reproducible on: no other environment tested
First few lines of StackTrace:
{noformat}0x00007FFC6E02AF36 (Unity) TextCore::OTL_GSUB_TableReader::GetGlyphIDSequence
0x00007FFC6E030A7C (Unity) TextCore::OTL_GSUB_TableReader::GetLookupList
0x00007FFC6E033B29 (Unity) TextCore::OTL_TableReader::GetOpenTypeLayoutTables
0x00007FFC6E03A014 (Unity) TextCore::FontEngine::PopulateOpenTypeLayoutTables
0x00007FFC6E038977 (Unity) TextCore::FontEngine::PopulateLigatureSubstitutionRecordMarshallingArray{noformat}
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note (fix version 6000.2.0a7):
Fix OTL GSUB Table Reader