Advanced session plugin, join session opens wrong map

Hello, I am trying to set up sessions for players to host and join. However I am having trouble with players joining a session. I have been following this tutorial: Using Epic Online Services with Unreal Engine Blueprints - YouTube

[BP_MenuGamemode] - Create UI


The ui looks like this…

[UI_TEST] - Login

[UI_TEST] - Host

[UI_TEST] - Join

I tested this in UE 5.1 with two users using different epic accounts in a standalone game with numbers of players = 2 and net mode = play as standalone.

First both users click the login button to login and it is successful for both.

When user1 clicks on the host button to host a session the session is created and started and user1 is moved to the level named “LVL_World” as expected.

When user2 clicks on the join button the “Join session success” message is printed. However, after waiting for some seconds User2 is moved to the menu level again but is now logged out.

I don’t understand what I am doing wrong so any help is appreciated and I am happy to supply more information if necessary. Thanks!

1 Like

I managed to fix the issue! The problem was in the DefaultEngine.ini file. I had to change the this line from:
[/Script/SocketSubsystemEOS.NetDriverEOS]
bIsUsingP2PSockets=true
To:
[/Script/SocketSubsystemEOS.NetDriverEOSBase]
bIsUsingP2PSockets=true

Hope this can help some other poor soul out there!

3 Likes