Unity version : 2020 LTS
Built-In render pipeline
Device : Samsung A30 - Android 10
**
my game is running at 60 fps - 1080 p without any problem, but when i pull down the Status Bar while running the game (and change the screen brightness for example) and then go back to the game the fps is now below 40. i can only close and re run the game to get 60 fps back. this also happens when i bring the volume control panel by pressing the volume keys and expanding its panel so i can change volumes for ringtone, media, etc... . i don't face this issue by turning the screen off and on ( lock-unlock the phone ), it seems it only happens when i somehow try to use Android built-in UI controls.
what am i missing? is there any way to prevent the player using the Android UIs? like disabling the ability to pull down the Status Bar or prevent android volume UIs pop up after pressing the volume keys?
↧