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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.