Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Kevin_Fernandez_1989 · Sep 28, 2015 at 12:09 PM · androidpluginleaderboardcallbackauthentication

Player is not authenticating - Google Play Games plugin for Unity not authenticating for android

I have the downloaded the plugin from https://github.com/playgameservices/play-games-plugin-for-unity for android. Added all the ID's in the project after importing the plugin. Written the script to authenticate the player as well provided the buttons to login, check the leaderboard, submit the score and achievements. Also published the game in alpha testing mode in google play developer console with a google+ group as test users.

We install the game from the opt-in link provided. The player is not authenticated even after we receive the window to login and the window which asks for access to our profile details. The loading indicator disappears after sometime with failure callback. We checked with debug logs. The authentication fails. We cross-checked with ID's and Bundle ID. They are all correct. We tried with every versions of plugins from github.com. Still it fails. Any idea?

You can download and view the sample project from this link:- https://drive.google.com/file/d/0B7Zp0N7QxeCNazF4T283alJNYlE/view?usp=sharing

Thanks

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by error17 · Jan 08, 2016 at 06:11 AM

I had the same issue with google play asking to sign in and then nothing happened after that in terms of opening the leaderboard or other services. In the debug log it was saying "ERROR_NOT_AUTHORIZED".

It turns out that despite everything being correct in unity and google play, the issue was to do with the signature of the app, as I happened to have changed it from when I first created the game service on google play developer console.

For me, I went to Game Services > Linked Apps > Link to a new Android app

Fill out all the details the same, however when you "continue" to authorize the app, it will display a SHA1 fingerprint, it will automatically have this filled out, with the new fingerprint of the current APK uploaded. Once I published the game service with this new authorization, everything worked.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image TDMIsh · Jan 08, 2016 at 06:13 AM 0
Share

I meant to post, that I figured it out last night as well. I also made a new Android app to link in Game Services, and then it all worked fine. Thanks!

avatar image
0

Answer by TDMIsh · Jan 06, 2016 at 04:56 AM

Did you ever get this fixed? I am running into the same issue.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

How to integrate new google play games services for leaderboard? 2 Answers

Google Play Services Working, but not Working? 2 Answers

Google Play Games plugin for Unity Not Authenticating 9 Answers

android: why scene goes black when showing new activity? 3 Answers

Homebase SDK android Plugin Help 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges