Skip to main content
New Participant
May 22, 2021
Solved

Failure to connect using Oculus online subsystem

  • May 22, 2021
  • 4 replies
  • 6405 views

Using the oculus online subsystem I have not been able to join another users session (matchmaking or room). I've integrated the Unreal OVR SDK sample, added my oculus app ID, changed the matchmaking key to my own which is user and system created, and am running two separate packaged instanced on separate machines that are using separate internet connections so that unreal doesn't revert to it's own subsystem that I've seen can happen automatically over LAN. I can search for sessions correctly and see what oculus user is hosting but always fail to join.

 

I've included my log files that show a connection being attempted but I can't figure out the exact issue that's stopping a connection from being accepted. The pertinent line seems to be:

 

[2021.05.22-00.56.06:086][226]LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 4097954510325963.oculus, Name: OculusNetConnection_2147482471, Driver: PendingNetDriver OculusNetDriver_2147482472, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID

 

Also after I call the 'join session' node in BP I get a successful response but in the log I get

 

[2021.05.22-00.56.02:491][903]LogOnline: Warning: OSS: The World Does Not Exist.

 

I am including the network map in the list of maps to include in a packaged build.

 

This is how I'm calling the create session/ join session:

 

Here is a link the same question on Unreal answers where I've uploaded the full log file of the client trying to connect (couldn't see how to upload it here)

https://answers.unrealengine.com/questions/1031252/failure-to-connect-to-oculus-subsystem-session.html#comment-1031252-form 

 

Thank you for any help, I've been working on this for 3 days *crying emoji*

 

This topic has been closed for replies.
Best answer by Neontop

I have that problem in 4.24 and 4.25...with my rift s and successfully applied this solution. 

But again did you tried the ue4 template which is coming with the platform SDK?

Here another link:

https://answers.unrealengine.com/questions/948543/oculus-matchmaking-session-join-fail.html

4 replies

Inspiring
May 24, 2021

Hello, did  you try to build the example for unreal engine which is part of the platform SDK?

If the example is working it means that you made a mistake on your template. 

Here is the problem and a solution but you have to rebuild the oculus distribution. 

https://forums.oculusvr.com/t5/Oculus-Quest-Development/Unreal-Multiplayer-issue-Joining-Session/td-p/792768

NotTheDevAuthor
New Participant
May 24, 2021

NeontopI have seen this bug report but it affects the quest platform and I'm doing the test on rifts.

NeontopAnswer
Inspiring
May 24, 2021

I have that problem in 4.24 and 4.25...with my rift s and successfully applied this solution. 

But again did you tried the ue4 template which is coming with the platform SDK?

Here another link:

https://answers.unrealengine.com/questions/948543/oculus-matchmaking-session-join-fail.html

NotTheDevAuthor
New Participant
May 25, 2021

Neontopwow that really was it, don't I feel foolish. The only reason I didn't try that was because it specifically said it didn't affect rift on PC and only affected 2 quests. Plus I had to build from source. Thanks a lot for the help.