Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
  • Help Room /
avatar image
0
Question by Aryansh_Gupta · Nov 02, 2020 at 10:07 AM · google playgoogle play gamesauthentication

Google Play Games Integration Doing Nothing Except a Pop-up

I am using Unity 2020.2 and Google Play Services Plugin Version 0.10.11 (latest)
When Ever I Build and run the app on Android Device, It just shows a Simple Pop-up saying - "Connecting To Google Play Games" and then nothing happens at all. Neither it connects to Play Games, nor it shows any error...
I tried checking all things in Play Console and Developer Console but everything seems fine, tried many solutions but nothing works. Please Help, I am really Tired..

Script Used -->

 void Start()
     {
         Authenticate(); 
     }
 
     public void Authenticate()
     {
         try {
             Debug.Log("Starting");
             PlayGamesClientConfiguration config = new PlayGamesClientConfiguration.Builder().Build();
             Debug.Log("config made");
 
             PlayGamesPlatform.InitializeInstance(config);
             Debug.Log("Activated Instance");
             PlayGamesPlatform.Activate();
             Debug.Log("Activated Platform");
             PlayGamesPlatform.Instance.Authenticate((bool success) =>
             {
                 Debug.Log("Inside Authentication, Success = "+success);
                 if (success)
                 {
                     Debug.Log("Authenticated");
 
                 }
                 else
                 {
                     Debug.Log("Failed");
                 }
             }
             );
 
         }
         catch(Exception e)
         {
             Debug.Log("Error :---");
             Debug.Log(e);
         }
     }

