Server travel timeout [Unreal Engine 5.0]

Hello, community, I am using Unreal Engine 5.0 and after creating the build of my game, I am not able to make a successful server journey from one map to another.

To be more specific, I’m trying to travel from my main menu map to a new session, which is my lobby.

At that point is where I am stuck in an infinite loading, that finally ends in a timeout.

I am not using seamless travel.

Here are a few logs that I think are useful:

[2022.12.07-22.55.27:933][105]LogViewport: Display: Viewport HideCursorDuringCapture Changed, False -> True
[2022.12.07-22.55.35:021][551]LogNet: Browse: steam.76561198291569465/Game/maps/littleCircus?game=/Game/Blueprints/LobbyGameMode.LobbyGameMode_C?Name=Player?listen
[2022.12.07-22.55.35:084][551]LogNet: World NetDriver shutdown SteamNetDriver_2147482387 [GameNetDriver]
[2022.12.07-22.55.35:084][551]LogNet: DestroyNamedNetDriver SteamNetDriver_2147482387 [GameNetDriver]
[2022.12.07-22.55.35:089][551]LogNet: UNetConnection::Close: [UNetConnection] RemoteAddr: 76561198291569465:7777, Name: SteamNetConnection_2147482386, Driver: GameNetDriver SteamNetDriver_2147482387, IsServer: NO, PC: LobbyPlayerController_C_2147482280, Owner: LobbyPlayerController_C_2147482280, UniqueId: Steam:DaViCyYo [0x1100001023140EF], Channels: 13, Time: 2022.12.07-22.55.35
[2022.12.07-22.55.35:097][551]LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 76561198291569465:7777, Name: SteamNetConnection_2147482386, Driver: GameNetDriver SteamNetDriver_2147482387, IsServer: NO, PC: LobbyPlayerController_C_2147482280, Owner: LobbyPlayerController_C_2147482280, UniqueId: Steam:DaViCyYo [0x1100001023140EF]
[2022.12.07-22.55.35:098][551]LogExit: GameNetDriver SteamNetDriver_2147482387 shut down
[2022.12.07-22.55.35:098][551]LogNet: Display: SteamNetDriver_2147432353 bound to port 7777

I actually tried to use seamless travel but I get an error, the “EXCEPTION_ACCESS_VIOLATION reading address” error that I tried to solve and I didn’t get any solution.

Going this way at least gives me a timeout error.

Any suggestions to solve this or thoughts are really appreciated.

Thanks in advance

1 Like

I see [Uchannel] ChIndex 0 after browsing your your lobby level and closing connection. If you’re running this on a packaged build, the map may not be included in maps to build when packaging…? Looks like it’s not identifying the map. Are you creating the session before opening the level?

P.s. I’m not sure but you may also have conflicting net drivers in your ini.

Hello, thank you for your quick response. The maps are included in the build as I can use the open maps to join them and play on them and also invite others to my game.

The map exists in the path provided, through the editor it’s in “Content/maps/littleCircus” I think that the build replaces this “Content” with “Game”.

Also, here are my netdrivers ini:

[/Script/Engine.GameEngine]
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")

Like you said, It may be possible a directory issue. I believe the engine likes to see the maps in a “Maps” folder directly in the content folder. If they are willy nilly in your content browser or somewhere else that may have something to do with it…

I write for my partner, the names of the records bear my name.

I have reviewed all the packages of the game and everything is packaged, in fact it is possible to join as follows:

Host user creates a session
Client user right-clicks on steam and show join to game
Host user writes in console: open map?listen
Client user joins the session from steam

Both users can play.

If once both players connected the host uses the servertravel command the client will give timeout, I have tried exactly the same process with the game in a previous version in Unreal Engine 4 and this error does not occur, it seems something exclusively from Unreal Engine 5, in our case Unreal Engine 5.0.3

We are using Advanced sessions, although I think it is not the problem here since the session is created well and players can be joined without problems, there is a problem when traveling between maps and I think it could have to do with OnlineSubSystem, I am not sure if perhaps the problem comes from OnlineSubsystemSteam but I do not think since you achieve, DLC’s etc I can access them without problem.

A possible solution that we have not been able to cover would be to update to Unreal Engine 5.1 however we get plenty of problems when performing this step since it constantly tells us to relaunch the build.

It seems that this could be a solution, move to 5.1, I will try and give feedback

EDIT:
Finally this problem has been fixed by updating the version to 5.1

1 Like