ServerTravel in Blueprint

Hi everybody,

I’d like to know where can i find the ServerTravel command in the blueprint, i tried to search for it but it seem like it doesn’t exist, is it avaible on blueprint or only used in code ?

Thanks

Hi Zakkar,

Currently ServerTravel isn’t exposed directly to blueprints, although we’d like to add it in a future version.

As a workaround, you can try using the “Execute Console Command” node, since ServerTravel is exposed as a console command. Note that there is a known issue with ServerTravel while using play-in-editor with a single process, so to test it, run your game instances standalone or uncheck “Use Single Process” in the editor play settings.

Thanks for your answer, i tried to use it like you told but my project crash at each time this is what i have done

Is there anything wrong with what i did ?
Thank you

The ServerTravel command takes the map name as a parameter, so try “ServerTravel Example_Map”. You don’t need to call OpenLevel also, as currently OpenLevel performs a ClientTravel internally.

You can also append options to the map name in the command, for example “ServerTravel Example_Map?listen”.

I’m not getting server travel to work. If you pass it just the map, it disconnects the clients (basically works as OpenLevel), and if you pass map?listen, it doesn’t do anything.

This behaviour is the same using the execute console command and using the console itself. Is this a bug in 4.7 release? I have tried with both use single process on and off, same behaviour. (In case it matters, using OS X)

I face the same issus here, serverTravel work no more, i think thats a 4.7 problem, hope theyll fix it soon

Hey Zakkar, I think I got a workaround. It seems that you need to uncheck Use Single Process and make the editor be the client (option called Editor Multiplayer Mode right under Use Single Process).

This works, but unfortunately at least on the Mac the performance is atrocious. Hopefully somebody notices this bug.

Also, keep in mind that it only works ServerTravel Map, if you pass ServerTravel Map?listen it won’t do anything.

Thanks it work without ?listen, but if i do “play as client” and i press create session button, the client crash automatically, i test it with 3 different project, i encountered the same problem. Then now i only work with as listen server

Same problem… with steamworks. Servertravel don’t work.

Were having the same issue with steam

Seems fixed in 4.9! https://github.com/EpicGames/UnrealEngine/commit/cea8412047c808867984ad1d769da02c9b857bbd

hey whats the command for an absolute level? e.g servertravel map?absolute

guys what is the final answer

should it be ServerTravel Example_Map?listen
or

ServerTravel Map, with unchecking single procces and make it run as client

or
ServerTravel doesnt work at all ???

where ??
the link isnt available