playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.43k stars 954 forks source link

I can not receive an email #3097

Closed ZICKFREED closed 2 years ago

ZICKFREED commented 2 years ago

I can not receive an email after the player is authorized, the line is empty

if you log in to the site, then I get by standard PHP methods all the data name, email, avatar

but what about Unity, I need to save the user data if he deleted the game, and after a while returned to it - so that all his progress is saved

smile616 commented 2 years ago

Hi @ZICKFREED, can you use player id instead of the email as the user identifier?

ZICKFREED commented 2 years ago

Hi @ZICKFREED, can you use player id instead of the email as the user identifier?

no, the identifier is also empty, I don't know how to solve this anymore

ozdemir08 commented 2 years ago

PlayGamesPlatform.Instance.localUser.id must contain a non-null player id. You can also use our saved game api for this. Feel free to reopen it if you have more questions.

ZICKFREED commented 2 years ago

PlayGamesPlatform.Instance.localUser.id must contain a non-null player id. You can also use our saved game api for this. Feel free to reopen it if you have more questions.

i was only able to get the username