One of my gui element disappeared (SOLVED)

While i worked with script i observed that one of my gui element didnt appear at the screen. How can i solve this problem?


Can you attach the gui script so we can take a look?

Yes. When i run the game it s disappearing.

Can you do a full rebuild? Could it be that the texture you set on the main_menu node doesn’t exist? Have you modified your render script in some way so that the gui box nodes aren’t rendered?

I have not modified my render script.

1 Like

And a full rebuild works? Can you share the project with me (bjorn.ritzl@king.com)?

I sent you invitation.

Your level.atlas is too large. It’s 8192x2048. On mobile you need to keep atlas size to a maximum of 2048x2048. I’m not sure what the limit is on desktop. The Exit button alone is 713x648 but in the gui you scale it down to 20% of the original size. It’s better if you resize the image before adding it to the atlas.

2 Likes

Thank you. I changed the size of my images and now exit appear.