Dont see GameObject after compilation

In edit mode all works fine, but after compilation I dont see MainMenu object.
Video demonstration:

What ur ideas about this problem?

I would keep your Canvas as the root object unless it’s a World Space canvas. It doesn’t render in the same coordinate system as normal Transform GameObjects, so it will avoid confusion I find it best to keep it at the root level. That is just preference though.

I would also set your Canvas to Screen Space - Camera so that you get a better preview in the editor of what it will look like, and that will probably show you what is wrong with the positioning of elements. Then set your Canvas Scalar to “Scale With Screen Size”, give it your ideal resolution, and set it to scale with height.

Currently you have it set to “Screen Space - Overlay” which makes the preview show screen-space units, which should only be visible in that gigantic box to the upper right of your game world.

Also nice profile pic.

1 Like

Problem was solved by replacing Canvas to root

1 Like