play-games-plugin-for-unity icon indicating copy to clipboard operation
play-games-plugin-for-unity copied to clipboard

Google Authentication is failing

Open bharathn15 opened this issue 1 year ago • 4 comments

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

  • Unity version: 2022.3.4f1
  • Google Play Games Plugin for Unity version: 0.10.12

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()

bharathn15 avatar Jul 07 '23 12:07 bharathn15

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 avatar Aug 15 '23 20:08 cristianjuarezz

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"

cristianjuarezz avatar Aug 15 '23 20:08 cristianjuarezz

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.

segunabiodun avatar Mar 08 '24 16:03 segunabiodun