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.

  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. :wink:

Add your scene to the build settings.

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.

If you use only UI like me, the problem is that your canvas(es) are not attached to the camera, so :

  1. Select your canva (or all of them if you have many)

  2. In the inspector : Render mode → choose “Screen Space Camera”

  3. 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

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

While all the answers above can possibly help in my particular case where I tried to build it on Android it did not help simply because I tried to test it in Bluestacks (emulator) which is not supported what did work is test it on my actual phone rather then quickly opening in through my pc.