Open RoninDvlpr opened 4 years ago
.
Deleted Play Games data for the game on my device (as mentioned here https://github.com/playgameservices/play-games-plugin-for-unity/issues/2883) - error still happens
Added SHA-1 key from developer console to google api OAuth 2.0 credentials list (as metioned here https://github.com/playgameservices/play-games-plugin-for-unity/issues/2878) - problem persists
2 months passed since I've submitted the OAuth consent screen for review, but it hasn't been approved yet. Could this be the reason for the error?
Upgrading to 10.09 didn't help to solve or clarify the problem either
Saved Games are enabled in the game services console
Account I'm using to test the app is added as both play services testers and developer console tester (under the settings tab)
After removing SavedGames() authentication began to work again
After removing SavedGames() authentication began to work again
is the Achievement got saved ? or its resetting every day? can you tell me how to save it, coz i have a problem about my achievement, it's resetting everyday
I'm getting the same problem. Followed this workaround from this issue, but I can't make the same steps. Seems like it changes quite a bit on this G Suite Marketplace SDK. Anything that it could be done? I've checked all the known authentication issues, checked if saved game is on. The app works without "EnableSavedGames()" in config builder.
After removing SavedGames() authentication began to work again
is the Achievement got saved ? or its resetting every day? can you tell me how to save it, coz i have a problem about my achievement, it's resetting everyday
Sry, i haven't implemented achiements in that project
I'm getting the same problem. Followed this workaround from this issue, but I can't make the same steps. Seems like it changes quite a bit on this G Suite Marketplace SDK. Anything that it could be done? I've checked all the known authentication issues, checked if saved game is on. The app works without "EnableSavedGames()" in config builder.
I've abandoned the cloud save on that project. The only thing i can suggest is to doublecheck that you are using an apropriate key - publishing or development one, depending on what you are trying to achieve.
Hello guys, did you finally were able to make it work? I'm stuck at this for a while as well... players getting angrier and angrier.
Hello @cometa93
Yes, just configuring OAuth credentials on google console made it work, you must use SHA-1 key...
But I strongly recommend you to use another data saving service, cause I think they'll remove this system later on and it's not scalable.
You could also try this Workaround
This one helped me too Google Play Services not working?
I've implemented leaderboards in my app, and everything worked fine. But when I've added EnabledSavedGames(), the app stopped to authenticate.
When the app makes an authentication attempt, for a second the screen becomes darker and the system buttons panel appear as if there should be some kind of UI. But a moment later the screen goes back to normal, and authentication fails.
There is an error in logcat concerning GPG, but I didn't manage to figure out what it means:
05-02 03:57:40.327 11160 11160 I Unity : Returning an error code. 05-02 03:57:40.327 11160 11160 I Unity : GooglePlayGames.Android.<>c__DisplayC lass18_0:b__0(Int32)
The only thing i googled is that c__DisplayClass18_0 stands for some anonymous method's name.
Here's what I see in logcat when the app starts:
Logcat output when I'm calling the login method manually within the app:
Here is my authentication code:
Any help is highly appreciated