Forum Discussion

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

CreateSession hangs UE4.25.3

In UE4.25.3 running the create session node from the Oculus OSS hangs on the AddRequestDelegate:

OculusSubsystem.AddRequestDelegate(ovr_Matchmaking_CreateAndEnqueueRoom2(TCHAR_TO_ANSI(*Pool), MatchmakingOptions), FOculusMessageOnCompleteDelegate::CreateRaw(this, &FOnlineSessionOculus::OnCreateRoomComplete, Session.SessionName));

OnCreateRoomComplete is rarely triggered (1 out of 20 tries maybe?). The ovr call is received on the api end because it generates a CreateAndEnqueue2 with a room ID in it, and does successfully matchmaking enqueue on the matchmaking platform.

Anyone have any ideas? I've been struggling with getting a dedicated server setup for weeks now.

1 Reply

Replies have been turned off for this discussion
  • Wow, never fail to figure something out right after posting.

    Hey if you follow the instructions to listen for ovr_Messages on tick ("We recommend that you check the queue every frame for new messages and notifications"), be aware that catching these messages will interrupt the create session node. Good stuff.