Can't login to the google play games when using .RequestIdToken() with PlayGamesClientConfiguration

Google Play Games for Unity v0.10.14
Unity 2021.3.4f

Authentication fails when i add .RequestIdToken() to the PlayGamesClientConfiguration. Logs return an error “authentication failed - developer error”. Here is the code i use to authenticate:

var config = new PlayGamesClientConfiguration.Builder()
                .RequestEmail()
                .RequestIdToken() //Removing this line fixes authentication
                .Build();

            PlayGamesPlatform.InitializeInstance(config);
            PlayGamesPlatform.DebugLogEnabled = true;
            PlayGamesPlatform.Activate();
            PlayGamesPlatform.Instance.Authenticate(SignInInteractivity.CanPromptOnce,AuthResult);

As I know, “Developer error” means SHA-1 certificates mismatch in the Play and Cloud Console, but all is fine. I’m using the App signing key certificate to authenticate inside google-signed game.
Attached screenshots of SHA-1 fingerprints i’m using.
8258748--1081152--upload_2022-7-6_22-6-44.png
8258748--1081158--upload_2022-7-6_22-16-9.png

Share complete logcat log to have a look.

2022.07.07 13:59:20.143 20263 20281 Info Unity MemoryManager: Using 'Dynamic Heap' Allocator.
2022.07.07 13:59:20.199 20263 20281 Info Unity SystemInfo CPU = ARM64 FP ASIMD AES, Cores = 8, Memory = 3740mb
2022.07.07 13:59:20.199 20263 20281 Info Unity SystemInfo ARM big.LITTLE configuration: 4 big (mask: 0xf0), 4 little (mask: 0xf)
2022.07.07 13:59:20.200 20263 20281 Info Unity ApplicationInfo com.GameSpear.DashnBeat version 1.1.2
2022.07.07 13:59:20.200 20263 20281 Info Unity Built from '2021.3/staging' branch, Version '2021.3.4f1 (cb45f9cae8b7)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a', Stripping 'Enabled'
2022.07.07 13:59:20.560 20263 20281 Info Unity Company Name: GameSpear
2022.07.07 13:59:20.560 20263 20281 Info Unity Product Name: Dash'n'Beat
2022.07.07 13:59:20.599 20263 20281 Debug Unity  GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_EXT_texture_format_sRGB_override GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_b
2022.07.07 13:59:20.599 20263 20281 Debug Unity order_clamp GL_EXT_EGL_image_external_wrap_modes GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_OES_shader_multisample_interpolation GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5 GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16 GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture GL_E
2022.07.07 13:59:20.599 20263 20281 Debug Unity XT_buffer_storage GL_EXT_external_buffer GL_EXT_blit_framebuffer_params GL_EXT_clip_cull_distance GL_EXT_protected_textures GL_EXT_shader_non_constant_global_initializers GL_QCOM_texture_foveated GL_QCOM_shader_framebuffer_fetch_noncoherent GL_QCOM_shader_framebuffer_fetch_rate GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_EGL_image_array GL_NV_shader_noperspective_interpolation GL_KHR_robust_buffer_access_behavior GL_EXT_EGL_image_storage GL_EXT_blend_func_extended GL_EXT_clip_control GL_OES_texture_view GL_EXT_fragment_invocation_density GL_QCOM_YUV_texture_gather
2022.07.07 13:59:23.484 20263 20281 Error Unity initializationListener is null, you will not receive any callbacks
2022.07.07 13:59:23.484 20263 20281 Error Unity UnityEngine.Advertisements.Advertisement:Initialize(String, Boolean, IUnityAdsInitializationListener)
2022.07.07 13:59:23.484 20263 20281 Error Unity
2022.07.07 13:59:23.497 20263 20281 Debug UnityAds com.unity3d.services.core.misc.Utilities.writeFile() (line:129) :: Wrote file: /data/user/0/com.GameSpear.DashnBeat/files/UnityAdsStorage-public-data.json
2022.07.07 13:59:23.497 20263 20281 Debug UnityAds com.unity3d.services.core.device.Storage.sendEvent() (line:86) :: Couldn't send storage event to WebApp
2022.07.07 13:59:23.499 20263 20281 Debug UnityAds com.unity3d.services.core.misc.Utilities.writeFile() (line:129) :: Wrote file: /data/user/0/com.GameSpear.DashnBeat/files/UnityAdsStorage-public-data.json
2022.07.07 13:59:23.499 20263 20281 Debug UnityAds com.unity3d.services.core.device.Storage.sendEvent() (line:86) :: Couldn't send storage event to WebApp
2022.07.07 13:59:23.500 20263 20281 Debug UnityAds com.unity3d.services.ads.UnityAdsImplementation.initialize() (line:62) :: ENTERED METHOD
2022.07.07 13:59:23.501 20263 20281 Debug UnityAds com.unity3d.services.UnityServices.initialize() (line:35) :: ENTERED METHOD
2022.07.07 13:59:23.503 20263 20281 Info UnityAds com.unity3d.services.UnityServices.initialize() (line:119) :: Initializing Unity Services 4.2.1 (4210) with game id 4092623 in production mode
2022.07.07 13:59:23.509 20263 20281 Info UnityAds com.unity3d.services.UnityServices.initialize() (line:137) :: Unity Services environment check OK
2022.07.07 13:59:23.554 20263 20341 Info UnityAds com.unity3d.services.core.configuration.InitializeThread$InitializeStateConfig.execute() (line:293) :: Unity Ads init: load configuration from https://configv2.unityads.unity3d.com/webview/4.2.1/release/config.json
2022.07.07 13:59:23.852 20263 20341 Info UnityAds com.unity3d.services.core.configuration.InitializeThread$InitializeStateLoadCache.execute() (line:393) :: Unity Ads init: webapp loaded from local cache
2022.07.07 13:59:24.063 20263 20281 Error Unity Purchase not correctly processed for product "5coins". Add an active IAPButton to process this purchase, or add an IAPListener to receive any unhandled purchase events.
2022.07.07 13:59:24.063 20263 20281 Error Unity UnityEngine.Purchasing.CodelessIAPStoreListener:ProcessPurchase(PurchaseEventArgs)
2022.07.07 13:59:24.063 20263 20281 Error Unity UnityEngine.Purchasing.PurchasingManager:ProcessPurchaseIfNew(Product)
2022.07.07 13:59:24.063 20263 20281 Error Unity UnityEngine.Purchasing.PurchasingManager:ProcessPurchaseOnStart()
2022.07.07 13:59:24.063 20263 20281 Error Unity UnityEngine.Purchasing.PurchasingManager:OnProductsRetrieved(List`1)
2022.07.07 13:59:24.063 20263 20281 Error Unity UnityEngine.Purchasing.Extension.UnityUtil:Update()
2022.07.07 13:59:24.063 20263 20281 Error Unity
2022.07.07 13:59:25.360 20263 20281 Info Unity Starting Auth with token client.
2022.07.07 13:59:25.360 20263 20281 Info Unity GooglePlayGames.Android.AndroidClient:Authenticate(Boolean, Action`1)
2022.07.07 13:59:25.360 20263 20281 Info Unity GameInit:TryLogIn()
2022.07.07 13:59:25.360 20263 20281 Info Unity <onLocalesLoaded>d__10:MoveNext()
2022.07.07 13:59:25.360 20263 20281 Info Unity System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
2022.07.07 13:59:25.360 20263 20281 Info Unity System.Runtime.CompilerServices.MoveNextRunner:Run()
2022.07.07 13:59:25.360 20263 20281 Info Unity System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&)
2022.07.07 13:59:25.360 20263 20281 Info Unity System.Threading.Tasks.Task:FinishContinuations()
2022.07.07 13:59:25.360 20263 20281 Info Unity System.Threading.Tasks.Task`1:TrySetResult(TResult)
2022.07.07 13:59:25.360 20263 20281 Info Unity System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:SetResult(TResult)
2022.07.07 13:59:25.360 20263 20281 Info Unity <CheckForUpdates>d__0:MoveNext()
2022.07.07 13:59:25.360 20263 20281 Info Unity System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
2022.07.07 13:59:25.360 20263 20281 Info Unity System.Runtime.CompilerServices.MoveNextRunner:Run()
2022.07.07 13:59:25.360 20263 20281 Info Unity UnityEngine.WorkRequest:Invoke()
2022.07.07 13:59:25.360 20263 20281 Info Unity UnityEngine.UnitySynchronizationContext:Exec()
2022.07.07 13:59:25.360 20263 20281 Info Unity
2022.07.07 13:59:26.549 20263 20353 Warn UnityAds com.unity3d.services.core.connectivity.ConnectivityMonitor.connectionStatusChanged() (line:173) :: Unity Ads was not able to get current network type due to missing permission
2022.07.07 13:59:26.554 20263 20353 Warn UnityAds com.unity3d.services.core.connectivity.ConnectivityMonitor.connectionStatusChanged() (line:173) :: Unity Ads was not able to get current network type due to missing permission
2022.07.07 13:59:26.596 20263 20445 Info UnityAds com.unity3d.services.core.api.Sdk.logInfo() (line:85) :: Requesting configuration from https://publisher-config.unityads.unity3d.com/games/4092623/configuration?deviceMake=Xiaomi&screenDensity=356&screenSize=268435810&idfi=828f6c22262e24ea19a1813982146d1f&advertisingTrackingId=575b3924-18c5-4d1f-9ec6-a39fea7d1b65&limitAdTracking=false&installationId=828f6c22262e24ea19a1813982146d1f&connectionType=wifi&screenHeight=2219&screenWidth=1080&bundleId=com.GameSpear.DashnBeat&encrypted=true&rooted=false&platform=android&sdkVersion=4210&osVersion=12&deviceModel=Redmi%20Note%207&language=en_US&test=false&analyticsUserId=828f6c22262e24ea19a1813982146d1f&analyticsSessionId=2420492080032616151&first=false&framework=%5Bobject%20Object%5D&adapter=%5Bobject%20Object%5D&userLevelFlagDetected=false

2022.07.07 13:59:27.065 20263 20445 Warn UnityAds com.unity3d.services.core.device.Device.getNetworkType() (line:148) :: Unity Ads was not able to get current network type due to missing permission
2022.07.07 13:59:27.073 20263 20445 Warn UnityAds com.unity3d.services.core.device.Device.getNetworkType() (line:148) :: Unity Ads was not able to get current network type due to missing permission
2022.07.07 13:59:27.124 20263 20445 Info UnityAds com.unity3d.services.core.api.Sdk.logInfo() (line:85) :: Requesting ad plan from https://auction.unityads.unity3d.com/v6/games/4092623/requests?idfi=828f6c22262e24ea19a1813982146d1f&advertisingTrackingId=575b3924-18c5-4d1f-9ec6-a39fea7d1b65&limitAdTracking=false&deviceModel=Redmi%20Note%207&platform=android&sdkVersion=4210&stores=google&deviceMake=Xiaomi&screenSize=268435810&screenDensity=356&apiLevel=31&screenWidth=1080&screenHeight=2219&connectionType=wifi&networkType=-1
2022.07.07 13:59:28.024 20263 20281 Info Unity  [Play Games Plugin 0.10.14] 07/07/22 13:59:27 +03:00 DEBUG: Activating PlayGamesPlatform.
2022.07.07 13:59:28.024 20263 20281 Info Unity GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()
2022.07.07 13:59:28.024 20263 20281 Info Unity
2022.07.07 13:59:28.025 20263 20281 Info Unity  [Play Games Plugin 0.10.14] 07/07/22 13:59:28 +03:00 DEBUG: PlayGamesPlatform activated: GooglePlayGames.PlayGamesPlatform
2022.07.07 13:59:28.025 20263 20281 Info Unity GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()
2022.07.07 13:59:28.025 20263 20281 Info Unity
2022.07.07 13:59:28.025 20263 20281 Info Unity  [Play Games Plugin 0.10.14] 07/07/22 13:59:28 +03:00 DEBUG: Creating platform-specific Play Games client.
2022.07.07 13:59:28.025 20263 20281 Info Unity GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()
2022.07.07 13:59:28.025 20263 20281 Info Unity
2022.07.07 13:59:28.026 20263 20281 Info Unity  [Play Games Plugin 0.10.14] 07/07/22 13:59:28 +03:00 DEBUG: Creating Android IPlayGamesClient Client
2022.07.07 13:59:28.026 20263 20281 Info Unity GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()
2022.07.07 13:59:28.026 20263 20281 Info Unity
2022.07.07 13:59:28.031 20263 20281 Error Unity Update was skipped
2022.07.07 13:59:28.031 20263 20281 Error Unity <<CheckForUpdates>g__RequestUpdate|0>d:MoveNext()
2022.07.07 13:59:28.031 20263 20281 Error Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
2022.07.07 13:59:28.031 20263 20281 Error Unity
2022.07.07 13:59:28.867 20263 20263 Info Unity Returning an error code.
2022.07.07 13:59:28.867 20263 20263 Info Unity GooglePlayGames.Android.<>c__DisplayClass18_0:<Authenticate>b__0(Int32)
2022.07.07 13:59:28.867 20263 20263 Info Unity System.Reflection.RuntimeMethodInfo:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
2022.07.07 13:59:28.867 20263 20263 Info Unity UnityEngine.AndroidJavaProxy:Invoke(String, Object[])
2022.07.07 13:59:28.867 20263 20263 Info Unity UnityEngine._AndroidJNIHelper:InvokeJavaProxyMethod(AndroidJavaProxy, IntPtr, IntPtr)
2022.07.07 13:59:28.867 20263 20263 Info Unity
2022.07.07 13:59:28.884 20263 20281 Info Unity Starting Auth with token client.
2022.07.07 13:59:28.884 20263 20281 Info Unity GooglePlayGames.Android.AndroidClient:Authenticate(Boolean, Action`1)
2022.07.07 13:59:28.884 20263 20281 Info Unity GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()
2022.07.07 13:59:28.884 20263 20281 Info Unity
2022.07.07 13:59:28.901 20263 20445 Info UnityAds com.unity3d.services.core.api.Sdk.logInfo() (line:85) :: Webview started using the latest version
2022.07.07 13:59:29.206 20263 20263 Info Unity Returning an error code.
2022.07.07 13:59:29.206 20263 20263 Info Unity GooglePlayGames.Android.<>c__DisplayClass18_0:<Authenticate>b__0(Int32)
2022.07.07 13:59:29.206 20263 20263 Info Unity System.Reflection.RuntimeMethodInfo:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
2022.07.07 13:59:29.206 20263 20263 Info Unity UnityEngine.AndroidJavaProxy:Invoke(String, Object[])
2022.07.07 13:59:29.206 20263 20263 Info Unity UnityEngine._AndroidJNIHelper:InvokeJavaProxyMethod(AndroidJavaProxy, IntPtr, IntPtr)
2022.07.07 13:59:29.206 20263 20263 Info Unity
2022.07.07 13:59:29.221 20263 20281 Info Unity Login status: DeveloperError
2022.07.07 13:59:29.221 20263 20281 Info Unity <AuthResult>d__12:MoveNext()
2022.07.07 13:59:29.221 20263 20281 Info Unity System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start(TStateMachine&)
2022.07.07 13:59:29.221 20263 20281 Info Unity GameInit:AuthResult(SignInStatus)
2022.07.07 13:59:29.221 20263 20281 Info Unity GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()

