Camera Bug on scene change

Hey, I’m currently trying to build my first mobile game, the thing is… when I change from the main level to the main menu everything works as expected, but when I then change back into the game, there are parts on top and below where the background from the main menu is kept “on screen”? It looks like the buffer isn’t emptied on scene change and the game won’t draw anything new in these areas that’s not a UI element.I already tried a full black background. At first it’s there, and after changing into the menu and back to the level it’s overwritten by this camera bug. Seems to only happen when I set the aspect ratio different then the one I developed my game in. The main ratio was 9:16 and the phenomenon appears when I try every other ratio, here tested with 9:18. I added a gif to better show what’s going on. Any ideas?

7449158--913736--ezgif.com-gif-maker.gif

Is this all with UI and Images? Or do you use some sprites and actual 3D SpriteRenderers?

If all UI, make sure you cover EVERYTHING on the canvas in both play and menu modes, even if it is just a full-size full-anchored black rectangle.

The only UI elements on a canvas of the level scene are the Power-Button and the number of points. The rest are 2D elements likes sprites and planes. And even if I move stuff mid-playtesting in the editor, it won’t get rendered.

This smells maybe like you aren’t anchoring a full-screen “blocker” properly to corners. Even if the interior shape of the screen doesn’t change, you still gotta have stuff rendered all the way to the edges, otherwise you get glurtches where there isn’t stuff.

Hey, thanks for taking your time. I made another animation which hopefully shows the problem in more detail.
I changed the camera background to red for more clarity and then started to move the background (black bars of doom always in foreground). Afterwards I move the Button on the Canvas (which get’s redrawn every frame to the black bars.

7454711--914642--ezgif.com-gif-maker (1).gif