Defold error, possibly to do with font in the hud

Im trying to use some fonts for my hud and I now get this error.
java.lang.AssertionError: Assert failed: (and root (.isDirectory root))

It pops up whenever I try to save my game and whenever I tab back in.
Im trying to use these fonts/files
5identification.font
riffic_medium.font
Riffic-Free-Bold
secrcode.font
secrcode
whitrabt
whtrab_medium.font
5Identifcation-Mono

I took the idea to use these fonts from britzls liverunner-master game

Hello,

sorry, this is probably a dumb question, I just ask because of what you posted.
There are no .ttf extensions:

Have you actually imported fonts?
In case you have, forget about my question.
In case you have not:
Look at @britzl’s font folder:
image
put the .ttfs in your font folder, double click the .font files and point them to a font.
E.g.

uses

image2

1 Like

Thanks for your response, Im a dumbass and did not even put the fonts in the hud outline. I just re copied Britzls font folder and then I get the ttf files and followed what you said.

Thank you

3 Likes

You are welcome and I hope your error is gone now.