playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.46k stars 967 forks source link

Google login in stuck in loop #2107

Open doyongid opened 6 years ago

doyongid commented 6 years ago

I use version 0.9.50.

Google login is repeated infinitely.

This happens with a specific account. I have three accounts, and it happens in one of them.

I can not tell the cause.

I did a search and found an article of the same issue. There seems to be a solution here.

What do you think about this?

https://stackoverflow.com/questions/25405237/android-google-sign-in-stuck-in-loop

I attach the log. The highlighting is the error log.

I think this log is a problem.

02-14 10:17:50.897: E/ViewRootImplSignInActivity: Attempting to destroy the window while drawing! 02-14 10:17:50.897: E/ViewRootImplSignInActivity: window=android.view.ViewRootImpl@b62ca8, title=com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity


02-14 10:17:36.334: I/Unity(18044): #####1 02-14 10:17:36.334: I/Unity(18044):
02-14 10:17:36.334: I/Unity(18044): (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51) 02-14 10:17:36.334: I/Unity(18044): #####4 02-14 10:17:36.334: I/Unity(18044):
02-14 10:17:36.334: I/Unity(18044): (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51) 02-14 10:17:36.334: I/Unity(18044): Starting Auth with token client. 02-14 10:17:36.334: I/Unity(18044):
02-14 10:17:36.334: I/Unity(18044): (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51) 02-14 10:17:36.334: I/Unity(18044): #####5 02-14 10:17:36.334: I/Unity(18044):
02-14 10:17:36.334: I/Unity(18044): (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51) 02-14 10:17:36.335: D/TokenFragment(18044): Fragment exists.. calling processRequests 02-14 10:17:36.336: D/TokenFragment(18044): Building client for: 5f9f6f2 (a:true e:false i:false wc: 602830251107-o6p7sbe82c7ahtc1t5t1103atj2rmu47.apps.googleusercontent.com f: false) 02-14 10:17:36.337: W/PopupManager(18044): You have not specified a View to use as content view for popups. Falling back to the Activity content view. Note that this may not work as expected in multi-screen environments 02-14 10:17:36.361: D/TokenFragment(18044): Done with processRequest, result is pending. 02-14 10:17:36.361: I/Unity(18044): ---- [0] -- 121 02-14 10:17:36.361: I/Unity(18044):
02-14 10:17:36.361: I/Unity(18044): (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51) 02-14 10:17:36.369: W/GamesServiceBroker(13187): Client connected with SDK 11910000, Services 11975440, and Games 52250040 02-14 10:17:36.392: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:36.403: I/chatty(13187): uid=10013(com.google.android.gms) GAC_Executor[0] identical 1 line 02-14 10:17:36.413: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:36.417: I/TokenFragment(18044): onConnected called 02-14 10:17:36.453: I/ActivityManager(764): START u0 {act=com.google.android.gms.auth.GOOGLE_SIGN_IN pkg=com.cyberstep.soukoku cmp=com.cyberstep.soukoku/com.google.android.gms.auth.api.signin.internal.SignInHubActivity (has extras)} from uid 10303 02-14 10:17:36.476: I/zygote64(764): Background concurrent copying GC freed 96679(4MB) AllocSpace objects, 7(156KB) LOS objects, 42% free, 17MB/31MB, paused 215us total 131.311ms 02-14 10:17:36.476: I/zygote64(764): [ 02-14 10:17:36.532 18044:18248 D/ ] 02-14 10:17:36.476: I/zygote64(764): PlayerBase::stop() from IPlayer 02-14 10:17:36.532: D/AudioTrack(18044): stop() called with 3082944 frames delivered 02-14 10:17:36.532: V/MediaRouterService(764): restoreBluetoothA2dp(false) 02-14 10:17:36.557: I/ActivityManager(764): START u0 {act=com.google.android.gms.auth.GOOGLE_SIGN_IN pkg=com.google.android.gms cmp=com.google.android.gms/.auth.api.signin.ui.SignInActivity (has extras)} from uid 10303 02-14 10:17:36.623: I/Adreno(17849): QUALCOMM build : 8e59954, I0be83d0d26 02-14 10:17:36.623: I/Adreno(17849): Build Date : 09/22/17 02-14 10:17:36.623: I/Adreno(17849): OpenGL ES Shader Compiler Version: EV031.21.02.00 02-14 10:17:36.623: I/Adreno(17849): Local Branch : O17A 02-14 10:17:36.623: I/Adreno(17849): Remote Branch : 02-14 10:17:36.623: I/Adreno(17849): Remote Branch : 02-14 10:17:36.623: I/Adreno(17849): Reconstruct Branch : 02-14 10:17:36.627: D/vndksupport(17849): Loading /vendor/lib64/hw/gralloc.msm8992.so from current namespace instead of sphal namespace. 02-14 10:17:36.629: I/Adreno(17849): PFP: 0x00000000, ME: 0x00000000 02-14 10:17:36.635: I/zygote64(17849): android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 02-14 10:17:36.636: I/OpenGLRenderer(17849): Initialized EGL, version 1.4 02-14 10:17:36.636: D/OpenGLRenderer(17849): Swap behavior 2 02-14 10:17:36.636: W/msm8974_platform(562): platform_send_gain_depcal: Usecase list is empty 02-14 10:17:36.636: E/volume_listener(562): check_and_set_gain_dep_cal: Failed to set gain dep cal level_ 02-14 10:17:36.637: W/msm8974_platform(562): platform_send_gain_depcal: Usecase list is empty 02-14 10:17:36.637: E/volume_listener(562): check_and_set_gain_dep_cal: Failed to set gain dep cal level_ 02-14 10:17:36.644: W/GamesServiceBroker(13187): Client connected with SDK 11975000, Services 11975440, and Games 52250040 02-14 10:17:36.656: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:36.664: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:36.671: I/ActivityManager(764): START u0 {cmp=com.google.android.gms/.common.api.GoogleApiActivity (has extras)} from uid 10013 02-14 10:17:36.743: I/ActivityManager(764): START u0 {act=com.google.android.gms.games.SIGN_IN flg=0x4000000 pkg=com.google.android.play.games cmp=com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity (has extras)} from uid 10013 02-14 10:17:36.672: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:36.882: I/SignInActivity(17882): Transition from -1 to 0 02-14 10:17:36.919: I/Adreno(17882): QUALCOMM build : 8e59954, I0be83d0d26 02-14 10:17:36.919: I/Adreno(17882): Build Date : 09/22/17 02-14 10:17:36.919: I/Adreno(17882): OpenGL ES Shader Compiler Version: EV031.21.02.00 02-14 10:17:36.919: I/Adreno(17882): Local Branch : O17A 02-14 10:17:36.919: I/Adreno(17882): Remote Branch : 02-14 10:17:36.919: I/Adreno(17882): Remote Branch : 02-14 10:17:36.919: I/Adreno(17882): Reconstruct Branch : 02-14 10:17:36.924: D/vndksupport(17882): Loading /vendor/lib64/hw/gralloc.msm8992.so from current namespace instead of sphal namespace. 02-14 10:17:36.932: I/Adreno(17882): PFP: 0x00000000, ME: 0x00000000 02-14 10:17:36.934: I/zygote64(17882): android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 02-14 10:17:36.936: I/OpenGLRenderer(17882): Initialized EGL, version 1.4 02-14 10:17:36.936: D/OpenGLRenderer(17882): Swap behavior 2 02-14 10:17:36.956: D/audio_hw_primary(562): disable_audio_route: usecase(5) reset and update mixer path: audio-ull-playback 02-14 10:17:36.970: D/audio_hw_primary(562): disable_snd_device: snd_device(95: vi-feedback) 02-14 10:17:36.970: D/audio_hw_primary(562): disable_audio_route: usecase(24) reset and update mixer path: spkr-vi-record 02-14 10:17:37.036: D/SurfaceFlinger(428): duplicate layer name: changing com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity to com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity#1 02-14 10:17:37.111: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:37.135: I/ActivityManager(764): Displayed com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity: +337ms (total +578ms) 02-14 10:17:37.533: W/OkHttpClient(18044): A connection to https://events.appsflyer.com/ was leaked. Did you forget to close a response body? 02-14 10:17:37.533: W/OkHttpClient(18044): A connection to https://events.appsflyer.com/ was leaked. Did you forget to close a response body? 02-14 10:17:38.087: D/AppsFlyer_4.6.2(18044): response code: 200 02-14 10:17:38.580: I/OneSignal(18044): updating prefs: OneSignal, OS_LAST_SESSION_TIME 02-14 10:17:38.582: I/OneSignal(18044): GetUnsentActiveTime: 54 02-14 10:17:39.329: I/OneSignal(18044): SaveUnsentActiveTime: 0 02-14 10:17:39.329: I/OneSignal(18044): updating prefs: OneSignal, GT_UNSENT_ACTIVETIME 02-14 10:17:40.617: E/ViewRootImplSignInActivity: Attempting to destroy the window while drawing! 02-14 10:17:40.617: E/ViewRootImplSignInActivity: window=android.view.ViewRootImpl@6e7a5d2, title=com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity_ 02-14 10:17:40.658: I/SignInActivity(17882): Transition from 0 to 1 02-14 10:17:40.685: I/SignInActivity(17882): Transition from 1 to 2 02-14 10:17:40.696: I/ActivityManager(764): START u0 {act=com.google.android.gms.common.account.CHOOSE_ACCOUNT_USERTILE flg=0x20000000 pkg=com.google.android.gms cmp=com.google.android.gms/.common.account.AccountChipAccountPickerActivity (has extras)} from uid 10065 02-14 10:17:40.736: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:40.737: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:40.800: I/zygote64(17882): Do partial code cache collection, code=57KB, data=44KB 02-14 10:17:40.800: I/zygote64(17882): After code cache collection, code=57KB, data=44KB 02-14 10:17:40.800: I/zygote64(17882): Increasing code cache capacity to 256KB 02-14 10:17:41.037: I/ActivityManager(764): Process com.google.android.calendar (pid 17766) has died: cch+4CEM 02-14 10:17:41.038: W/zygote64(764): kill(-17766, 9) failed: No such process 02-14 10:17:41.057: I/ActivityManager(764): Displayed com.google.android.gms/.common.account.AccountChipAccountPickerActivity: +275ms 02-14 10:17:41.069: I/MemoryTrimmer(3265): Trimming objects from memory, since app is in the background. 02-14 10:17:41.081: W/zygote64(764): kill(-17766, 9) failed: No such process 02-14 10:17:41.081: I/zygote64(764): Successfully killed process cgroup uid 10038 pid 17766 in 43ms 02-14 10:17:41.146: V/rsC++(3265): RS Message thread exiting. 02-14 10:17:41.196: I/Finsky(15406): [2] com.google.android.finsky.ce.a.onTrimMemory(5): Memory trim requested to level 5 02-14 10:17:41.220: I/ActivityManager(764): Process com.google.android.googlequicksearchbox:search (pid 17951) has died: cch+2CEM 02-14 10:17:41.220: W/zygote64(764): kill(-17951, 9) failed: No such process 02-14 10:17:41.220: I/zygote64(764): Successfully killed process cgroup uid 10031 pid 17951 in 0ms 02-14 10:17:41.732: I/Telecom(764): PhoneAccountRegistrar: SimCallManager queried, returning: null: TSI.gSCM@AuU 02-14 10:17:41.746: I/Babel_telephony(18566): TeleModule.updateConnectionManagerRegistration, registration preference changed from false to false 02-14 10:17:41.747: W/Babel_AcctMgr(18566): gBA: invalid account id: -1 02-14 10:17:41.749: W/Babel_AcctMgr(18566): gBA: invalid account id: -1 02-14 10:17:41.749: I/Babel_telephony(18566): TeleModule.updateIncomingCallRegistration, preferred account for incoming calls changed from: null to null 02-14 10:17:41.771: I/Telecom(764): PhoneAccountRegistrar: SimCallManager queried, returning: null: TSI.gSCM@Auc 02-14 10:17:42.190: I/nanohub(764): osLog: [AR_CHRE] IDLE => ON 02-14 10:17:43.617: D/audio_route(562): Apply path: speaker-protected 02-14 10:17:43.623: D/audio_hw_primary(562): enable_snd_device: snd_device(95: vi-feedback) 02-14 10:17:43.623: D/audio_route(562): Apply path: vi-feedback 02-14 10:17:43.623: D/audio_hw_primary(562): enable_audio_route: usecase(24) apply and update mixer path: spkr-vi-record 02-14 10:17:43.623: D/audio_route(562): Apply path: spkr-vi-record 02-14 10:17:43.648: D/audio_hw_primary(562): enable_audio_route: usecase(1) apply and update mixer path: low-latency-playback 02-14 10:17:43.648: D/audioroute(562): Apply path: low-latency-playback 02-14 10:17:43.686: E/msm8974_platform(562): ramp_speaker_gain: Could not get ctl for mixer cmd - Left Speaker Gain or Right Speaker Gain, not applying speaker gain ramp_ 02-14 10:17:43.687: D/audio_hw_primary(562): out_write: retry previous failed cal level set 02-14 10:17:43.687: W/msm8974_platform(562): platform_send_gain_dep_cal: Usecase list is empty 02-14 10:17:43.691: D/OpenGLRenderer(17849): endAllActiveAnimators on 0x7345c67c00 (ListView) with handle 0x7345584100 02-14 10:17:43.696: I/SignInActivity(17882): Transition from 2 to 3 02-14 10:17:43.743: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:43.751: I/SignInActivity(17882): Transition from 3 to 4 02-14 10:17:43.782: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:43.815: W/ConfigurationChimeraPro(3135): Got null configs for com.google.android.gms.auth.account.base 02-14 10:17:44.173: D/audio_hw_primary(562): disable_audio_route: usecase(1) reset and update mixer path: low-latency-playback 02-14 10:17:44.187: D/audio_hw_primary(562): disable_snd_device: snd_device(95: vi-feedback) 02-14 10:17:44.188: D/audio_hw_primary(562): disable_audio_route: usecase(24) reset and update mixer path: spkr-vi-record 02-14 10:17:45.234: I/SignInActivity(17882): Transition from 4 to 5 02-14 10:17:45.256: I/SignInActivity(17882): Transition from 5 to 6 02-14 10:17:45.283: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:45.284: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:45.508: I/WifiService(764): getConnectionInfo uid=10094 02-14 10:17:45.510: D/WifiPermissionsUtil(764): Denied: no location permission 02-14 10:17:45.510: D/WifiPermissionsUtil(764): Denied: The current config is not for an open network. 02-14 10:17:45.629: W/MDM(16690): StatsFactory - Interface [dummy0] => Type [Mobile] 02-14 10:17:45.630: W/MDM(16690): StatsFactory - Interface [r_rmnet_data2] => Type [Mobile] 02-14 10:17:45.630: W/MDM(16690): StatsFactory - Interface [r_rmnet_data3] => Type [Mobile] 02-14 10:17:45.630: W/MDM(16690): StatsFactory - Interface [r_rmnet_data0] => Type [Mobile] 02-14 10:17:45.630: W/MDM(16690): StatsFactory - Interface [lo] => Type [LoopBack] 02-14 10:17:45.630: W/MDM(16690): StatsFactory - Interface [r_rmnet_data1] => Type [Mobile] 02-14 10:17:45.631: W/MDM(16690): StatsFactory - Interface [sit0] => Type [Vpn] 02-14 10:17:45.631: W/MDM(16690): StatsFactory - Interface [rmnet_data7] => Type [Mobile] 02-14 10:17:45.632: W/MDM(16690): StatsFactory - Interface [v4-rmnet_data7] => Type [Vpn] 02-14 10:17:45.632: W/MDM(16690): StatsFactory - Interface [rmnet_data0] => Type [Mobile] 02-14 10:17:45.633: W/MDM(16690): StatsFactory - Interface [wlan0] => Type [Wifi] 02-14 10:17:45.633: W/MDM(16690): StatsFactory - Interface [p2p0] => Type [WifiLink] 02-14 10:17:45.634: W/MDM(16690): StatsFactory - Interface [rmnet_data2] => Type [Mobile] 02-14 10:17:45.634: W/MDM(16690): StatsFactory - Interface [rmnet_data1] => Type [Mobile] 02-14 10:17:45.634: W/MDM(16690): StatsFactory - Interface [rmnet_data4] => Type [Mobile] 02-14 10:17:45.634: W/MDM(16690): StatsFactory - Interface [rmnet_data3] => Type [Mobile] 02-14 10:17:45.634: W/MDM(16690): StatsFactory - Interface [rmnet_data6] => Type [Mobile] 02-14 10:17:45.634: W/MDM(16690): StatsFactory - Interface [rmnet_data5] => Type [Mobile] 02-14 10:17:45.634: W/MDM(16690): StatsFactory - Interface [r_rmnet_data8] => Type [Mobile] 02-14 10:17:45.634: W/MDM(16690): StatsFactory - Interface [r_rmnet_data6] => Type [Mobile] 02-14 10:17:45.634: W/MDM(16690): StatsFactory - Interface [r_rmnet_data7] => Type [Mobile] 02-14 10:17:45.634: W/MDM(16690): StatsFactory - Interface [r_rmnet_data4] => Type [Mobile] 02-14 10:17:45.635: W/MDM(16690): StatsFactory - Interface [r_rmnet_data5] => Type [Mobile] 02-14 10:17:45.635: W/MDM(16690): StatsFactory - Interface [rmnet_ipa0] => Type [Mobile] 02-14 10:17:45.692: I/WifiService(764): getConnectionInfo uid=10094 02-14 10:17:45.692: D/WifiPermissionsUtil(764): Denied: no location permission 02-14 10:17:45.692: D/WifiPermissionsUtil(764): Denied: The current config is not for an open network. 02-14 10:17:45.696: W/MDM(16690): StatsFactory - Interface [dummy0] => Type [Mobile] 02-14 10:17:45.696: W/MDM(16690): StatsFactory - Interface [r_rmnet_data2] => Type [Mobile] 02-14 10:17:45.696: W/MDM(16690): StatsFactory - Interface [r_rmnet_data3] => Type [Mobile] 02-14 10:17:45.696: W/MDM(16690): StatsFactory - Interface [r_rmnet_data0] => Type [Mobile] 02-14 10:17:45.696: W/MDM(16690): StatsFactory - Interface [lo] => Type [LoopBack] 02-14 10:17:45.696: W/MDM(16690): StatsFactory - Interface [r_rmnet_data1] => Type [Mobile] 02-14 10:17:45.697: W/MDM(16690): StatsFactory - Interface [sit0] => Type [Vpn] 02-14 10:17:45.697: W/MDM(16690): StatsFactory - Interface [rmnet_data7] => Type [Mobile] 02-14 10:17:45.697: W/MDM(16690): StatsFactory - Interface [v4-rmnet_data7] => Type [Vpn] 02-14 10:17:45.697: W/MDM(16690): StatsFactory - Interface [rmnet_data0] => Type [Mobile] 02-14 10:17:45.697: W/MDM(16690): StatsFactory - Interface [wlan0] => Type [Wifi] 02-14 10:17:45.697: W/MDM(16690): StatsFactory - Interface [p2p0] => Type [WifiLink] 02-14 10:17:45.697: W/MDM(16690): StatsFactory - Interface [rmnet_data2] => Type [Mobile] 02-14 10:17:45.697: W/MDM(16690): StatsFactory - Interface [rmnet_data1] => Type [Mobile] 02-14 10:17:45.697: W/MDM(16690): StatsFactory - Interface [rmnet_data4] => Type [Mobile] 02-14 10:17:45.697: W/MDM(16690): StatsFactory - Interface [rmnet_data3] => Type [Mobile] 02-14 10:17:45.697: W/MDM(16690): StatsFactory - Interface [rmnet_data6] => Type [Mobile] 02-14 10:17:45.697: W/MDM(16690): StatsFactory - Interface [rmnet_data5] => Type [Mobile] 02-14 10:17:45.697: W/MDM(16690): StatsFactory - Interface [r_rmnet_data8] => Type [Mobile] 02-14 10:17:45.697: W/MDM(16690): StatsFactory - Interface [r_rmnet_data6] => Type [Mobile] 02-14 10:17:45.697: W/MDM(16690): StatsFactory - Interface [r_rmnet_data7] => Type [Mobile] 02-14 10:17:45.698: W/MDM(16690): StatsFactory - Interface [r_rmnet_data4] => Type [Mobile] 02-14 10:17:45.698: W/MDM(16690): StatsFactory - Interface [r_rmnet_data5] => Type [Mobile] 02-14 10:17:45.698: W/MDM(16690): StatsFactory - Interface [rmnetipa0] => Type [Mobile] 02-14 10:17:45.726: W/MDM(16690): InstalledPackageMonitor - <--> getAppVersionForUid(-1) failed to find matching entity 02-14 10:17:45.730: W/MDM(16690): InstalledPackageMonitor - <--> getAppVersionForUid(-1) failed to find matching entity 02-14 10:17:45.775: I/SignInActivity(17882): Transition from 6 to 7 02-14 10:17:45.791: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:45.804: I/SignInActivity(17882): Transition from 7 to 8 02-14 10:17:45.828: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:46.457: I/SignInActivity(17882): Transition from 8 to 9 02-14 10:17:46.476: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:46.484: I/SignInActivity(17882): Transition from 9 to 10 02-14 10:17:46.507: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:46.663: W/GamesServiceBroker(13187): Client connected with SDK 11975000, Services 11975440, and Games 52250040 02-14 10:17:46.692: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:46.821: I/zygote64(13187): Background concurrent copying GC freed 60928(3MB) AllocSpace objects, 10(520KB) LOS objects, 49% free, 10MB/21MB, paused 139us total 101.687ms 02-14 10:17:46.824: E/DataBuffer(13187): Internal data leak within a DataBuffer object detected! Be sure to explicitly call release() on all DataBuffer extending objects when you are done with them. (internal object: com.google.android.gms.common.data.DataHolder@fc9cde7)_ 02-14 10:17:46.942: W/Auth(3135): [GetToken] GetToken failed with status code: NeedPermission 02-14 10:17:46.956: W/ConfigurationChimeraPro(3135): Got null configs for com.google.android.gms.common_auth 02-14 10:17:46.964: W/Auth(13187): [GoogleAuthUtil] GoogleAuthUtil 02-14 10:17:46.982: I/ActivityManager(764): START u0 {cmp=com.google.android.gms/.common.api.GoogleApiActivity (has extras)} from uid 10013 02-14 10:17:46.986: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:47.019: I/ActivityManager(764): START u0 {act=com.google.android.gms.games.SIGN_IN flg=0x4000000 pkg=com.google.android.play.games cmp=com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity (has extras)} from uid 10013 02-14 10:17:47.199: I/Adreno(17882): QUALCOMM build : 8e59954, I0be83d0d26 02-14 10:17:47.199: I/Adreno(17882): Build Date : 09/22/17 02-14 10:17:47.199: I/Adreno(17882): OpenGL ES Shader Compiler Version: EV031.21.02.00 02-14 10:17:47.199: I/Adreno(17882): Local Branch : O17A 02-14 10:17:47.199: I/Adreno(17882): Remote Branch : 02-14 10:17:47.199: I/Adreno(17882): Remote Branch : 02-14 10:17:47.199: I/Adreno(17882): Reconstruct Branch : 02-14 10:17:47.202: D/vndksupport(17882): Loading /vendor/lib64/hw/gralloc.msm8992.so from current namespace instead of sphal namespace. 02-14 10:17:47.208: I/Adreno(17882): PFP: 0x00000000, ME: 0x00000000 02-14 10:17:47.211: I/zygote64(17882): android::hardware::configstore::V10::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 02-14 10:17:47.213: I/OpenGLRenderer(17882): Initialized EGL, version 1.4 02-14 10:17:47.213: D/OpenGLRenderer(17882): Swap behavior 2 02-14 10:17:47.217: I/SignInActivity(17882): Transition from -1 to 0 02-14 10:17:47.265: I/ActivityManager(764): Displayed com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity: +206ms (total +247ms) 02-14 10:17:47.291: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:47.333: D/SurfaceFlinger(428): duplicate layer name: changing com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity to com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity#1 02-14 10:17:50.897: E/ViewRootImplSignInActivity: Attempting to destroy the window while drawing! 02-14 10:17:50.897: E/ViewRootImplSignInActivity: window=android.view.ViewRootImpl@b62ca8, title=com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity_ 02-14 10:17:50.920: I/SignInActivity(17882): Transition from 0 to 1 02-14 10:17:50.939: I/SignInActivity(17882): Transition from 1 to 3 02-14 10:17:50.972: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:50.987: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:51.000: I/SignInActivity(17882): Transition from 3 to 4 02-14 10:17:51.031: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:51.160: I/zygote64(13187): Do full code cache collection, code=220KB, data=184KB 02-14 10:17:51.160: I/zygote64(13187): After code cache collection, code=211KB, data=153KB 02-14 10:17:52.294: I/SignInActivity(17882): Transition from 4 to 5 02-14 10:17:52.321: I/SignInActivity(17882): Transition from 5 to 6 02-14 10:17:52.342: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:52.342: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:52.389: I/zygote64(764): Background concurrent copying GC freed 68960(3MB) AllocSpace objects, 15(556KB) LOS objects, 42% free, 17MB/31MB, paused 232us total 118.482ms 02-14 10:17:52.404: I/SignInActivity(17882): Transition from 6 to 7 02-14 10:17:52.420: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:52.436: I/SignInActivity(17882): Transition from 7 to 8 02-14 10:17:52.451: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:54.232: I/SignInActivity(17882): Transition from 8 to 9 02-14 10:17:54.254: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:54.266: I/SignInActivity(17882): Transition from 9 to 10 02-14 10:17:54.294: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:54.433: W/GamesServiceBroker(13187): Client connected with SDK 11975000, Services 11975440, and Games 52250040 02-14 10:17:54.468: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:54.640: W/Auth(3135): [GetToken] GetToken failed with status code: NeedPermission 02-14 10:17:54.664: W/Auth(13187): [GoogleAuthUtil] GoogleAuthUtil 02-14 10:17:54.678: I/ActivityManager(764): START u0 {cmp=com.google.android.gms/.common.api.GoogleApiActivity (has extras)} from uid 10013 02-14 10:17:54.679: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:54.708: I/ActivityManager(764): START u0 {act=com.google.android.gms.games.SIGN_IN flg=0x4000000 pkg=com.google.android.play.games cmp=com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity (has extras)} from uid 10013 02-14 10:17:54.855: I/Adreno(17882): QUALCOMM build : 8e59954, I0be83d0d26 02-14 10:17:54.855: I/Adreno(17882): Build Date : 09/22/17 02-14 10:17:54.855: I/Adreno(17882): OpenGL ES Shader Compiler Version: EV031.21.02.00 02-14 10:17:54.855: I/Adreno(17882): Local Branch : O17A 02-14 10:17:54.855: I/Adreno(17882): Remote Branch : 02-14 10:17:54.855: I/Adreno(17882): Remote Branch : 02-14 10:17:54.855: I/Adreno(17882): Reconstruct Branch : 02-14 10:17:54.858: D/vndksupport(17882): Loading /vendor/lib64/hw/gralloc.msm8992.so from current namespace instead of sphal namespace. 02-14 10:17:54.864: I/Adreno(17882): PFP: 0x00000000, ME: 0x00000000 02-14 10:17:54.866: I/zygote64(17882): android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 02-14 10:17:54.867: I/OpenGLRenderer(17882): Initialized EGL, version 1.4 02-14 10:17:54.867: D/OpenGLRenderer(17882): Swap behavior 2 02-14 10:17:54.874: I/SignInActivity(17882): Transition from -1 to 0 02-14 10:17:54.940: I/ActivityManager(764): Displayed com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity: +186ms (total +231ms) 02-14 10:17:54.966: W/GamesServiceBroker(13187): Client connected with SDK 11411000, Services 11975440, and Games 52250040 02-14 10:17:54.988: D/SurfaceFlinger(428): duplicate layer name: changing com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity to com.google.android.play.games/com.google.android.gms.games.ui.signin.SignInActivity#1 01-01 00:00:00.000: E/(-1): Device disconnected

Sanoend commented 6 years ago

I have same problem. Always auntificate failed in all app.

biyarjomandi commented 6 years ago

I don't know if it works but try Change target API to 26 .

doyongid commented 6 years ago

biyarjomandi// It does not seem to be a solution.

There are some unusual symptoms. Press the back button during login to cancel. Then, when you log in again, it succeeds.

doyongid commented 6 years ago

The tested device is a nexus. This device has Android OS 8.1 installed. However, I have successfully logged into the same account on other devices with Android OS 5.0. After that, I succeeded in logging in from the Nexus again.

You also recommend the same test. Please let me know your results.

doyongid commented 6 years ago

I have solved this issue.

This seems to be an issue arising from an unknown problem with the test account.

Remove one account from the Google Play Console -> Game Services -> Test menu.

Registered accounts will now be logged in. And, unregistered accounts will fail.

doyongid commented 6 years ago

I thought I solved it when I was developing, but after the official release, the app was having trouble again.

SergeiSaraev commented 5 years ago

Hi, @doyongid you need to reinstall SHA1 for application. Read more here: https://stackoverflow.com/a/44235859

Davtyanag commented 3 years ago

I found a way to reproduce this. First of all you need a test account. Sign in, it shows Consents Screen, you are logging in. Btw it asks Google Drive access, even you don't require it in OAuth Scopes. After that go into Google Play Services app and remove you app from Delete play Games data section. Delete you game and install it again. You will be in that infinite loop explained above. Unity code to reproduce.

PlayGamesClientConfiguration config = new PlayGamesClientConfiguration.Builder() .EnableSavedGames() .AddOauthScope("https://www.googleapis.com/auth/games") .AddOauthScope("https://www.googleapis.com/auth/userinfo.profile") .Build() PlayGamesPlatform.InitializeInstance(config); PlayGamesPlatform.DebugLogEnabled = true; PlayGamesPlatform.Activate(); PlayGamesPlatform.Instance.Authenticate(SignInInteractivity.CanPromptOnce, (result) => { Debug.Log("EasyMobileInitializer auth res" + result.ToString()); });

If you remove this line of code it won't happen: .AddOauthScope("https://www.googleapis.com/auth/userinfo.profile") But it's not a solution. Btw switching to different SHA-1's allows you to do same things and to be again in loop. Any solution for this?