Android’s game state feature indicates to the operating system whether your application is in a loading state and also whether Android can interrupt the application. Depending on the state of the application, Android can perform certain optimizations. For example, if the application is in a loading state, the operating system can provide more resources to the application to help optimize the load process. However, whether the operating system does this depends on various other factors and settings, so you can’t guarantee that this will always happen.
Android’s game state feature requires Android version 13.
Unity provides the AndroidGame.SetGameState method that you can use to indicate to Android the current game state of your application. It’s best practice to call this method when your application transitions to or from a loading state to make sure the operating system is aware of the state of your application.