The default map workaround is specifically for dedicated servers. I guess your problem is somewhere else. Double and triple check your online subsystem ini settings to use the new SteamSockets.
Posting here one possible solution. It seems that the host fails to open a listen server automatically in 5.6+ by simply adding a ?listen into the ServerTravel function. I managed to fix this by manually listening for connections after OnCreateSessionComplete is called before calling ServerTravel()
UWorld* World = GetWorld();
if (World && World->GetNetMode() == NM_Standalone)
{
FURL ListenURL;
ListenURL.Port = 7777;
FString Error;
if (!World->Listen(ListenURL))
{
UE_LOG(LogTemp, Error, TEXT("Failed to start listen server: %s"), *Error);
return;
}
UE_LOG(LogTemp, Log, TEXT("Listen server started successfully on port %d"), ListenURL.Port);
}`
This fixed the issue for me. Everyone might not have the same issue though.
2 Likes
In 5.7 the same problem, your solution solve it