Switching editor scenes causes error (FontGlyph())

Godot Version

4.6 stable

Question

I changed a Label Node to be a RichTextLabel via the Change type option in the right click menu. Later, I’ve changed it back, since I didnt find what i was looking for. Now, whenever I open the scene with said label in the editor, it throws twelve of these errors:

ERROR: modules/text_server_adv/text_server_adv.cpp:1147 - Condition “mw > 4096” is true. Returning: FontGlyph()

This doesnt seem to affect anything when the program is running, and neither can I find anything wrong in the editor.

If anyone knows what causes this, or what this error does, I would be thankful for an answer, because im really confused…

(I dont know wether it was the initial change or the changing back that caused this behaviour, unfortunately)

Since Godot is open source you can totally just go and see what happens at this point in its code. It appears to attempt to rasterize a glyph but its width ends up exceeding 4096. I’d check your font settings, and maybe if the text contains any odd symbols.

Thank you for your suggestion, but the label doesnt contain any text, and neither does it have a font setting attached to it… The link to github is very helpful however, ill search around there, and maybe even find what I have to fix…

I’ll mark this post as solved, since the error still doesnt seem to do more than just the message in the output.

Thank you for your efforts :slight_smile: