{"action":"created","issue":{"url":"https://api.github.com/repos/playgameservices/play-games-plugin-for-unity/issues/781","labels_url":"https://api.github.com/repos/playgameservices/play-games-plugin-for-unity/issues/781/labels{/name}","comments_url":"https://api.github.com/repos/playgameservices/play-games-plugin-for-unity/issues/781/comments","events_url":"https://api.github.com/repos/playgameservices/play-games-plugin-for-unity/issues/781/events","html_url":"https://github.com/playgameservices/play-games-plugin-for-unity/issues/781","id":113779377,"number":781,"title":"After Authenticating, getting an java.lang.IllegalStateException: Not connected. Call connect() and wait for onConnected() to be called.","user":{"login":"pletoss","id":636215,"avatar_url":"https://avatars.githubusercontent.com/u/636215?v=3","gravatar_id":"","url":"https://api.github.com/users/pletoss","html_url":"https://github.com/pletoss","followers_url":"https://api.github.com/users/pletoss/followers","following_url":"https://api.github.com/users/pletoss/following{/other_user}","gists_url":"https://api.github.com/users/pletoss/gists{/gist_id}","starred_url":"https://api.github.com/users/pletoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pletoss/subscriptions","organizations_url":"https://api.github.com/users/pletoss/orgs","repos_url":"https://api.github.com/users/pletoss/repos","events_url":"https://api.github.com/users/pletoss/events{/privacy}","received_events_url":"https://api.github.com/users/pletoss/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-28T09:44:29Z","updated_at":"2015-11-25T21:23:42Z","closed_at":"2015-11-25T21:23:42Z","body":"Hi,\r\n\r\nOn a couple of devices we get this error right after trying to log in ( Authenticate() ):\r\n\r\nWe assume that it only happends to users that don't have a Google Plus account yet or have never interacted with Google Play Games.\r\n\r\nInfos:\r\n\r\nI'm using GooglePlayGamesPlugin-0.9.26.unitypackage.\r\n\r\nA dumpsys package for com.google.android.play.games shows this:\r\n\r\n Package [com.google.android.play.games] (4336b7f0):\r\n    userId=10135 gids=[]\r\n    pkg=Package{42c5e8e0 com.google.android.play.games}\r\n    codePath=/data/app/com.google.android.play.games-6.apk\r\n    resourcePath=/data/app/com.google.android.play.games-6.apk\r\n    nativeLibraryPath=/data/app-lib/com.google.android.play.games-6\r\n    versionCode=33580036 targetSdk=23\r\n    versionName=3.3.58 (2285964-036)\r\n    applicationInfo=ApplicationInfo{42c5e990 com.google.android.play.games}\r\n\r\nHere's a stacktrace:\r\n\r\n```\r\nI/Unity   ( 6342):  [Play Games Plugin DLL] 10/26/15 11:22:47 +01:00 DEBUG: Starting Auth Transition. Op: SIGN_IN status: VALID\r\nI/Unity   ( 6342):  \r\nI/Unity   ( 6342): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 56)\r\nI/Unity   ( 6342): \r\nI/dalvikvm( 6169): Could not find method android.widget.TextView.setElegantTextHeight, referenced from method com.google.android.gms.games.ui.popup.BasePopup.loadView\r\nW/dalvikvm( 6169): VFY: unable to resolve virtual method 9087: Landroid/widget/TextView;.setElegantTextHeight (Z)V\r\nD/dalvikvm( 6169): VFY: replacing opcode 0x6e at 0x0071\r\nD/SensorService(  807):   8.6 0.2 4.8\r\nD/AndroidRuntime( 6342): Shutting down VM\r\nW/dalvikvm( 6342): threadid=1: thread exiting with uncaught exception (group=0x41d8ada0)\r\nD/SDK-EA-Android( 6342): Default thread exception handler caught something on thread main : \r\nD/SDK-EA-Android( 6342): java.lang.IllegalStateException: Not connected. Call connect() and wait for onConnected() to be called.\r\nD/dalvikvm( 6342): Trying to load lib /data/app-lib/net.mantisshrimp.warlords-9/libgpg.so 0x0\r\nW/dalvikvm( 6342): Shared lib '/data/app-lib/net.mantisshrimp.warlords-9/libgpg.so' already opened by CL 0x4278b3c0; can't open in 0x0\r\nD/dalvikvm( 6342): Trying to load lib /data/app-lib/net.mantisshrimp.warlords-9/libgpg.so 0x4278b3c0\r\nD/dalvikvm( 6342): Shared lib '/data/app-lib/net.mantisshrimp.warlords-9/libgpg.so' already loaded in same CL 0x4278b3c0\r\nD/SDK-EA-Android( 6342): Starting to send unsent payloads\r\nD/SDK-EA-Android( 6342): UploadTask started\r\nD/HockeyApp( 6342): Writing unhandled exception to: /data/data/net.mantisshrimp.warlords/files/7ad136fc-e183-4741-b61a-d25d905f668d.stacktrace\r\nE/AndroidRuntime( 6342): FATAL EXCEPTION: main\r\nE/AndroidRuntime( 6342): Process: net.mantisshrimp.warlords, PID: 6342\r\nE/AndroidRuntime( 6342): java.lang.Error: FATAL EXCEPTION [main]\r\nE/AndroidRuntime( 6342): Unity version     : 4.6.6f2\r\nE/AndroidRuntime( 6342): Device model      : samsung GT-I9301I\r\nE/AndroidRuntime( 6342): Device fingerprint: samsung/s3ve3gxx/s3ve3g:4.4.2/KOT49H/I9301IXCUAOF1:user/release-keys\r\nE/AndroidRuntime( 6342): \r\nE/AndroidRuntime( 6342): Caused by: java.lang.IllegalStateException: Not connected. Call connect() and wait for onConnected() to be called.\r\nE/AndroidRuntime( 6342): \tat com.google.android.gms.common.internal.zzk.zzfc(Unknown Source)\r\nE/AndroidRuntime( 6342): \tat com.google.android.gms.common.internal.zzk.zzjb(Unknown Source)\r\nE/AndroidRuntime( 6342): \tat com.google.android.gms.games.internal.GamesClientImpl.zzno(Unknown Source)\r\nE/AndroidRuntime( 6342): \tat com.google.android.gms.games.internal.GamesClientImpl.onConnected(Unknown Source)\r\nE/AndroidRuntime( 6342): \tat com.google.android.gms.common.internal.zzl.zzj(Unknown Source)\r\nE/AndroidRuntime( 6342): \tat com.google.android.gms.common.internal.zzl.zzfe(Unknown Source)\r\nE/AndroidRuntime( 6342): \tat com.google.android.gms.common.internal.zzk$zzf.zzje(Unknown Source)\r\nE/AndroidRuntime( 6342): \tat com.google.android.gms.common.internal.zzk$zza.zzc(Unknown Source)\r\nE/AndroidRuntime( 6342): \tat com.google.android.gms.common.internal.zzk$zza.zzi(Unknown Source)\r\nE/AndroidRuntime( 6342): \tat com.google.android.gms.common.internal.zzk$zzc.zzjg(Unknown Source)\r\nE/AndroidRuntime( 6342): \tat com.google.android.gms.common.internal.zzk$zzb.handleMessage(Unknown Source)\r\nE/AndroidRuntime( 6342): \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\nE/AndroidRuntime( 6342): \tat android.os.Looper.loop(Looper.java:136)\r\nE/AndroidRuntime( 6342): \tat android.app.ActivityThread.main(ActivityThread.java:5476)\r\nE/AndroidRuntime( 6342): \tat java.lang.reflect.Method.invokeNative(Native Method)\r\nE/AndroidRuntime( 6342): \tat java.lang.reflect.Method.invoke(Method.java:515)\r\nE/AndroidRuntime( 6342): \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)\r\nE/AndroidRuntime( 6342): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)\r\nE/AndroidRuntime( 6342): \tat dalvik.system.NativeStart.main(Native Method)\r\n```"},"comment":{"url":"https://api.github.com/repos/playgameservices/play-games-plugin-for-unity/issues/comments/159734422","html_url":"https://github.com/playgameservices/play-games-plugin-for-unity/issues/781#issuecomment-159734422","issue_url":"https://api.github.com/repos/playgameservices/play-games-plugin-for-unity/issues/781","id":159734422,"user":{"login":"claywilkinson","id":8752378,"avatar_url":"https://avatars.githubusercontent.com/u/8752378?v=3","gravatar_id":"","url":"https://api.github.com/users/claywilkinson","html_url":"https://github.com/claywilkinson","followers_url":"https://api.github.com/users/claywilkinson/followers","following_url":"https://api.github.com/users/claywilkinson/following{/other_user}","gists_url":"https://api.github.com/users/claywilkinson/gists{/gist_id}","starred_url":"https://api.github.com/users/claywilkinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claywilkinson/subscriptions","organizations_url":"https://api.github.com/users/claywilkinson/orgs","repos_url":"https://api.github.com/users/claywilkinson/repos","events_url":"https://api.github.com/users/claywilkinson/events{/privacy}","received_events_url":"https://api.github.com/users/claywilkinson/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T21:23:42Z","updated_at":"2015-11-25T21:23:42Z","body":"I believe the problem is the version of play services client you application is built with. If you update the play services client library it will work as expected."}}