Hello - I have been playing around with fonts lately, importing a number of fonts and adding materials for them so that they cull properly. I finally finished with all the experimentation and things look good. However, now (seemingly at random times, both in the editor and when the game is running) I am seeing an error in the console: "Cannot add font resource."
Sometimes the error comes from a line where I instantiate an object with a font. Sometimes it comes from C:/BuildAgent/work/6bc5f79e0a4296d6/Runtime/Filters/Mics/Font.cpp, and other times from UnityEditor.DockArea:OnGUI().
It seems like it only shows up when I use one of my imported fonts, http://www.1001freefonts.com/Boister.php, which is unfortunately the font I liked best. The font itself renders properly in game, and everything looks fine, but the fact that this error shows up fairly frequently worries me a little.
Does anyone know what this error might been specifically, or how to fix it? Could it be a problem with the font file itself?
Thanks, Joe