The default Advanced Text Generator doesn’t support static font assets. If your existing project uses them, you must migrate them so your UI text elements render correctly.
The recommended way to migrate is to convert the static font assets to dynamic with the Font Asset Migration window. The conversion happens in place, so all references to the font asset keep working, and the source font is subset so only the baked characters ship in builds. You can optionally keep the baked atlas.
You can also migrate manually by creating dynamic font assets yourself, either to reduce memory footprint or to optimize startup performance.
The Font Asset Migration window lists the static font assets in your project and converts them to dynamic. To open it, do one of the following:
To convert static font assets:
Each converted font asset switches to the Dynamic atlas population mode and keeps its references. Unity subsets the source font to the characters baked into the atlas, so builds don’t grow by the size of the full font file. You can review or change the subset in the Font Subsetting section of the Inspector.
Some font assets need attention before conversion:
If you created the static font asset mainly to ship a smaller character set, create a dynamic font asset and subset its source font.
Subsetting ships a smaller font file, and because a dynamic font asset doesn’t need a pre-populated atlas texture, dropping the atlas reduces memory overhead further. For reference, an atlas texture in Alpha 8 is approximately:
To migrate, do the following:
If you used a static font asset mainly to pre-populate an atlas (to reduce runtime glyph generation during startup), the equivalent workflow in Advanced Text Generator is to use a dynamic font asset and pre-populate its atlas with a chosen character set.
Note: With SDFAA atlas rendering mode, many projects no longer need to pre-populate an atlas for acceptable first-frame performance. However, if you still require control or warm-up of glyph generation, Advanced Text Generator supports the workflow through a dynamic font asset.
To migrate, do the following: