UI Elements Not Cleared On Scene Load

I’ve looked everywhere and haven’t found much on this topic. I have a completed game that runs perfectly fine on iOS, but on Android there is a big issue. When the game starts up it displays the splash image. After the first scene is loaded, the splash image is still visible under the UI elements in the scene. I’m just using Application.LoadLevel so there shouldn’t be anything additive going on.

The game is fairly simple and is made up entirely of UI elements. The same problem occurs when loading other scenes and dynamic fonts are not cleared either (characters “pile up”). I’ve tried changing depth buffer settings and a number of other player settings changes with no improvement. I’m using Unity 4.6.1.

I’ve made a game in Android before with the 4.6 beta and didn’t run into this. Does Unity just not like that I’m doing everything with the UI?

Hey there,

I can for sure say a whole game can be made with Unity UI as we just did it. We have done a fair amount of android testing and we have not seen this.

One thing it could be is your camera settings. What’s the clear mode set too?

Also what device are you testing on?

Regards

Ah, that was just it. My scenes had just the canvas and a few game objects, but no main camera. I guess I always viewed the Canvas as having its own internal camera unless it uses the Screen Space - Camera or World Space settings. I added a camera to each scene and it works as expected. Weird that iOS doesn’t have a problem with it though.

Thanks.

No problem!