Well, I am creating an onlinesubsystem using Steam, everything workds, except that my Client doesn’t Travel to the right Map, it reaches the Last step, as I tested with Logs, but the ClientTravel doesn’t work.
IOnlineSubsystem* Subsystem = IOnlineSubsystem::Get();
if (Subsystem)
{
IOnlineSessionPtr SessionInterface = Subsystem->GetSessionInterface();
if (SessionInterface.IsValid())
{
FString Address;
SessionInterface->GetResolvedConnectString(NAME_GameSession, Address);
APlayerController* PlayerController = GetGameInstance()->GetFirstLocalPlayerController();
if (PlayerController)
{
if(GEngine)
{
GEngine->AddOnScreenDebugMessage(-1, 15.0f, FColor::Cyan, FString(TEXT("LAST STEP")));
}
PlayerController->ClientTravel(Address, ETravelType::TRAVEL_Absolute);
}
}
}
It prints on the screen “LAST STEP”, but it doesn’t really travel,
I added the maps on Project Preferences, I don’t know what it could be, I tested with Steam and NULL subsystem.