Search Issue Tracker
By Design
Votes
0
Found in
6000.0.33f1
6000.1.0b1
6000.2.0a1
7000.0.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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
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.