Fonts Problem

I’m having problems displaying the fonts. sometimes the fonts are displayed after the build sometimes I have to clear the cache so that the fonts are displayed correctly sometimes the fonts are not displayed at all.
3.26.2-pre · November 28, 2023

Original Post on Discord

by user 684154017479524352

Hello there – we have an experimental AI bot :robot: that might be able to help you with your question. Would you like to try this out?

This seems to be caused by the unity process (or a subprocess) locking the files - can you if it happens try to open the assets folder and delete the font asset there? If your OS tells you the file is locked we know the reason.

I’m not sure where exactly I have to delete which things

by user 684154017479524352

Sorry for being unclear. I was referring to the generated font assets in the web project assets folder (you can open it via ExportInfo → Open Directory)
image.png

I deleted the file and pressed play. the error message came again

by user 684154017479524352

Can you try restarting Unity?

I restarted, arial.png is still missing…after I pressed play the fonts are displayed again cleanly. Do you think that was it?

by user 684154017479524352

Yes - that’s what i meant earlier with a process locking the files. Did you delete them in explorer without windows complaining that the file was locked?

There were no error messages or other information from Windows. Deletion was possible without any problems.

by user 684154017479524352