How to Unity
Unity Text Mesh Pro (TMP) Font Asset Creator
Learn how to import new fonts for your Text Mesh Pro Objects
Text Mesh Pro (TMP) is a giant leap forward with respect to the plain old UI Text in Unity. It is such a big leap that in recent Unity versions it is not possible anymore to use the old Text.

Every first time you create a TMP, this pop-up suggests you import a bunch of related assets. Do it.

In this tutorial, I don’t dare to show you the capabilities of the Text Mesh Pro: it would be a humongous deed.


Text Mesh Pro takes the UI Text and pushes it to the limit with text styling, new ways of overflowing the text (such as the cool linked overflow), improved use of colours, gradients and even textures applied to the Text, including shadow and lighting effects…

You can also write HTML in the text input for even further customization of your text!
In this article, I aim to help you with one of the most annoying “issues” related to the Text Mesh Pro. Unlike the old Text, it is not possible anymore to you our beloved collection of TTF (True Type Font) fonts. This is mainly because the Text Mesh Pro uses a whole asset, carrying much more information (there even are materials for the text!).
What if you have a perfect TTF you want to use in my Unity project absolutely, but can’t because the TMP doesn’t accept it?
Go to Window → Package Manager and ensure the Text Mesh Pro package is installed. Then again Window → Text Mesh Pro → Font Asset Creator

The Font Asset Creator is a tool that easily helps you in the creation of a font asset, starting from your favourite TTF.


Make sure you have your TTF font in one of your project folders. In the dialog, drag your TTF into the Source Font File property and click on Generate Font Atlas. When it’s done, click on save and place the new file somewhere you like in the project. Now you have a font asset!

The font assets are SDF files, ready to be used with your TMP asset! Just drag and drop it on the specific property in the inspector and you’re good to go!

If you liked the article, please clap to it and share it! Also, take a look at my games!

Get access to my stories and those of other Medium writers for just $5 a month. With no additional cost to you, I will receive half of your payments as a commission: it’s a great way to support me!
Join my newsletter and receive regular notifications when I post.