You need to remove the unity filter and pass on the complete logcat log.

adb logcat > log.txt

Oh, sorry, forgot to remove filter by unity tag. Here is the full logs:

0001.01.01 00:00:00.000 -1 -1 Info  --------- beginning of main
2022.07.07 19:36:02.120 11418 11435 Info PlayCore UID: [10255]  PID: [11418] AppUpdateListenerRegistry : registerListener
2022.07.07 19:36:02.121 11418 11435 Info PlayCore UID: [10255]  PID: [11418] AppUpdateService : requestUpdateInfo(com.GameSpear.DashnBeat)
2022.07.07 19:36:02.122 11418 11540 Info PlayCore UID: [10255]  PID: [11418] AppUpdateService : Initiate binding to the service.
2022.07.07 19:36:02.130 11418 11710 Warn AudioTrack Use of stream types is deprecated for operations other than volume control
2022.07.07 19:36:02.130 11418 11710 Warn AudioTrack See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case
2022.07.07 19:36:02.142 11418 11418 Info PlayCore UID: [10255]  PID: [11418] AppUpdateService : ServiceConnectionImpl.onServiceConnected(ComponentInfo{com.android.vending/com.google.android.finsky.installservice.DevTriggeredUpdateService})
2022.07.07 19:36:02.142 11418 11418 Debug MediaRouter onRestoreRoute() : route=RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
2022.07.07 19:36:02.142 11418 11418 Verbose MediaRouter Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
2022.07.07 19:36:02.143 11418 11540 Info PlayCore UID: [10255]  PID: [11418] AppUpdateService : linkToDeath
2022.07.07 19:36:02.166 11418 11432 Info PlayCore UID: [10255]  PID: [11418] OnRequestInstallCallback : onRequestInfo
2022.07.07 19:36:02.167 11418 11540 Info PlayCore UID: [10255]  PID: [11418] AppUpdateService : Unbind from service.
2022.07.07 19:36:02.446 11418 11435 Info Unity  [Play Games Plugin 0.10.14] 07/07/22 19:36:02 +03:00 DEBUG: Activating PlayGamesPlatform.
2022.07.07 19:36:02.446 11418 11435 Info Unity GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()
2022.07.07 19:36:02.446 11418 11435 Info Unity
2022.07.07 19:36:02.447 11418 11435 Info Unity  [Play Games Plugin 0.10.14] 07/07/22 19:36:02 +03:00 DEBUG: PlayGamesPlatform activated: GooglePlayGames.PlayGamesPlatform
2022.07.07 19:36:02.447 11418 11435 Info Unity GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()
2022.07.07 19:36:02.447 11418 11435 Info Unity
2022.07.07 19:36:02.447 11418 11435 Info Unity  [Play Games Plugin 0.10.14] 07/07/22 19:36:02 +03:00 DEBUG: Creating platform-specific Play Games client.
2022.07.07 19:36:02.447 11418 11435 Info Unity GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()
2022.07.07 19:36:02.447 11418 11435 Info Unity
2022.07.07 19:36:02.448 11418 11435 Info Unity  [Play Games Plugin 0.10.14] 07/07/22 19:36:02 +03:00 DEBUG: Creating Android IPlayGamesClient Client
2022.07.07 19:36:02.448 11418 11435 Info Unity GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()
2022.07.07 19:36:02.448 11418 11435 Info Unity
2022.07.07 19:36:02.450 11418 11435 Debug HelperFragment Creating fragment
2022.07.07 19:36:02.451 11418 11418 Debug HelperFragment onResume called
2022.07.07 19:36:02.451 11418 11418 Debug SignInRequest signIn
2022.07.07 19:36:02.451 11418 11418 Debug SignInRequest Building client for: c22e3bb (a:false e:true i:true wc: 406498326633-ouvemqbpijb7s570cb25si4ommf74u3f.apps.googleusercontent.com f: false)
2022.07.07 19:36:02.452 11418 11435 Error Unity Update was skipped
2022.07.07 19:36:02.452 11418 11435 Error Unity <<CheckForUpdates>g__RequestUpdate|0>d:MoveNext()
2022.07.07 19:36:02.452 11418 11435 Error Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
2022.07.07 19:36:02.452 11418 11435 Error Unity
2022.07.07 19:36:02.459 11418 11418 Debug SignInRequest canReuseAccount: false
2022.07.07 19:36:02.459 11418 11418 Debug SignInRequest signInClient.silentSignIn
2022.07.07 19:36:02.891 11418 11418 Debug SignInRequest silentSignIn.onFailure
2022.07.07 19:36:02.891 11418 11418 Error SignInRequest Sign-in failed with status code: 10
2022.07.07 19:36:02.891 11418 11418 Error SignInRequest Setting result error status code to: 10
2022.07.07 19:36:02.911 11418 11418 Info Unity Returning an error code.
2022.07.07 19:36:02.911 11418 11418 Info Unity GooglePlayGames.Android.<>c__DisplayClass18_0:<Authenticate>b__0(Int32)
2022.07.07 19:36:02.911 11418 11418 Info Unity System.Reflection.RuntimeMethodInfo:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
2022.07.07 19:36:02.911 11418 11418 Info Unity UnityEngine.AndroidJavaProxy:Invoke(String, Object[])
2022.07.07 19:36:02.911 11418 11418 Info Unity UnityEngine._AndroidJNIHelper:InvokeJavaProxyMethod(AndroidJavaProxy, IntPtr, IntPtr)
2022.07.07 19:36:02.911 11418 11418 Info Unity
2022.07.07 19:36:02.923 11418 11435 Info Unity Starting Auth with token client.
2022.07.07 19:36:02.923 11418 11435 Info Unity GooglePlayGames.Android.AndroidClient:Authenticate(Boolean, Action`1)
2022.07.07 19:36:02.923 11418 11435 Info Unity GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()
2022.07.07 19:36:02.923 11418 11435 Info Unity
2022.07.07 19:36:02.939 11418 11435 Debug SignInRequest signIn
2022.07.07 19:36:02.939 11418 11435 Debug SignInRequest Building client for: c990069 (a:false e:true i:true wc: 406498326633-ouvemqbpijb7s570cb25si4ommf74u3f.apps.googleusercontent.com f: false)
2022.07.07 19:36:02.940 11418 11435 Debug SignInRequest canReuseAccount: false
2022.07.07 19:36:02.940 11418 11435 Debug SignInRequest signInClient.silentSignIn
2022.07.07 19:36:03.221 11418 11418 Debug SignInRequest silentSignIn.onFailure
2022.07.07 19:36:03.221 11418 11418 Error SignInRequest Sign-in failed with status code: 10
2022.07.07 19:36:03.221 11418 11418 Error SignInRequest Setting result error status code to: 10
2022.07.07 19:36:03.240 11418 11418 Info Unity Returning an error code.
2022.07.07 19:36:03.240 11418 11418 Info Unity GooglePlayGames.Android.<>c__DisplayClass18_0:<Authenticate>b__0(Int32)
2022.07.07 19:36:03.240 11418 11418 Info Unity System.Reflection.RuntimeMethodInfo:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
2022.07.07 19:36:03.240 11418 11418 Info Unity UnityEngine.AndroidJavaProxy:Invoke(String, Object[])
2022.07.07 19:36:03.240 11418 11418 Info Unity UnityEngine._AndroidJNIHelper:InvokeJavaProxyMethod(AndroidJavaProxy, IntPtr, IntPtr)
2022.07.07 19:36:03.240 11418 11418 Info Unity
2022.07.07 19:36:03.259 11418 11435 Info Unity Login status: DeveloperError
2022.07.07 19:36:03.259 11418 11435 Info Unity <AuthResult>d__12:MoveNext()
2022.07.07 19:36:03.259 11418 11435 Info Unity System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start(TStateMachine&)
2022.07.07 19:36:03.259 11418 11435 Info Unity GameInit:AuthResult(SignInStatus)
2022.07.07 19:36:03.259 11418 11435 Info Unity GooglePlayGames.OurUtils.PlayGamesHelperObject:Update()
2022.07.07 19:36:03.259 11418 11435 Info Unity
2022.07.07 19:36:03.542 11418 11435 Warn Unity Tried to add existing array
2022.07.07 19:36:03.542 11418 11435 Warn Unity Tracklist:Awake()
2022.07.07 19:36:03.542 11418 11435 Warn Unity
2022.07.07 19:36:03.544 11418 11435 Warn Unity Tried to add existing array
2022.07.07 19:36:03.544 11418 11435 Warn Unity Tracklist:Awake()
2022.07.07 19:36:03.544 11418 11435 Warn Unity
2022.07.07 19:36:04.378 11418 11435 Warn Unity Tried to add existing array
2022.07.07 19:36:04.378 11418 11435 Warn Unity Lists:TryAddArrays()
2022.07.07 19:36:04.378 11418 11435 Warn Unity <Start>d__7:MoveNext()
2022.07.07 19:36:04.378 11418 11435 Warn Unity System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start(TStateMachine&)
2022.07.07 19:36:04.378 11418 11435 Warn Unity Lists:Start()
2022.07.07 19:36:04.378 11418 11435 Warn Unity
2022.07.07 19:36:04.379 11418 11435 Warn Unity Tried to add existing array
2022.07.07 19:36:04.379 11418 11435 Warn Unity <Start>d__7:MoveNext()
2022.07.07 19:36:04.379 11418 11435 Warn Unity System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start(TStateMachine&)
2022.07.07 19:36:04.379 11418 11435 Warn Unity Lists:Start()
2022.07.07 19:36:04.379 11418 11435 Warn Unity
2022.07.07 19:36:04.981 11418 11729 Debug UnityNotifications Checking for invalid notification IDs still hanging around
2022.07.07 19:36:45.173 11418 11428 Warn JavaBinder BinderProxy is being destroyed but the application did not call unlinkToDeath to unlink all of its death recipients beforehand.  Releasing leaked death recipient: com.google.android.play.core.internal.zzai
2022.07.07 19:36:45.173 11418 11428 Info BpBinder onLastStrongRef automatically unlinking death recipients: <uncached descriptor>
2022.07.07 19:37:37.609 11418 11445 Debug SharedPreferencesImpl Time required to fsync /data/user/0/com.GameSpear.DashnBeat/shared_prefs/com.GameSpear.DashnBeat.v2.playerprefs.xml: [<1: 0, <2: 0, <4: 14, <8: 72, <16: 7, <32: 0, <64: 0, <128: 0, <256: 0, <512: 1, <1024: 0, <2048: 0, <4096: 0, <8192: 0, <16384: 0, >=16384: 0]

I’m still seeing missing log data. I could be wrong though.
However, I see as you are requesting Id Token and as its mostly related to server client Id, there is one mistake our users make very frequently.

Just make sure the server client id (not sure what GPGS calls it though - Web Client Id??) set is not for Android platform but for Web client.
Please cross check this once.


Click on the above arrow and Google cloud hyper link to get below page (credentials section)Make sure you set the oauth type to web application. If its android platform, it won’t work.

Adding here for reference from our tutorial section. Check “Server Client Id” entry in this table.

1 Like

Hmm, it’s kinda weird that the Google says to set credential type to Android when creating it. So, thanks, will try to change credential to Web app and let you know if it works.

Yes, this was the problem. Now everything works fine. Thanks!

2 Likes