Open tasteisgone opened 6 years ago
Same issue. When I look up closer, I noticed that Google Play Games Services returns Error 401. However everything is fine and checked five time. (Keys, SHA-1, SHA-256...) This problem occurs after posting scores. Before posting scores, leaderboard opened without problem (empty leaderboard) and after I post the score, leaderboard starts to crash.
You can observe this problem on my live game. I am currenyling looking up for a solution. I tried everything I know and yet there is no solution.
Game: https://play.google.com/store/apps/details?id=com.granada.bilgiyaris
Note: Don't forget to add privacy policy url on Google Cloud Console. This may cause a problem.
Any updates?
I'm using Unity 2017.3.0f3, and GPGS Plugin 0.9.39 version. This is my code I use to let players show ranking, right after upload the datas I want to use for them. But when I press the 'show ranking' button, the leaderboard screen automatically closes itself, as it was crashed. I don't know what's the problem..
The thing is, `public void ShowRanking(){ if (isAuthenticated) { Social.ReportScore (_rank1, GPGSIds.leaderboard, (bool success) => { if (!success) { //data for leaderboard 1 } }); Social.ReportScore (_rank2, GPGSIds.leaderboard_2, (bool success) => { if (!success) { //data for leaderboard 1 } }); Social.ReportScore (_rank3, GPGSIds.leaderboard_3, (bool success) => { if (!success) { //data for leaderboard 1 } }); Social.ShowLeaderboardUI ();
} else { //skipped the when-not-log-in code cause login is not a problem } }`