Screen glitches out on Android when Switching to a particular scene

I’ve built a simple app using Unity and Vuforia and have come across a vexing problem. Once opened, the app will go through the Unity Splash Screen, then a custom splash scene and then it’s supposed to go to a Main Menu scene. But when it’s supposed to go to this scene the screen does a weird glitch out that I’ve never seen before (see image below).

The App used to work fine before this, I noticed this glitch after I made some changes to a panel and canvas set (I copied over that set of objects and made the required edits). I don’t see how the copying can be an issue because the scene I copied it over from works just fine.

Another odd thing is that the app works just fine when I test it on the PC itself, this issue only arises when I use it on Android (haven’t tested iOS). And this issue is isolated to rendering this one scene, when I eliminate this scene from build the app can render the rest of the scenes just fine.

Any help would be greatly appreciated!

hi, did you solve this issue?

The most common source of a glitch like this is when you do not have a Camera in your scene. This can happen if you forget to put a Camera in your loading screen, for instance.

To track it down, sometimes you can reproduce the error right in the editor, where it will tell you No cameras rendering for that one frame, but that can be hard to see.

To reproduce it, insert a Debug.Break(); statement where you go to transition scenes, which will pause the editor. Now press the Single-Step button button while keeping the Game window visible, and step along to see if you ever have zero cameras.

If that is it, the fix is … never have zero cameras!

1 Like

thank you, i already fixed it last night, i was using the “EditorOnly” tag on a empty object where the camera was child xD silly me