playgameservices / play-games-plugin-for-unity

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

Google Authentication is failing #3259

Open bharathn15 opened 11 months ago

bharathn15 commented 11 months ago

This form is for reporting Unity Plugin issues only. To report an issue with the Play Games Service (non-SDK related), check Google Play Games Services Support. Once you've read this section and determined that your issue is appropriate for this repository, please delete this section.

Describe the bug Unable to authenticate with the google using unity google play SDK.

To Reproduce Steps to reproduce the behavior:

  1. Downloaded the SmokeTest unity package and tried with the Test scene
  2. created the achievements and leaderboards
  3. copied the resources file contents and client id to the unity Android configuration dialog box

Expected behavior

Observed behavior I watched this video on the youtube https://www.youtube.com/watch?v=0AtXxdvdKcQ

Bug Report 2023/07/07 17:45:35.812 24959 24980 Warn Unity *** [Play Games Plugin 0.11.01] 07-07-23 17:45:35 +05:30 ERROR: Returning an error code. 2023/07/07 17:45:35.812 24959 24980 Warn Unity GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()

Screenshots

Versions

Additional context 2023/07/07 17:45:35.812 24959 24980 Warn Unity *** [Play Games Plugin 0.11.01] 07-07-23 17:45:35 +05:30 ERROR: Returning an error code. 2023/07/07 17:45:35.812 24959 24980 Warn Unity GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()

cristianjuarezz commented 10 months ago

I'm having the same problem, i'll update if I find a solution. I've been struggling with gradle/unity version troubleshooting this whole year. Its very time consuming to find out which version of anything will maybe work, specially if I need to use 2 or more plugins, it's getting all very unstable for my projects

cristianjuarezz commented 10 months ago

Reading your error log, the only thing that I noticed is that your version of the plugin is "0.10.12" but in the error log is "0.11.01"

segunabiodun commented 3 months ago

In my case, this happens when you haven't published Play Games Services on the Google Play developer console and aren't using a tester account. While testing, ensure you have added the email for the tester you're using and add a release track under Play Games Services > Setup and management > Testers > Release tracks tab in the developer console.

LagField commented 1 week ago

In my case, this happens when you haven't published Play Games Services on the Google Play developer console and aren't using a tester account. While testing, ensure you have added the email for the tester you're using and add a release track under Play Games Services > Setup and management > Testers > Release tracks tab in the developer console.

Your answer solved my problem very successfully. You're a real hero.