Why is my text node visible in the editor but disappearing when running the game? (SOLVED)

I’ve been combining tilemaps and guis to create each of my screens. It’s worked fine till now, but:

This is the text that should appear in the game. Instead I get a distorted line:

It’s been happening for all the fonts and different kinds of text.

But it used to work?

Any errors in the console?

A custom render script?

Please provide more info.

Hello,

I’m sorry I should have been more specific. There are no errors in the console. By “it’s worked fine before” I mean for my other game objects, I used both a tile set and a gui which resulted in no problem. In this case, I did the same thing. However, the text doesn’t appear after build even though it shows clearly when I view the collection.

In the game after build:

Same thing in the collection view:

I didn’t use any render scripts.

Update: I couldn’t figure out this problem and why it occurred. I ended up deleting that gui file and adding another one to my game object. The text is appearing now. Thank you!

Strange, but happy to hear that you managed to solve it!

1 Like

Only idea I had was that the nodes might have been rotated, and introduced clipping?

It’s possible yes. I’m going to try to recreate the situation today to see if anything like it happens.