My start button and quit button will not show up in game but will in scene

My start button and quit button will not show up in game but will in scene

Double click on your canvas in the transform hierarchy. You'll notice that the canvas in the scene view is by far bigger than your camera, and that your buttons are actually outside of the canvas rect.

It’s normal that you don’t see them in your scene. The canvas is always bigger then your camera view but it is right so. When you go in play mode the camera view and the canvas rect will be shown together.

1 Answer

1

That probably means that the camera can’t see them. Check their z positions. If they are negative enough, they will be in back of the camera and will not be rendered.

This is assuming a world-space canvas, I believe a screen-space canvas should always render elements regardless of z position.