# Server Travel doesn't Work when I packaged

**URL:** <https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE5-0, Multiplayer, Blueprint, question\
**Created:** [April 1, 2022, 9:27pm UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718 "2022-04-01T21:27:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Noise](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Noise](https://forums.unrealengine.com/u/Noise)\
**Post date:** [April 1, 2022, 9:27pm UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718/1 "2022-04-01T21:27:56Z")

</div>

Hi everyone,

i’m having trubles with the **servertravel** command.  
I am creating a multiplayer game and i still don’t know how to implement this command,  
I tried many ways, I tried that the host could launch the command and it didn’t work,  
I also implemented it in the game mode and it didn’t work either.

Things to consider:

- I activated the seamsless travel in the travel map and others game modes
- I tried to “for each” all the connected players and then run the function into the player controller
- Also I tried to run the servertravel into the gamemode
- i always packed the project in every attempt , the projects is made in EOS.

Does anyone know how to launch the command correctly or if there is something i am missing?

Thanks in advanced

---

<div class="post-metadata">

**Author:** ![Sebatnik](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebatnik/32/1084121_2.png) [@Sebatnik](https://forums.unrealengine.com/u/Sebatnik)\
**Post date:** [May 2, 2022, 8:25pm UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718/2 "2022-05-02T20:25:06Z")

</div>

Edit: Non-Seamless ServerTravel is what is currently broken in UE5. Seamless ServerTravel does seem to work, but it’s not compatible with our game specifically.

If you are UE5, the command “servertravel” seems to be 100% broken currently for packaged games, I can’t speak to anything with only the Editor.  
Our game is 4 years in development (Blueprints only); have never had an issue with servertravel.  
Now, in our packaged game, the command no longer lets clients re-connect. They permanently drop. This isn’t even using our game code, this is just simply typing in “ServerTravel MapName?listen”, have also just tried “ServerTravel MapName”. Server travels fine, but now as of UE5, clients will never reconnect.

---

<div class="post-metadata">

**Author:** ![Sebatnik](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebatnik/32/1084121_2.png) [@Sebatnik](https://forums.unrealengine.com/u/Sebatnik)\
**Post date:** [May 3, 2022, 6:21am UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718/3 "2022-05-03T06:21:22Z")

</div>

I highly recommend anyone using Blueprints to use the following method instead of ServerTravel as it will give you much more modular control:

1. When your Lobby is ready, send all the clients to a “transition” map by making each PlayerController call “Open Level”  
This map can hold anything you like for a loading screen, requires no replication, and should load instantly for clients. The most important part here is that you are sending the SessionID as a variable into the TransitionLevel to guarantee clients know where to go after hanging out in the TransitionLevel.  

2. When the “Send All Clients to Transition Map” is done, have the Server call “OpenLevel” of the actual map you want to go to. Or if you want, just have the Server also go to the TransitionMap but you’ll need to pass another variable reminding the GameInstance that that’s the server.

3. You can put some looping logic in the TransitionLevel’s blueprint to FindSession of the SessionID. Just keep searching reasonably if the SessionID you have saved exists. Then you can just JoinSession again, which is far more reliable than sort of Server Traveling or Seamless logic.

Benefits are you can have a nice loading screen, and you know that ever client is joining with a completely fresh PlayerController. Ideally ServerTravel would just work though.

---

<div class="post-metadata">

**Author:** ![Sebatnik](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebatnik/32/1084121_2.png) [@Sebatnik](https://forums.unrealengine.com/u/Sebatnik)\
**Post date:** [May 6, 2022, 5:00pm UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718/4 "2022-05-06T17:00:29Z")

</div>

Omg I knew it I’m not crazy!  
My first ever bug report was accepted for this issue!  
UE-151220

> **[The Unreal Engine Issues and Bug Tracker](https://issues.unrealengine.com/issue/UE-151220)**
>
> Welcome to the Unreal Engine Issue and Bug Tracker. You can check the status of an issue and search for existing bugs. See latest bug fixes too.

---

<div class="post-metadata">

**Author:** ![Linqen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/linqen/32/924597_2.png) [@Linqen](https://forums.unrealengine.com/u/Linqen)\
**Post date:** [June 26, 2022, 2:10am UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718/5 "2022-06-26T02:10:52Z")

</div>

You are actually not crazy, I’m also having this issue, thank you very much for reporting it!!

---

<div class="post-metadata">

**Author:** ![Fuchsnerichen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fuchsnerichen/32/486904_2.png) [@Fuchsnerichen](https://forums.unrealengine.com/u/Fuchsnerichen)\
**Post date:** [June 26, 2022, 6:37am UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718/6 "2022-06-26T06:37:35Z")

</div>

I’m using UE5, Steam Subsystem and servertravel. Everything is working fine.

But let’s try to solve the problem:

1. It is crucial how you catch your clients

- In my case, they are all in an lobby. So in the game mode I use “HandleStartingNewPlayer” and not “OnPostLogin”

1. The server travel command I use: servertravel/Game/Maps/Level01  
(the first 2 will be the same. The rest depends on your folder structure and the last one is the level itself)

2. Make sure you added all needed Levels at the packaging options (advanced - Maps)

---

<div class="post-metadata">

**Author:** ![Linqen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/linqen/32/924597_2.png) [@Linqen](https://forums.unrealengine.com/u/Linqen)\
**Post date:** [July 5, 2022, 12:51pm UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718/8 "2022-07-05T12:51:00Z")

</div>

Are you sure you have Seamless travel disabled? Because this is only when doing non-seamless travels.

The way clients are being catch in my case it’s the default way unreal manages them, so I shouldn’t need to change it in order to make it work.

---

<div class="post-metadata">

**Author:** ![Fuchsnerichen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fuchsnerichen/32/486904_2.png) [@Fuchsnerichen](https://forums.unrealengine.com/u/Fuchsnerichen)\
**Post date:** [July 5, 2022, 3:22pm UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718/9 "2022-07-05T15:22:34Z")

</div>

Im sure that it is activated. (The main difference, is that seamless travel is a non-blocking operation, while non-seamless will be a blocking call.)

If the host presses start within my lobby the game will start, so the Game Mode and Player Controller change. The process would be:

1. All Player get collected within the lobby (Lobby Game Mode) - Event Handle Starting New Player

2. As soon as the game starts, the game mode changes to Gameplay Game Mode - Event On Swap Player Controllers

It should not matter if you use a specific lobby map or not

---

<div class="post-metadata">

**Author:** ![Linqen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/linqen/32/924597_2.png) [@Linqen](https://forums.unrealengine.com/u/Linqen)\
**Post date:** [July 5, 2022, 3:26pm UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718/10 "2022-07-05T15:26:01Z")

</div>

This error is only present if you do non-seamless travel, as described in the bug report

---

<div class="post-metadata">

**Author:** ![Fuchsnerichen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fuchsnerichen/32/486904_2.png) [@Fuchsnerichen](https://forums.unrealengine.com/u/Fuchsnerichen)\
**Post date:** [July 5, 2022, 3:35pm UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718/11 "2022-07-05T15:35:44Z")

</div>

Within the question:

> - I activated the seamsless travel in the travel map and others game modes

and they are useing a transition map. so they are using seamless travel.

Im not refering to the bug report

---

<div class="post-metadata">

**Author:** ![Cnrveysel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cnrveysel](https://forums.unrealengine.com/u/Cnrveysel)\
**Post date:** [July 13, 2022, 9:19pm UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718/12 "2022-07-13T21:19:55Z")

</div>

Hi man i am struggling with the same problem i have a question. it is working in editor ? mine works in editor but not in package

---

<div class="post-metadata">

**Author:** ![MDeS\_SpeX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MDeS\_SpeX](https://forums.unrealengine.com/u/MDeS_SpeX)\
**Post date:** [July 26, 2022, 5:44pm UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718/13 "2022-07-26T17:44:35Z")

</div>

Yea, same Problem here. It works in the Editor but not in the final build.

---

<div class="post-metadata">

**Author:** ![criti6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@criti6](https://forums.unrealengine.com/u/criti6)\
**Post date:** [September 7, 2022, 9:10pm UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718/14 "2022-09-07T21:10:35Z")

</div>

Hello, I also had the same problem when cooking the project in ue5.  
In my case the problem was having the maps added in the project configuration.  
As in ue5 the map selector of the project configuration does not work well, I have activated the option “Cook everything in the project content directory (ignore list of maps below)” and this has solved the problem of travel

---

<div class="post-metadata">

**Author:** ![MayhemMirror](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mayhemmirror/32/590509_2.png) [@MayhemMirror](https://forums.unrealengine.com/u/MayhemMirror)\
**Post date:** [October 1, 2022, 12:04am UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718/15 "2022-10-01T00:04:40Z")

</div>

Any updates on this? Still struggling to servertravel the clients when using non-seamless option (which we need for our design).  
Clients just get disconnected in packaged game.

---

<div class="post-metadata">

**Author:** ![Linqen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/linqen/32/924597_2.png) [@Linqen](https://forums.unrealengine.com/u/Linqen)\
**Post date:** [October 9, 2022, 12:41pm UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718/16 "2022-10-09T12:41:54Z")

</div>

Looks like it’s fixed on 5.1.

The Bug Tracker shared by @Sebatnik gives info about the commit and target version.

---

<div class="post-metadata">

**Author:** ![jsfilmz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jsfilmz/32/1022034_2.png) [@jsfilmz](https://forums.unrealengine.com/u/jsfilmz)\
**Post date:** [October 12, 2022, 1:19am UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718/17 "2022-10-12T01:19:26Z")

</div>

can anyone else try to see if it works before i migrate to 5.1

---

<div class="post-metadata">

**Author:** ![TelesphorosGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/telesphorosgames/32/924355_2.png) [@TelesphorosGames](https://forums.unrealengine.com/u/TelesphorosGames)\
**Post date:** [October 14, 2022, 11:32pm UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718/18 "2022-10-14T23:32:54Z")

</div>

Confirmed that the client will travel in 5.1

Cheers all,  
Tele

P.S. the bugs I had posted about turned out to just be migration issues that were solvable

---

<div class="post-metadata">

**Author:** ![Linqen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/linqen/32/924597_2.png) [@Linqen](https://forums.unrealengine.com/u/Linqen)\
**Post date:** [October 17, 2022, 9:17pm UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718/19 "2022-10-17T21:17:59Z")

</div>

Thanks for the confirmation, I’m happy that my game will work again as intended 🙂

---

<div class="post-metadata">

**Author:** ![Tiogar60](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tiogar60](https://forums.unrealengine.com/u/Tiogar60)\
**Post date:** [December 13, 2022, 9:21pm UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718/20 "2022-12-13T21:21:31Z")

</div>

I’m having problems with this again! Servertravel is not working on 5.1 in packaged build. I migrated a project from 5.0, could be a problem?

---

<div class="post-metadata">

**Author:** ![Hooooooowler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hooooooowler](https://forums.unrealengine.com/u/Hooooooowler)\
**Post date:** [December 28, 2022, 6:01pm UTC](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718/21 "2022-12-28T18:01:45Z")

</div>

Using version 5.1 here, for me, seamless travel :

- does nothing in editor

- works properly if you test from editor using the “standalone game” option

- does nothing in packaged game D:

Note that I toggled “use seamless travel” in my gamemodes and that I am using a transition map.  
I am also calling servertravel from “execute console command” in blueprints

[Next page](https://forums.unrealengine.com/t/server-travel-doesnt-work-when-i-packaged/511718.md?page=2)
