Skip to main content
Up and Coming
August 21, 2014

Cannot get content to Rift!

Hi,
I am able to play all the demos ok on my DK2 but I have just started to make my own Unity game, I added the OVRCameraController prefab, all looks good in the editor. I build and then try to play my game, but no matter what settings I try it only shows the game on my primary monitor, it never goes to my rift! How can I do this?

Any advise or pointers would be great :)
    This topic has been closed for replies.

    4 replies

    Participant
    August 21, 2014
    Build your project in Unity - don't click build and run (File->Build Settings then click Build)

    Rift Display Mode = Direct
    In your output directory you should see an executable for your Scene eg: Scene01.exe
    Next to it should be Scene01_DirectToRift.exe
    Run this - it should wake up the Rift and run your game.
    Note - There are problems running Direct to Rift with DX11 enabled in your Unity project.
    Make sure this is disabled first. Edit->Project Settings->Player Settings -> Other

    Rift Display Mode = Extended
    Your rift is now a secondary monitor
    Right click on desktop, select Screen resolution
    Set your rift to the primary display
    Drag windows explorer window into Rift
    Peek through rift to see Scene01.exe (helps to close one eye or alternate between eyes)
    Hold shift down and double click on exe
    ensure windowed is unchecked
    khos85Author
    Up and Coming
    August 21, 2014
    "dubh" wrote:
    Build your project in Unity - don't click build and run (File->Build Settings then click Build)

    Rift Display Mode = Direct
    In your output directory you should see an executable for your Scene eg: Scene01.exe
    Next to it should be Scene01_DirectToRift.exe
    Run this - it should wake up the Rift and run your game.
    Note - There are problems running Direct to Rift with DX11 enabled in your Unity project.
    Make sure this is disabled first. Edit->Project Settings->Player Settings -> Other

    Rift Display Mode = Extended
    Your rift is now a secondary monitor
    Right click on desktop, select Screen resolution
    Set your rift to the primary display
    Drag windows explorer window into Rift
    Peek through rift to see Scene01.exe (helps to close one eye or alternate between eyes)
    Hold shift down and double click on exe
    ensure windowed is unchecked


    Direct mode does not work...for most of my demos etc, I am using extended mode and this works for most demos I have tried but not so with my own Unity game! Even if I try your instructions it goes to the primary screen.. wtf :) oh wait I didn't try the "Hold shift down and double click on exe", what does that do?
    Participant
    August 21, 2014
    A lot of the demos don't work in direct mode for me too. This is just the way they were built I guess.

    The Unity demo's I've built don't work great in Direct mode at all. Screen judder etc.

    Holding shift down will display the resolution and quality options dialog prior to launch.
    You need to uncheck "windowed".
    Make sure the rift is set as your primary display - this should work.
    khos85Author
    Up and Coming
    August 21, 2014
    "Hold shift down and double click on exe" worked for me, in the options I can choose which screen to display on! COOL! neat trick.