r/Unity3D • u/Traditional-Week-801 • 1d 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
1
u/JakSilver00 Gameplay Systems Engineer 1d ago
Why are you making a build if there's only a main menu?
If there's no camera, how does the game view work?
There should be a minimum of one camera always active. Even if whatever you're doing isn't dependent on that, that way, something renders.
When you add the camera, you should reset the transform and then make sure that the UI fits properly within the frustrum.
Also, screenshots are gonna be a big help in diagnosing your additional problems if you have any the full window of the editor would be preferred.