Download

OnlineSubsystem GooglePlay doesn't work

Hi,
unfortunately OnlineSubsystem GooglePlay doesn’t work in my game.

I’ve tried this code:


OnlineSub = IOnlineSubsystem::Get("GooglePlay");
check(OnlineSub);
IdentityInterface = OnlineSub->GetIdentityInterface();
check(IdentityInterface.IsValid());

const auto SessionInterface = OnlineSub->GetSessionInterface();
check(SessionInterface.IsValid());

IdentityInterface->AddOnLoginCompleteDelegate(0, FOnLoginCompleteDelegate::CreateUObject(this, &ATTOTMobileGameMode::HandleOnLoginComplete));
OnlineSub->AddOnConnectionStatusChangedDelegate(FOnConnectionStatusChangedDelegate::CreateUObject(this, &ATTOTMobileGameMode::HandleNetworkConnectionStatusChanged));

But when game is starting it crashed without any error… Because this is GooglePlay it can only be tested on Android device so I can’t check what’s going on in “Output Log”… On the other hand in “adb log” I can’t see any error…