Steam Travel URL using default map instead of MapName in session settings
NOTE: Much of the details have been updated (see comments). It appears that the map name should be received during the initial messages from the Host as it challenges the client. For some reason, none of this takes place as the host never sends a response to the initial connection request from the client.
I've recently been tweaking our game code to network over Steam.
I'm able to successfully create and host a session on Machine A (with Steam Account A) but when I go to connect from Machine B(with Steam Account B), my TravelURL ends up using the projects default game map. An example of the browse log print:
Obviously I don't want to be using the main menu in this client travel URL, I want to be travelling to the map that the host is hosting and currently in. I'm not sure exactly where the problem is occuring. When I look through engine code, it would appear that the FURL constructor does a protocol check and then sets the FURL map member variable to the projects default map. Is this where the problem is occurring, if so why?
On the client, when I step through the code, I can see the session settings correctly, and see that the map name is correctly set to the target map on the Host Machine. I've been debugging this all morning and cannot understand why the client is travelling to the wrong location.
So after all of that, it turns out that despite our clients all using non-seamless/absolute travel to go to the host, the host themselves was not using non-seamless travel.
Once MrMightyErik commented above, it got me thinking (and then realising) that the host wasn't using non-seamless but that the console command would have triggered a non-seamless travel to the restart/re-host.
Quick tip for anyone else who ends up here: Make sure your host is initialising their session and host game using non-seamless travel. Once into your multiplayer game mode, they should then be able to use seamless travel to continue the game loop (end match > new match etc).
answered Oct 11 '18 at 02:07 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here