Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug Exception: Failed GPManager.Start ()

Discussion in 'Authentication' started by codestics, Mar 21, 2023.

  1. codestics

    codestics

    Joined:
    May 1, 2018
    Posts:
    7
    I set up after the tutorial the whole process and I have an error and can't log in

    Code (CSharp):
    1. 2023/03/21 12:09:40.730 29313 29354 Error Unity Exception: Failed
    2. 2023/03/21 12:09:40.730 29313 29354 Error Unity   at GPManager.Start () [0x000ce] in <294373c2734f42779df1b8c5d2ce4966>:0
    3. 2023/03/21 12:09:40.730 29313 29354 Error Unity   at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) [0x00000] in <0c14436887c540e9a57b425f835ba9ed>:0
    4. 2023/03/21 12:09:40.730 29313 29354 Error Unity   at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00002] in <7eac085528bb4d05b378809040b7d8c4>:0
    5. 2023/03/21 12:09:40.730 29313 29354 Error Unity   at UnityEngine.UnitySynchronizationContext.Exec () [0x0005d] in <7eac085528bb4d05b378809040b7d8c4>:0
    6. 2023/03/21 12:09:40.730 29313 29354 Error Unity   at UnityEngine.UnitySynchronizationContext.ExecuteTasks () [0x00014] in <7eac085528bb4d05b378809040b7d8c4>:0
    7. 2023/03/21 12:09:40.730 29313 29354 Error Unity
    8.  
     
  2. SebT_Unity

    SebT_Unity

    Unity Technologies

    Joined:
    Jun 21, 2021
    Posts:
    248
    Hi Codestics,
    thanks for posting on the forum!
    Could you confirm what versions of Unity and Authentication you are using with your project?
    I assume you are getting this error when you load your application this comes out in the logcat?
     
  3. codestics

    codestics

    Joined:
    May 1, 2018
    Posts:
    7
    Hi SebT thank you for the response

    I am using unity 2022.2.1f1
    Google Play Games plugin for Unity v11.01
    This is coming out on my LogCat after running it on my Android device and connected to unity.

    Code (CSharp):
    1. 2023/03/22 16:28:08.247 19482 19532 Debug ConnectivityManager StackLog: [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4191)] [android.net.ConnectivityManager.registerDefaultNetworkCallbackForUid(ConnectivityManager.java:4755)] [android.net.ConnectivityManager.registerDefaultNetworkCallback(ConnectivityManager.java:4722)] [android.net.ConnectivityManager.registerDefaultNetworkCallback(ConnectivityManager.java:4696)] [com.unity3d.player.NetworkConnectivityNougat.<init>(Unknown Source:26)] [com.unity3d.player.UnityPlayer.getNetworkConnectivity(Unknown Source:17)] [com.unity3d.player.UnityPlayer.nativeRender(Native Method)] [com.unity3d.player.UnityPlayer.-$$Nest$mnativeRender(Unknown Source:0)] [com.unity3d.player.UnityPlayer$C$a.handleMessage(Unknown Source:95)]
    2. 2023/03/22 16:28:08.445 19482 19532 Warn Unity *** [Play Games Plugin 0.11.01] 03/22/23 16:28:08 +01:00 ERROR: Returning an error code.
    3. 2023/03/22 16:28:08.445 19482 19532 Warn Unity GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()
    4. 2023/03/22 16:28:08.445 19482 19532 Warn Unity
    5. 2023/03/22 16:28:08.449 19482 19532 Info Unity Login Unsuccessful
    6. 2023/03/22 16:28:08.449 19482 19532 Info Unity <>c__DisplayClass4_0:<LoginGooglePlayGames>b__0(SignInStatus)
    7. 2023/03/22 16:28:08.449 19482 19532 Info Unity GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()
    8. 2023/03/22 16:28:08.449 19482 19532 Info Unity
    9. 2023/03/22 16:28:08.452 19482 19532 Error Unity Exception: Failed
    10. 2023/03/22 16:28:08.452 19482 19532 Error Unity   at GPManager.Start () [0x00000] in <00000000000000000000000000000000>:0
    11. 2023/03/22 16:28:08.452 19482 19532 Error Unity   at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0
    12. 2023/03/22 16:28:08.452 19482 19532 Error Unity   at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <00000000000000000000000000000000>:0
    13. 2023/03/22 16:28:08.452 19482 19532 Error Unity   at System.Threading.Tasks.AwaitTaskContinuation.RunCallback (System.Threading.ContextCallback callback, System.Object state, System.Threading.Tasks.Task& currentTask) [0x00000] in <00000000000000000000000000000000>:0
    14. 2023/03/22 16:28:08.452 19482 19532 Error Unity   at System.Threading.Tasks.Task.FinishContinuations () [0x00000] in <00000000000000000000000000000000>:0
    15. 2023/03/22 16:28:08.452 19482 19532 Error Unity   at System.Threading.Tasks.Task.Finish (System.Boolean bUserDelegateExecuted) [0x00000] in <00000000000000000000000000000000>:0
    16. 2023/03/22 16:28:08.452 19482 19532 Error Unity   at System.Threading.Tasks.Task.TrySetException (System.Object exceptionObject) [0x00000
    17.  
    I connected all the services as were stated - I even uploaded the app for production with testers and added also a second key with sign in.
     
    Last edited: Mar 22, 2023