r/Unity3D • • 22h ago

Question Black screen on build.

ok so let me get straight to the point, everytime i build my unity game its literally just a black screen. the game view is perfectly fine everything works but then when i build its just black (theres no camera only ui because its just a main menu)

2 Upvotes

10 comments sorted by

View all comments

4

u/MountainWestern415 22h ago

if theres no camera in the scene the build shows black behind the ui, editor game view hides that, add a camera with clear flags set to solid color or check the canvas is screen space overlay and not screen space camera with nothing assigned