- Home /
Unity grey screen when built.
I have a small project ive been working on. in the editor it works just fine, but when i build it to an EXE file. it starts up and the "made in unity" logo shows up. and than just a grey screen appears. i don't know what's wrong.
Answer by bloodsabertooth · Dec 10, 2015 at 05:23 PM
1) remove camera on your scene.
2) add new camera. rename it in inspector, under the name box u can see Tag option. Select it as MainCamera.
3) if u didnt, while your scene open. add your scene to build settings(file->BuildSettings->addcurrent)
Then build. All done. ;)
Answer by Trox · Sep 09, 2015 at 02:56 PM
I had the same problem and my scene was indeed in the build settings, but wasn't the first one.
And the one which was on top had no camera, that's why it was grey.
Answer by SirDef11 · Oct 09, 2017 at 12:26 PM
If you use only UI like me, the problem is that your canvas(es) are not attached to the camera, so :
Select your canva (or all of them if you have many)
In the inspector : Render mode -> choose "Screen Space Camera"
Drag and drop your camera (from the hierarchy) into the Render Camera Case (in the inspector)
It's something that should be automatically fixed, but no... Have fun
Answer by teo1525 · Oct 18, 2019 at 03:00 AM
Had a grey screen when playing on my computer and when loaded into pixel phone. Could not see anything through the camera. I followed the suggestion above: added new AR camera disabled old AR camera. Tested and al okay
Your answer
Follow this Question
Related Questions
Grass hiding in exe file 0 Answers
Asset bundle not load in unity windows application 0 Answers
WebGL build FileNotFoundException 0 Answers