Open StRandom opened 4 years ago
04-14 17:19:35.951 28111 28155 I Unity : Starting Auth with token client.
04-14 17:19:35.951 28111 28155 I Unity : #0 0xc5d4af6a (libunity.so) GetStacktrace(int) 0x25
04-14 17:19:35.951 28111 28155 I Unity : #1 0xc678dd9a (libunity.so) DebugStringToFile(DebugStringToFileData const&) 0x169
04-14 17:19:35.951 28111 28155 I Unity : #2 0xc629ae46 (libunity.so) DebugLogHandler::Internal_Log(LogType, LogOption, core::basic_string<char, core::StringStorageDefault
Something new about this bug?
Now I use 0.10.08 version of GPG plugin for Unity. And this problem still happens. I've 4 different Google Play Games account on the same device. Code for initialize: PlayGamesClientConfiguration config = new PlayGamesClientConfiguration .Builder() .RequestEmail() .RequestIdToken() .Build(); PlayGamesPlatform.DebugLogEnabled = true; PlayGamesPlatform.InitializeInstance(config); Code for Sign In: _PlayGamesPlatform.Instance.Authenticate(SignInInteractivity.CanPromptAlways, SignInCallback);
public void SignInCallback(SignInStatus success/, string error/) { if (success == SignInStatus.Success) { PlayerEntity.Instance.socket.Emit("signin_with_googleplay", new JSONObject("{\"token\": \"" + PlayGamesPlatform.Instance.GetIdToken() + "\"}")); } else { // Handle errors } }
Sometimes all of 4 accounts authenticate successfully. Then after logout from one and trying to log in to another - error occurs (first time on the same account NetworkError, after this everytime on the same account Authentication Canceled), tho some of another account continue works. Sometimes 4 accounts cannot authenticate (NetworkError first time, next time Authentication canceled).
logcat: 04-14 13:35:14.133 1501 1562 D HwCustConnectivityManagerImpl: isBlockNetworkRequestByNonAis, INVALID_SUBSCRIPTION_ID 04-14 13:35:14.133 1501 1562 D ConnectivityManager: requestNetwork and the calling app is: com.Test.Game 04-14 13:35:14.134 1345 2869 D ConnectivityService: requestNetwork for uid/pid:10249/1501 NetworkRequest [ TRACK_DEFAULT id=4822, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10249] ] 04-14 13:35:14.136 1345 2003 D ConnectivityService: rematching NetworkAgentInfo [WIFI () - 240] 04-14 13:35:14.136 1345 2003 D ConnectivityService: network has: [ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps SignalStrength: -35 SSID: **] 04-14 13:35:14.136 1345 2003 D ConnectivityService: Network NetworkAgentInfo [WIFI () - 240] was already satisfying request 4819. No change. 04-14 13:35:14.136 1345 2003 D ConnectivityService: Network NetworkAgentInfo [WIFI () - 240] was already satisfying request 22. No change. 04-14 13:35:14.136 1345 2003 D ConnectivityService: Network NetworkAgentInfo [WIFI () - 240] was already satisfying request 4667. No change. 04-14 13:35:14.136 1345 2003 D ConnectivityService: Network NetworkAgentInfo [WIFI () - 240] was already satisfying request 4815. No change. 04-14 13:35:14.136 1345 2003 D ConnectivityService: Network NetworkAgentInfo [WIFI () - 240] was already satisfying request 21. No change. 04-14 13:35:14.136 1345 2003 D ConnectivityService: Network NetworkAgentInfo [WIFI () - 240] was already satisfying request 1. No change. 04-14 13:35:14.136 1345 2003 D ConnectivityService: Network NetworkAgentInfo [WIFI () - 240] was already satisfying request 14. No change. 04-14 13:35:14.136 1345 2003 D ConnectivityService: Network NetworkAgentInfo [WIFI () - 240] was already satisfying request 4817. No change. 04-14 13:35:14.136 1345 2003 D ConnectivityService: Network NetworkAgentInfo [WIFI () - 240] was already satisfying request 4821. No change. 04-14 13:35:14.136 1345 2003 D ConnectivityService: Network NetworkAgentInfo [WIFI () - 240] was already satisfying request 8. No change. 04-14 13:35:14.136 1345 2003 D ConnectivityService: Network NetworkAgentInfo [WIFI () - 240] was already satisfying request 4803. No change. 04-14 13:35:14.136 1345 2003 D ConnectivityService: Network NetworkAgentInfo [WIFI () - 240] was already satisfying request 4807. No change. 04-14 13:35:14.136 1345 2003 D ConnectivityService: Network NetworkAgentInfo [WIFI () - 240] was already satisfying request 13. No change. 04-14 13:35:14.136 1345 2003 D ConnectivityService: currentScore = 0, newScore = 60 04-14 13:35:14.136 1345 2003 D ConnectivityService: rematch for NetworkAgentInfo [WIFI () - 240] 04-14 13:35:14.136 1345 2003 D ConnectivityService: accepting network in place of null 04-14 13:35:14.136 1345 2003 D ConnectivityService: sending new Min Network Score(60): NetworkRequest [ TRACK_DEFAULT id=4822, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10249] ] 04-14 13:35:14.136 1345 1997 D WIFI_UT : got request NetworkRequest [ TRACK_DEFAULT id=4822, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10249] ] with score 60 04-14 13:35:14.136 1345 2049 D Ethernet: got request NetworkRequest [ TRACK_DEFAULT id=4822, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10249] ] with score 60 04-14 13:35:14.136 1345 2003 D ConnectivityService: Network NetworkAgentInfo [WIFI () - 240] was already satisfying request 17. No change. 04-14 13:35:14.136 1345 2003 D ConnectivityService: Network NetworkAgentInfo [WIFI () - 240] was already satisfying request 5. No change. 04-14 13:35:14.136 2373 2373 D PhoneSwitcherNetworkRequstListener: got request NetworkRequest [ TRACK_DEFAULT id=4822, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10249] ] with score 60 04-14 13:35:14.137 2373 2373 D VoWifiFactory: got request NetworkRequest [ TRACK_DEFAULT id=4822, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10249] ] with score 60 04-14 13:35:14.137 2373 2373 D PhoneSwitcherNetworkRequstListener: got request NetworkRequest [ TRACK_DEFAULT id=4822, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10249] ] with score 60 04-14 13:35:14.137 1345 1997 D WIFI : got request NetworkRequest [ TRACK_DEFAULT id=4822, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10249] ] with score 60 04-14 13:35:14.137 2149 2149 D ViewRootImpl[GoogleApiActivity]: surface should not be released 04-14 13:35:14.138 1501 1562 I Unity : SignInCallback success = NetworkError* 04-14 13:35:14.138 1501 1562 I Unity : #0 0xc5d42f6a (libunity.so) GetStacktrace(int) 0x25 04-14 13:35:14.138 1501 1562 I Unity : #1 0xc6785d9a (libunity.so) DebugStringToFile(DebugStringToFileData const&) 0x169 04-14 13:35:14.138 1501 1562 I Unity : #2 0xc6292e46 (libunity.so) DebugLogHandler::Internal_Log(LogType, LogOption, core::basic_string<char, core::StringStorageDefault >, Object ) 0x65
04-14 13:35:14.138 1501 1562 I Unity : #3 0xc6292d96 (libunity.so) DebugLogHandler_CUSTOM_Internal_Log(LogType, LogOption, ScriptingBackendNativeStringPtrOpaque, ScriptingBackendNativeObjectPtrOpaque) 0xb5
04-14 13:35:14.138 1501 1562 I Unity :
04-14 13:35:14.138 1501 1562 I Unity : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
04-14 13:35:14.138 1501 1562 I Unity :
...
04-14 13:35:32.596 1501 1562 I Unity : SignInCallback success = Canceled
04-14 13:35:32.596 1501 1562 I Unity : #0 0xc5d42f6a (libunity.so) GetStacktrace(int) 0x25
04-14 13:35:32.596 1501 1562 I Unity : #1 0xc6785d9a (libunity.so) DebugStringToFile(DebugStringToFileData const&) 0x169
04-14 13:35:32.596 1501 1562 I Unity : #2 0xc6292e46 (libunity.so) DebugLogHandler::Internal_Log(LogType, LogOption, core::basic_string<char, core::StringStorageDefault >, Object) 0x65
04-14 13:35:32.596 1501 1562 I Unity : #3 0xc6292d96 (libunity.so) DebugLogHandler_CUSTOM_Internal_Log(LogType, LogOption, ScriptingBackendNativeStringPtrOpaque, ScriptingBackendNativeObjectPtrOpaque*) 0xb5
04-14 13:35:32.596 1501 1562 I Unity :
04-14 13:35:32.596 1501 1562 I Unity : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
04-14 13:35:32.596 1501 1562 I Unity :
This problem appears on each version, including 0.10.08.