Search Issue Tracker
By Design
Votes
0
Found in
6000.0.33f1
6000.1.0b1
6000.2.0a1
Issue ID
UUM-91797
Regression
No
“Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts which worked with TMP Font Asset Creator
Reproduction steps:
1. Open the attached “FontIssue” project
2. In the Font Asset Creator window (Window > TextMeshPro > Font Asset Creator), select the “Armata-Regular” font file
3. Press the “Generate Font Asset” button
Expected result: The Font Asset is successfully generated
Actual result: “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged in the Console and the Font Asset is not generated
Reproducible with: 2023.2.0a14, 6000.0.33f1, 6000.1.0b1
Not reproducible with: 2021.3.47f1, 2022.3.55f1, 2023.2.0a13
Reproducible on: macOS Sequoia 15.1.1 (M1 Max)
Not reproducible on: No other environments tested
Workaround: Delete the meta file of the font file
Note: In the not reproducible versions, TextMeshPro is a seperate package with a different Font Asset Creator which works
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
In order to create a FontAsset, the Font must be set to dynamic and have the "Include Font Data" checked (see documentation: https://docs.unity3d.com/6000.0/Documentation/Manual/UIE-get-started-with-text.html#create-a-dynamic-font-asset)
In the provided project, all the non-working fonts are set to Character - Custom Set. We suggest adding a temporary font as Dynamic in order to create the FontAssets.