I have built and installed apk file to Android device. Build and installation have done maybe correctly but when launching the apk file, the screen keep stopping with blue screen after powered by Unity screen.
Unity version : 4.2.2
Device : Galaxy S2 Lite
Anybody knows about the problem?
Sounds like Unity is loading an empty scene (by default, the camera background is blue). Do you have any scenes set up in your build settings menu? The top-most scene is the one that will be loaded at startup.
I had a similar problem with a blue screen. In my case it was a strange behaviour of Unity where sometimes, sporadically, the Start() method in one of my component classes was not called. But only in the startup scene 0.
You can try to either add a new startup scene which does nothing but load your actual startup screen, or use some backup to the Start() method you may suspect to fail. In my case using OnEnable() as well worked.
If you want to read more have a look at my blog post to this topic.
Did you log a bug report for this? Can't say I've ever encountered this myself but Start() not getting called is a pretty major flaw... if you have a project that can recreate that I'm sure the Unity engineers woulf love to know...
The problem is quite sporadic and I don't know how to actually reproduce it now that it's gone again. I hadn't touched the startup scene for months and suddenly I got that glitch after changing things in other scenes. Also, it did not happen every time and on every device. Before submitting a bug report I would like to know if this happened to other people as well and if my solution actually worked for others, too.
Sounds like Unity is loading an empty scene (by default, the camera background is blue). Do you have any scenes set up in your build settings menu? The top-most scene is the one that will be loaded at startup.
– rutter