When doing this I get a crash in ServerTravel saying ‘Short package names are not supported’ any idea why it would be doing this up until this point everything from creating the session to joining seemed to run smoothly.
Am I not supposed to pass this string directly into server travel? When passed into GetResolvedConnectString it seems to return steam.SteamID.Port
What should I expect to happen when I call Client Travel?
The call doesn’t seem to fail as far I can tell and yet nothing happens to the state of the clients game should I not at least travel to the Hosts map?
So I’m guessing I’m not setting something up properly and the connection is timing out resulting in the travel failing any ideas as to what I’m doing wrong? It says I have no Player Controller or Owner either does it mean my current player controller or is it trying to receive the hosts controller?
The problem seemed to be that unless you start the game from command line with ?listen somewhere in the command the game is never a listen server and is therefore never listening for data packets sent from the client for now I am just going to have to start my game as a listen server but surely there is a better way to do this?
Yeah my issue seemed to be the host was never something known as a ‘Listen Server’ therefore it was never listening to Client connections. The Client as a result of this would then time out.
Try calling
GetWorld()->Listen(mapname);
With your current map name on the Server it seemed to solve the problem for me.
I am having this same issue but I am not connecting to a steam service but the null one.
By Listen(mapname) you meant it the GameMode::RestartGame function?
Weird thing is the map that presents the problem previously worked and suddenly it started crashing on the client, I just added the ?Listen option as you suggested and it works.
Do we have an official answer about this problem?
The host must be setup as a listen server for the clients to be able to connect to it properly. As you and Pots3 mentioned, using ?Listen in the command line will do this or you can setup network settings/controls to be a listen server when not starting a game rather than connecting to one.