I have recently added Google Play Games into my Unity game and published it. Everything seems to be working; the achievements get unlocked when I play the game and the Play Games app shows the unlocked achievements. But I can not see anyone having unlocked the achievements in the Google Play Console. While I was researching solutions, I found someone mentioning the Oauth2 credentials and how creating it in Google Api Console caused issues due to the id not getting linked with Google Play Services and that his app ids were different. I did the same thing but I double checked the app ids on both consoles and they appear the same. Does anyone know a solution to this?
Related
i have an app that uses game services. i was told to check something in the Google Api Console , but i can't see my project in the projects list at the Google Api Console. So , should my app appear there or no?
If your App uses Game Services it should appear there. This would have been created automatically by the Play Console when you added services to your game.
I'm working on a Unity game and am using the Google Play Games Services, specifically the Leaderboards and the Achievements.
I'm using the play-games-plugin-for-unity: https://github.com/playgameservices/play-games-plugin-for-unity
Currently my game is published as beta test.
While the achievements do seem to work, as in, they can be unlocked, and the popup appears correctly and I can see my progress from within the game.
But I don't receive and experience points for them.
And when I look at my game in the Play Games App, there's no info about any achievements, as if there are none.
So it's basically the same problem as this: Achievements not showing in Google Play Games App
Except in his case he had a OAuth2 Client IDs mismatch, but mine seem to be correct.
I was wondering if it's maybe just because my game hasn't been made public yet? (as it's still in Beta)
Edit: I've released it publicly now, and the achievements are still not showing, so that's definately not the cause.
Any help much appreciated.
Please read carefully to avoid ambiguity in the use of Google terminology.
I linked my Google Play Games Game to my Google Play Game, and then I had to remove this link in the Google Developer Console. I recreated the link and my SHA1 code became available again. Now I received a message that my previous project will be completely removed from Google Developer Console. Will it also be removed from Google Play?
AFAIK both serves different purposes, google play is used for launching apps, where as developer console is for using various API's provided by the google.
So Once you delete your project from developer console it will be gone from google developer console not google play console. and but you can restore it until 7 days of deletion.
Google play console is used for publishing, updating or deleting your Android Apk from Google PlayStore.
I created a small game on android with libgdx (runner game) which is working fine.
So I decided to add some achievements to it.
My application is published, when I go to Services and API, I see "this application use google play's services...".
So I go in "Game services" menu. My game is here with the API :"API Google+, Google Play Game Services i.e Google Play Game Management ".
In the associated application menu, I have my application linked.
When I open the game for the first time, it ask me to connect with my google account, so the sign-in method work fine. After the connection, I see my profile pictures with my play games level.
But when I want to unlock achievements, nothing append.
I don't think the problem is in the code because the connection run fine and the game is not crashing, there is just nothing append and the game continue.
Maybe I miss something on the configuration on the play console because when I open the game in Google Play Games, I see my games but there is no achievements/leaderboard see pictures :
Achievements in dev console
No achievement in play games
To see if the sync is okay, I modified the game's description and go back to the play games, the description was modified.
So why my achievements are not on the play game service and due to that I'm not able to unlock them ?
I really don't understand what I missed...
Thanks in advance for your help.
Edit : Also on the API explorer, when I want to execute a simple games.achievementDefinitions.list to get the list of achievements in my application, I get an error :
Telling me that the API is not enabled but it is !
I finally found where was the mistake.
Thanks to this sample :
https://github.com/playgameservices/android-basic-samples
under BasicSamples=>TrivialQuest2.
When I created google api client, I forget to add the Games API,
so I just added .addApi(Games.API).addScope(Games.SCOPE_GAMES)
Now my game works fine and I can unlock/get achievement for a player :D
I will now try to add leaderboard :)
I have a google play app, linked to a google play game services project. However, I believe I accidentally deleted the google play game services project from the google developer console, so now it shows up in google play developer console, but not in the google developer console. In the google play developer console, in the game services project, I'm constantly getting
An unexpected error occurred. Please try again later. (1700404)
(I'm assuming this is because the underlying developer console project was deleted). Well, now it's really screwed up because I can't add a new game services project, but the current one isn't going to work. Any help would be appreciated, thanks.
I recommend that you start again from the beginning with a new app in the Google Play Developer Console (i.e. use a different apk name). Do not make changes to Google Play Game Services apps in the developer console (if indeed that is its current name) unless specifically instructed to do so by a reliable source (e.g. a google guide).
You will find many tales of woe on Stack Overflow concerning problems arising from making changes in the developer console to Google Play Game Services apps. e.g :
Google Play Game Services - unable to sign in