0
\$\begingroup\$

Squishing bugs on my first game currently, came across a problem I'm not sure what could cause.

When the game is launched there is simply a black screen before even the unity logo shows up, the duration is about 5 seconds. Checked on 2 devices: S6 and 1st gen Moto X, the duration is about the same.

The scene loaded on start-up is a simple menu with almost no logic, just some buttons.

I am using the Unity Google Play plug-in, could it be somehow connected with this issue?

\$\endgroup\$

2 Answers 2

2
\$\begingroup\$

The problem was caused by it being a development build with script debugging, a normal build works as expected.

\$\endgroup\$
2
  • 2
    \$\begingroup\$ A dev build with script debugging on should work fine. There's something weird going on. \$\endgroup\$
    – Almo
    Commented Mar 26, 2018 at 19:46
  • \$\begingroup\$ Check if Unity override the AndroidManifest.xml file. \$\endgroup\$
    – Hammerh5
    Commented Oct 7, 2018 at 2:29
1
\$\begingroup\$

A somewhat hilarious yet very real situation:

My blackscreen was caused by the fact that I had a canvas or camera with the "EditorOnly" tag. Removing this tag made the objects work correctly during the actual builds, and the black screen was no more.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .