Skip to main content
October 30, 2018

How to setup Multiplayer with Oculus Subsystem?

  • October 30, 2018
  • 14 replies
  • 8556 views
Hey,

I'm looking for any guides on building a networked VR game using the oculus subsystem via blueprints in Unreal.
I don't seem to see anything online.

I've found this: https://forums.unrealengine.com/development-discussion/vr-ar-development/106631-single-multiplayer-touch-vive-proteus-blueprint-only-template

But it's overloaded, and buggy.
I've managed to get networking working with steam subsystem. But I'd like to use the oculus subsystem.
    This topic has been closed for replies.

    14 replies

    October 30, 2018
    I noticed after enabling OSS I received the following BP Nodes: Where is there documentation on how to properly use these to create a networked game? 

    Inspiring
    October 31, 2018
    Hi @JohnSahhar you have one template for unreal inside the platform SDK.
    You will have access to many function s inside widgets.
    I think that you have those template in sdk 1.24 and also 1.28.
    Just download and unzip to see for the examples. 

    November 2, 2018

    Neontop said:

    Hi @JohnSahhar you have one template for unreal inside the platform SDK.
    You will have access to many function s inside widgets.
    I think that you have those template in sdk 1.24 and also 1.28.
    Just download and unzip to see for the examples. 




    thanks for that. The link for those looking:


    then in the folder: \Samples\UnrealSample

    has what it looks like we're after :) Strange it's not included in the unreal samples folder in the actual unreal git repository though would make it easier to find and more consistant keeping it with the other unreal samples


    Up and Coming
    November 15, 2018

    @@aussieburgerVR
    aussieburgerVR said:


    Neontop said:

    Hi @JohnSahhar you have one template for unreal inside the platform SDK.
    You will have access to many function s inside widgets.
    I think that you have those template in sdk 1.24 and also 1.28.
    Just download and unzip to see for the examples. 




    thanks for that. The link for those looking:


    then in the folder: \Samples\UnrealSample

    has what it looks like we're after :) Strange it's not included in the unreal samples folder in the actual unreal git repository though would make it easier to find and more consistant keeping it with the other unreal samples




    Did you able to make the session work? its been a week and i'm trying to make it work but no success till now.

    Inspiring
    November 15, 2018
    Hi @Mohammed_hashim the MP session is working with the UnrealSample inside the SDK.
    I think that it is better to use the example corresponding to the Unreal distribution of Oculus git.
    I'm working on the Oculus Avatar MP but still have problems as I'm not a pro in c++ and also with replication.
    Do you have 2 Rifts to test MP ?
    Here is the spec for UE4 4.21

    The 4.21 branch of our GitHub contains oculus-4.21.0-preview-3-1.30.0.

     It is based off Partner-Oculus-4.21 @4514247, and contains OVRPlugin 1.30.0, Platform SDK 1.24.0, Audio SDK 1.18.0, and Avatar SDK 1.12.0.
    Up and Coming
    November 15, 2018

    Neontop said:

    Hi @Mohammed_hashim the MP session is working with the UnrealSample inside the SDK.
    I think that it is better to use the example corresponding to the Unreal distribution of Oculus git.
    I'm working on the Oculus Avatar MP but still have problems as I'm not a pro in c++ and also with replication.
    Do you have 2 Rifts to test MP ?
    Here is the spec for UE4 4.21

    The 4.21 branch of our GitHub contains oculus-4.21.0-preview-3-1.30.0.

     It is based off Partner-Oculus-4.21 @4514247, and contains OVRPlugin 1.30.0, Platform SDK 1.24.0, Audio SDK 1.18.0, and Avatar SDK 1.12.0.


    Hi Neontop
    I tried the sample but i didn't even understand how to use it to let stranger player join, i mean the first instance create the session but how can i join that session from 2nd instance of the sample project ? there are no join/find session button in the UI. 
    I want to make a simple browse session and i'm failing. usual 1st player create session then the 2nd player find it and join. no idea whats going on here and how to set it up .
    BTW I don't own 2 Rift i'm using one PC to run both instance on 2d screen and based on the document and the readme file with the SDK it says its possible.

    If you know how to use the sample to let the 2nd player find the session pls let me know.
    Inspiring
    November 15, 2018
    Hi @Mohammed_hashim.
    MP session in UE4 with Oculus subsystem  only works on packaged project.
    To test the MP with UE4 I was using the plugin of mordental Vr Expansion as you can use 1 HMD on one PC and one FPS on second PC.
    The session is handled on the widget OSSSession which take care of Creating sessions..and also different type of network connections.
    I using mainly 3 widgets: the main menu, the session widget and the friendliest widget.
    And I can confirm that it is working.
    ?
    Now as a Start Member I received also a Rift/Touch so I was able to test the platform SDK with the 2 HMD with success. 

    Up and Coming
    November 15, 2018

    Neontop said:

    Hi @Mohammed_hashim.
    MP session in UE4 with Oculus subsystem  only works on packaged project.
    To test the MP with UE4 I was using the plugin of mordental Vr Expansion as you can use 1 HMD on one PC and one FPS on second PC.
    The session is handled on the widget OSSSession which take care of Creating sessions..and also different type of network connections.
    I using mainly 3 widgets: the main menu, the session widget and the friendliest widget.
    And I can confirm that it is working.
    ?
    Now as a Start Member I received also a Rift/Touch so I was able to test the platform SDK with the 2 HMD with success. 



    So you haven't tried it on the same PC? since sample project doesn't need HMD and That's what i'm trying to find out right now :)  
    And congratulation on your 2nd HMD i still haven't got mine and it might take a while.
    November 24, 2019
    Hi Neontop, according to you, there's a way to connect in multiplayer two Oculus Quest in Unreal Engine? Thank's in advance!
    Up and Coming
    January 27, 2020
    How do you test the Unreal Sample?  There seems to be no instructions or documentation.  Do you need two different Rift accounts?  I have two computers with Rifts but not two accounts...