- Home /
Camera Glitch On Resume (Android)
After suspending the game by pressing the Home button on Android, and then returning to the game, the Camera sometimes stops showing the game world. You can see this effect in the first picture. Ignore the white dots, that's my phone showing the taps when I was taking the screenshots.
All the UI shows up (that's the text and orange bars) as well as the character (which uses a Sprite Renderer). The light green movement square(s) near the character also don't show up, despite being children of the character. In case the Camera was wrongly positioned, I changed the character's render mode to display based on renderers instead of Always Render, and it had no effect. The Camera is a child of the character.
The second picture occurs after I tap in the (invisible but still definitely there) game world, and an area is selected, and suddenly the Camera displays the world. Also, based on my tests it seems the display bug does not occur if an area is already selected, only when the player hasn't picked anything at the time. Its also impossible to "fix" the world display bug in this way if the game is paused. I'm not sure what's causing the bug, any ideas?