Here is the Log : (adb logcat):

 11-02 14:40:42.499 19664 19679 I Unity   : Starting
 11-02 14:40:42.499 19664 19679 I Unity   : UnityEngine.Logger:Log(LogType, Object)
 11-02 14:40:42.499 19664 19679 I Unity   : GPGSManager:Authenticate()
 11-02 14:40:42.499 19664 19679 I Unity   : UnityEngine.Events.UnityAction:Invoke()
 11-02 14:40:42.499 19664 19679 I Unity   : UnityEngine.Events.UnityEvent:Invoke()
 11-02 14:40:42.499 19664 19679 I Unity   : UnityEngine.EventSystems.EventFunction`1:Invoke(T1, BaseEventData)
 11-02 14:40:42.499 19664 19679 I Unity   : UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
 11-02 14:40:42.499 19664 19679 I Unity   : UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPress(PointerEventData, Boolean, Boolean)
 11-02 14:40:42.499 19664 19679 I Unity   : UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEvents()
 11-02 14:40:42.499 19664 19679 I Unity   : UnityEngine.EventSystems.StandaloneInputModule:Process()
 11-02 14:40:42.499 19664 19679 I Unity   :
 11-02 14:40:42.500 19664 19679 I Unity   : config made
 11-02 14:40:42.500 19664 19679 I Unity   : UnityEngine.Logger:Log(LogType, Object)
 11-02 14:40:42.500 19664 19679 I Unity   : GPGSManager:Authenticate()
 11-02 14:40:42.500 19664 19679 I Unity   : UnityEngine.Events.UnityAction:Invoke()
 11-02 14:40:42.500 19664 19679 I Unity   : UnityEngine.Events.UnityEvent:Invoke()
 11-02 14:40:42.500 19664 19679 I Unity   : UnityEngine.EventSystems.EventFunction`1:Invoke(T1, BaseEventData)
 11-02 14:40:42.500 19664 19679 I Unity   : UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
 11-02 14:40:42.500 19664 19679 I Unity   : UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPress(PointerEventData, Boolean, Boolean)
 11-02 14:40:42.500 19664 19679 I Unity   : UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEvents()
 11-02 14:40:42.500 19664 19679 I Unity   : UnityEngine.EventSystems.StandaloneInputModule:Process()
 11-02 14:40:42.500 19664 19679 I Unity   :
 11-02 14:40:42.501 19664 19679 I Unity   : Activated Instance
 11-02 14:40:42.501 19664 19679 I Unity   : UnityEngine.Logger:Log(LogType, Object)
 11-02 14:40:42.501 19664 19679 I Unity   : GPGSManager:Authenticate()
 11-02 14:40:42.501 19664 19679 I Unity   : UnityEngine.Events.UnityAction:Invoke()
 11-02 14:40:42.501 19664 19679 I Unity   : UnityEngine.Events.UnityEvent:Invoke()
 11-02 14:40:42.501 19664 19679 I Unity   : UnityEngine.EventSystems.EventFunction`1:Invoke(T1, BaseEventData)
 11-02 14:40:42.501 19664 19679 I Unity   : UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
 11-02 14:40:42.501 19664 19679 I Unity   : UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPress(PointerEventData, Boolean, Boolean)
 11-02 14:40:42.501 19664 19679 I Unity   : UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEvents()
 11-02 14:40:42.501 19664 19679 I Unity   : UnityEngine.EventSystems.StandaloneInputModule:Process()
 11-02 14:40:42.501 19664 19679 I Unity   :
 11-02 14:40:42.502 19664 19679 I Unity   : Activated Platform
 11-02 14:40:42.502 19664 19679 I Unity   : UnityEngine.Logger:Log(LogType, Object)
 11-02 14:40:42.502 19664 19679 I Unity   : GPGSManager:Authenticate()
 11-02 14:40:42.502 19664 19679 I Unity   : UnityEngine.Events.UnityAction:Invoke()
 11-02 14:40:42.502 19664 19679 I Unity   : UnityEngine.Events.UnityEvent:Invoke()
 11-02 14:40:42.502 19664 19679 I Unity   : UnityEngine.EventSystems.EventFunction`1:Invoke(T1, BaseEventData)
 11-02 14:40:42.502 19664 19679 I Unity   : UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
 11-02 14:40:42.502 19664 19679 I Unity   : UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPress(PointerEventData, Boolean, Boolean)
 11-02 14:40:42.502 19664 19679 I Unity   : UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEvents()
 11-02 14:40:42.502 19664 19679 I Unity   : UnityEngine.EventSystems.StandaloneInputModule:Process()
 11-02 14:40:42.502 19664 19679 I Unity   :
 11-02 14:40:42.503 19664 19679 I Unity   : Starting Auth with token client.
 11-02 14:40:42.503 19664 19679 I Unity   : UnityEngine.Logger:Log(LogType, Object)
 11-02 14:40:42.503 19664 19679 I Unity   : GooglePlayGames.Android.AndroidClient:Authenticate(Boolean, Action`1)
 11-02 14:40:42.503 19664 19679 I Unity   : GPGSManager:Authenticate()
 11-02 14:40:42.503 19664 19679 I Unity   : UnityEngine.Events.UnityAction:Invoke()
 11-02 14:40:42.503 19664 19679 I Unity   : UnityEngine.Events.UnityEvent:Invoke()
 11-02 14:40:42.503 19664 19679 I Unity   : UnityEngine.EventSystems.EventFunction`1:Invoke(T1, BaseEventData)
 11-02 14:40:42.503 19664 19679 I Unity   : UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
 11-02 14:40:42.503 19664 19679 I Unity   : UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPress(PointerEventData, Boolean, Boolean)
 11-02 14:40:42.503 19664 19679 I Unity   : UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEvents()
 11-02 14:40:42.503 19664 19679 I Unity   : UnityEngine.EventSystems.StandaloneInputModule:Process()
 11-02 14:40:42.503 19664 19679 I Unity   :
 11-02 14:40:42.504 19664 19679 W Unity   : !!! [Play Games Plugin 0.10.11] 11-02-20 14:40:42 +05:30 WARNING: PlayGamesPlatform already initialized. Ignoring this call.
 11-02 14:40:42.504 19664 19679 W Unity   : UnityEngine.Logger:Log(LogType, Object)
 11-02 14:40:42.504 19664 19679 W Unity   : System.Action:Invoke()
 11-02 14:40:42.504 19664 19679 W Unity   : GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()
 11-02 14:40:42.504 19664 19679 W Unity   :
 11-02 14:40:42.698 19664 19679 W Unity   : Internal: JobTempAlloc has allocations that are more than 4 frames old - this is not allowed and likely a leak
 11-02 14:40:42.698 19664 19679 W Unity   :
 11-02 14:40:42.885 19664 19664 I Unity   : windowFocusChanged: false
 11-02 14:40:42.885 19664 19664 I Unity   : onPause
 11-02 14:40:42.919 19664 19679 D Unity   : Sensor :        Accelerometer ( 1) ; 0.019150 / 0.00s ; BMA255 Accelerometer/Temperature/Double-tap / BOSCH
 11-02 14:40:48.213 19664 19664 I Unity   : windowFocusChanged: true
 11-02 14:40:48.244 19664 19664 I Unity   : Returning an error code.
 11-02 14:40:48.244 19664 19664 I Unity   : UnityEngine.Logger:Log(LogType, Object)
 11-02 14:40:48.244 19664 19664 I Unity   : GooglePlayGames.Android.<>c__DisplayClass18_0:<Authenticate>b__0(Int32)
 11-02 14:40:48.244 19664 19664 I Unity   : System.Action`1:Invoke(T)
 11-02 14:40:48.244 19664 19664 I Unity   : System.Action`1:Invoke(T)
 11-02 14:40:48.244 19664 19664 I Unity   : System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
 11-02 14:40:48.244 19664 19664 I Unity   : System.Reflection.MethodBase:Invoke(Object, Object[])
 11-02 14:40:48.244 19664 19664 I Unity   : UnityEngine.AndroidJavaProxy:Invoke(String, Object[])
 11-02 14:40:48.244 19664 19664 I Unity   : UnityEngine._AndroidJNIHelper:InvokeJavaProxyMethod(AndroidJavaProxy, IntPtr, IntPtr)
 11-02 14:40:48.244 19664 19664 I Unity   :
 11-02 14:40:48.247 19664 19664 I Unity   : onResume
 11-02 14:40:48.257 19664 19679 D Unity   : Sensor :        Accelerometer ( 1) ; 0.019150 / 0.00s ; BMA255 Accelerometer/Temperature/Double-tap / BOSCH
 11-02 14:40:48.280 19664 19679 D Unity   : Choreographer available: Enabling VSYNC timing
 11-02 14:40:48.284 19664 19679 I Unity   : Inside Authentication, Success = False
 11-02 14:40:48.284 19664 19679 I Unity   : UnityEngine.Logger:Log(LogType, Object)
 11-02 14:40:48.284 19664 19679 I Unity   : GPGSManager:<Authenticate>b__5_0(Boolean)
 11-02 14:40:48.284 19664 19679 I Unity   : System.Action`1:Invoke(T)
 11-02 14:40:48.284 19664 19679 I Unity   : System.Action`2:Invoke(T1, T2)
 11-02 14:40:48.284 19664 19679 I Unity   : GooglePlayGames.<>c__DisplayClass33_0:<Authenticate>b__0(SignInStatus)11-02 14:40:48.284 19664 19679 I Unity   : System.Action`1:Invoke(T)
 11-02 14:40:48.284 19664 19679 I Unity   : System.Action`1:Invoke(T)
 11-02 14:40:48.284 19664 19679 I Unity   : System.Action:Invoke()
 11-02 14:40:48.284 19664 19679 I Unity   : GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()
 11-02 14:40:48.284 19664 19679 I Unity   :
 11-02 14:40:48.286 19664 19679 I Unity   : Failed
 11-02 14:40:48.286 19664 19679 I Unity   : UnityEngine.Logger:Log(LogType, Object)
 11-02 14:40:48.286 19664 19679 I Unity   : GPGSManager:<Authenticate>b__5_0(Boolean)
 11-02 14:40:48.286 19664 19679 I Unity   : System.Action`1:Invoke(T)
 11-02 14:40:48.286 19664 19679 I Unity   : System.Action`2:Invoke(T1, T2)
 11-02 14:40:48.286 19664 19679 I Unity   : GooglePlayGames.<>c__DisplayClass33_0:<Authenticate>b__0(SignInStatus)11-02 14:40:48.286 19664 19679 I Unity   : System.Action`1:Invoke(T)
 11-02 14:40:48.286 19664 19679 I Unity   : System.Action`1:Invoke(T)
 11-02 14:40:48.286 19664 19679 I Unity   : System.Action:Invoke()
 11-02 14:40:48.286 19664 19679 I Unity   : GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()


This is what is shows Ingame on Android device : alt text

screenshot-2020-11-01-21-38-32-820.jpeg (74.6 kB)
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

0 Replies

· Add your reply
  • Sort: 

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

218 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unable to merge android manifests 0 Answers

user can't log into google play services 1 Answer

Problem reading saved game 0 Answers

Google Sign in not working after publish 0 Answers

Cannot sign into Google Play Services when using Unity and Play Games Plugin for Unity 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