Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
eXifreXi's avatar
eXifreXi
Explorer
8 years ago

[UE4.18.3] "JoinSession" node is not traveling to the Servers map

Hello everyone,

I'm currently setting up a test project to make sure everything related to hosting and joining a session is working.
I enabled full debugging on the Logs of UE4 as well as using the Tools you provide for listing active rooms.

The setup:

I'm using the Launcher Version of 4.18.3. The project was created with that version, so not updates happened.
I'm packaging the projected and using this version on both PCs.
Both PCs have Oculus Home running and a Rift connected.
The "MainMenu" map is called "TestMap", while the "GamePlayMap" is called "GamePlayMap".
Creating a session opens "GamePlayMap" as a ListenServer.

What does work:

Both Player's Entitlement check is successful.
PlayerA can "Create" a Session for a BROWSE POOL (CUSTOM_POOL).
PlayerA travels to the "GamePlayMap" as a ListenServer.
PlayerB can "Find" the Session via that BROWSE POOL (CUSTOM_POOL).
Calling "Join Session" on the Session result connects PlayerB to PlayerA.
Dumping the Session Information on PlayerA shows PlayerBs ID etc.
Your online tool shows both people in the same room.

What does not work:

PlayerB is not actively traveling to the correct map. The log files show that he's trying to travel to the "TestMap", while PlayerA is on the "GamePlayMap".

What did you try to resolve this:

  • I went ahead and made sure it's not caused by the GameMode class. That was GameModeBase and is now GameMode. No change though.
  • I tried calling "open ID.oculus", didn't work at all.
  • I tried hosting with PlayerB and let PlayerA join. Same result.
What is your desired endresult:

Once hosting and joining via the normal "Create", "Find" and "Join" Session nodes works, I would like to use the "FindSessionById" function to join a room directly.
For that I forced my way into your private headers to get access to the UniqueNetID of Oculus and retrieve the ovrID as a String for now.
That will then be send to GameSparks, which sends this ID to all Players (here PlayerB) so they can search the Session and join.

Now for this I would love the JoinSession function to work first though.

Any help would be appreciated.

Kind regards,
Cedric

15 Replies

Replies have been turned off for this discussion