Hello. I was wondering about LoingBP, and LogoutBP
This is my Blueprint Node.
This is my process.
-
Login (OnClicked(Butteon_173))
-
I confirmed login success.
-
and I reclicked Login (OnClicked(Butteon_173)) → no print Login Success and Login Fail
-
Login (OnClicked(Butteon_173)) → print Login Fail
-
Login (OnClicked(Butteon_173))-> print Login Fail
-
Logout (OnClicked(Button_382)) → print cannot map local player to unique net ID…
So I can’t logout googleplay.
- Is logged in? → print already logged in.
So I used “Is logged inBP” before connect “LoginBP” and “LogoutBP”.
I don’t know it is bug…
I attached log file.
D/UE4 ( 4172): [2016.11.26-07.17.38:229][ 0]LogAndroidEvents:Display: DequeueAppEvent : 11, 0
D/UE4 ( 4172): Google Client Connect using email xxxxxxxxx@gmail.com@gmail.com
D/UE4 ( 4172): Google Client Connect using Access Token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
D/UE4 ( 4172): Google Client connected successfully, Access Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
D/UE4 ( 4172): LogOnline:Display: FOnlineAsyncTaskGooglePlayShowLoginUI::ProcessGoogleClientConnectResult
D/UE4 ( 4172): [2016.11.26-07.17.38:667][ 0]LogOnline:Display: FOnlineAsyncTaskGooglePlayShowLoginUI::ProcessGoogleClientConnectResult
D/UE4 ( 4172): LogTemp:Warning: WG_Test_C_1 : Login Success
D/UE4 ( 4172): [2016.11.26-07.17.38:685][ 0]LogTemp:Warning: WG_Test_C_1 : Login Success
D/UE4 ( 4172): Battery: status = 3, rawlevel = 81, scale = 100
D/UE4 ( 4172): [2016.11.26-07.17.42:986][ 0]LogAndroid: Mobile HDR: YES
D/UE4 ( 4172): [2016.11.26-07.17.42:986][ 0]LogAndroid: Requires 32BPP Encoding: no
D/UE4 ( 4172): [2016.11.26-07.17.42:986][ 0]LogAndroid: Requires Mosaic: no
D/UE4 ( 4172): [2016.11.26-07.17.42:987][ 0]LogAndroid: Setting Width=1022 and Height=639 (requested scale = 0.888880)
D/UE4 ( 4172): LogTemp:Warning: WG_Test_C_1 : Login Fail
D/UE4 ( 4172): [2016.11.26-07.17.45:730][ 0]LogTemp:Warning: WG_Test_C_1 : Login Fail
D/UE4 ( 4172): LogTemp:Warning: WG_Test_C_1 : Login Fail
D/UE4 ( 4172): [2016.11.26-07.17.46:166][ 0]LogTemp:Warning: WG_Test_C_1 : Login Fail
D/UE4 ( 4172): LogTemp:Warning: WG_Test_C_1 : Login Fail
D/UE4 ( 4172): [2016.11.26-07.17.46:385][ 0]LogTemp:Warning: WG_Test_C_1 : Login Fail
D/UE4 ( 4172): LogTemp:Warning: WG_Test_C_1 : Login Fail
D/UE4 ( 4172): [2016.11.26-07.17.46:568][ 0]LogTemp:Warning: WG_Test_C_1 : Login Fail
D/UE4 ( 4172): LogTemp:Warning: WG_Test_C_1 : Login Fail
D/UE4 ( 4172): [2016.11.26-07.17.46:739][ 0]LogTemp:Warning: WG_Test_C_1 : Login Fail
D/UE4 ( 4172): LogTemp:Warning: WG_Test_C_1 : Login Fail
D/UE4 ( 4172): [2016.11.26-07.17.46:927][ 0]LogTemp:Warning: WG_Test_C_1 : Login Fail
D/UE4 ( 4172): LogTemp:Warning: WG_Test_C_1 : Login Fail
D/UE4 ( 4172): [2016.11.26-07.17.47:095][ 0]LogTemp:Warning: WG_Test_C_1 : Login Fail
D/UE4 ( 4172): LogTemp:Warning: WG_Test_C_1 : Login Fail
D/UE4 ( 4172): [2016.11.26-07.17.47:309][ 0]LogTemp:Warning: WG_Test_C_1 : Login Fail
D/UE4 ( 4172): Battery: status = 3, rawlevel = 81, scale = 100
D/UE4 ( 4172): nativeBatteryEvent(stat = 3, lvl = 81, t = 36.50)
D/UE4 ( 4172): LogScriptCore:Warning: Script Msg: Logout - Cannot map local player to unique net ID
D/UE4 ( 4172): [2016.11.26-07.17.55:717][ 0]LogScriptCore:Warning: Script Msg: Logout - Cannot map local player to unique net ID
D/UE4 ( 4172): LogScriptCore:Warning: Script Msg: Logout - Cannot map local player to unique net ID
D/UE4 ( 4172): [2016.11.26-07.17.57:578][ 0]LogScriptCore:Warning: Script Msg: Logout - Cannot map local player to unique net ID
D/UE4 ( 4172): LogScriptCore:Warning: Script Msg: Logout - Cannot map local player to unique net ID
D/UE4 ( 4172): [2016.11.26-07.17.57:579][ 0]LogScriptCore:Warning: Script Msg: Logout - Cannot map local player to unique net ID
D/UE4 ( 4172): LogTemp:Warning: WG_Test_C_1 : Logout Fail
D/UE4 ( 4172): [2016.11.26-07.17.57:580][ 0]LogTemp:Warning: WG_Test_C_1 : Logout Fail
D/UE4 ( 4172): LogScriptCore:Warning: Script Msg: Logout - Cannot map local player to unique net ID
D/UE4 ( 4172): [2016.11.26-07.17.57:581][ 0]LogScriptCore:Warning: Script Msg: Logout - Cannot map local player to unique net ID
D/UE4 ( 4172): LogTemp:Warning: WG_Test_C_1 : Logout Fail
D/UE4 ( 4172): [2016.11.26-07.17.57:581][ 0]LogTemp:Warning: WG_Test_C_1 : Logout Fail
D/UE4 ( 4172): LogScriptCore:Warning: Script Msg: Logout - Cannot map local player to unique net ID
D/UE4 ( 4172): [2016.11.26-07.17.57:937][ 0]LogScriptCore:Warning: Script Msg: Logout - Cannot map local player to unique net ID
D/UE4 ( 4172): LogScriptCore:Warning: Script Msg: Logout - Cannot map local player to unique net ID
D/UE4 ( 4172): [2016.11.26-07.17.57:937][ 0]LogScriptCore:Warning: Script Msg: Logout - Cannot map local player to unique net ID
D/UE4 ( 4172): LogTemp:Warning: WG_Test_C_1 : Logout Fail
D/UE4 ( 4172): [2016.11.26-07.17.57:938][ 0]LogTemp:Warning: WG_Test_C_1 : Logout Fail
D/UE4 ( 4172): LogScriptCore:Warning: Script Msg: Logout - Cannot map local player to unique net ID
D/UE4 ( 4172): [2016.11.26-07.17.57:939][ 0]LogScriptCore:Warning: Script Msg: Logout - Cannot map local player to unique net ID
D/UE4 ( 4172): LogTemp:Warning: WG_Test_C_1 : Logout Fail
D/UE4 ( 4172): [2016.11.26-07.17.57:939][ 0]LogTemp:Warning: WG_Test_C_1 : Logout Fail
D/UE4 ( 4172): LogScriptCore:Warning: Script Msg: Logout - Cannot map local player to unique net ID
D/UE4 ( 4172): [2016.11.26-07.17.57:940][ 0]LogScriptCore:Warning: Script Msg: Logout - Cannot map local player to unique net ID
D/UE4 ( 4172): LogTemp:Warning: WG_Test_C_1 : Logout Fail
D/UE4 ( 4172): [2016.11.26-07.17.57:940][ 0]LogTemp:Warning: WG_Test_C_1 : Logout Fail
D/UE4 ( 4172): Battery: status = 3, rawlevel = 81, scale = 100
D/UE4 ( 4172): Battery: status = 3, rawlevel = 81, scale = 100
D/UE4 ( 4172): Battery: status = 3, rawlevel = 81, scale = 100
D/UE4 ( 4172): nativeBatteryEvent(stat = 3, lvl = 81, t = 36.60)
D/UE4 ( 4172): LogTemp:Warning: WG_Test_C_1 : already logged in
D/UE4 ( 4172): [2016.11.26-07.18.23:378][ 0]LogTemp:Warning: WG_Test_C_1 : already logged in
and second.
I used player GooglePlay uniqueid
this is my code.
FString AAKAccountManager::GetPlatformUniqueID()
{
if (PlayerControllerInst != nullptr)
{
if (PlayerControllerInst->PlayerState != nullptr)
{
if (PlayerControllerInst->PlayerState->UniqueId.IsValid())
{
return PlayerControllerInst->PlayerState->UniqueId.ToString();
}
}
}
return FString();
}
FString AAKAccountManager::GetPlatformUniqueIDByInterface()
{
if (IOnlineSubsystem* OnlineSubsystem = IOnlineSubsystem::Get(OnlineSubsystemName))
{
IOnlineIdentityPtr Identity = OnlineSubsystem->GetIdentityInterface();
if (Identity.IsValid())
{
if (Identity->GetUniquePlayerId(0).IsValid())
{
return Identity->GetUniquePlayerId(0)->ToString();
}
}
}
return FString();
}
OnlineSubsystemName = “GooglePlay”
-
Login GooglePlay (OnCliecked(Button_173))
-
Call GetPlatformUniqueID()
-
Call GetPlatformUniqueIDByInterface()
-
Logout
-
Call GetPlatformUniqueID()
-
Call GetPlatformUniqueIDByInterface()
I can confirm UniqueId on Googleplay, but after logout, I can still see UniqueId.
and I can also confirm authtoken using interface.
I don’t know It is bug.
I think that informations should be deleted…
Thank you for reading.