Skip to main content
New Participant
March 2, 2021

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.

    This topic has been closed for replies.

    1 reply

    New Participant
    March 2, 2021

    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.