- Home /
Android PlayGamesServices ShowLeaderboardUI stops functioning after hitting Home button
If I hit the home button while the PlayGameServices leaderboard or achievement UI is showing, then re-open the game, the leaderboard and achievement UI's have disappeared and will not open again. The only fix is to kill the process and restart the game.
Has anyone else experienced this and have a solution? I had hoped I would be able to just hide the UI when the game pauses, but the plugin only has methods for showing the UI. Logcat is showing nothing out of the ordinary, I am getting no errors and the ShowLeaderboardUI method is being called correctly.
I am calling the leaderboards and achievements in the standard way: PlayGamesPlatform.Instance.ShowLeaderboardUI(); Social.ShowAchievementsUI();
UIs work correctly with no issue until I hit the home button while one of those interfaces is visible. I can repeatedly close/reopen them, use the home button in other menus, etc. It is only in this specific instance that the UI disappears.
https://github.com/playgameservices/play-games-plugin-for-unity