Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

[solved] MissingReferenceException: The variable font of SuperTextMesh doesn't exist anymore.

A topic by Rekize created Sep 20, 2018 Views: 2,340 Replies: 2
Viewing posts 1 to 3
(1 edit)

Hello, I just started with Super Text Mesh, it looks really cool! But right after importing my editor console shows an exception 3 times:

MissingReferenceException: The variable font of SuperTextMesh doesn't exist anymore.
You probably need to reassign the font variable of the 'SuperTextMesh' script in the inspector.
SuperTextMesh.OnValidate () (at Assets/Clavian/SuperTextMesh/Scripts/SuperTextMesh.cs:1097)

My I asked does it matter?

Developer

Hey!

If this is in a sample scene, did you import the fonts that came with STM? I believe this mesh is trying to reference a font that doesn't exist in your project. Some sample scenes use a font that comes in the package, so if the font is missing that might be the cause of the error. If you click on the error, it'll highlight the mesh calling that error, and you can change the font from its inspector.

I'll try to make this problem resolve itself in the future! STM should set its font to be Arial when a requested font isn't found, but it looks like I forgot to do this for this one corner of the inspector.

The error is gone when I restarted the project. Thanks.