Forum Discussion
khos85
12 years agoExplorer
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 :)
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 :)
4 Replies
Replies have been turned off for this discussion
- DubhHonored GuestBuild 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 - khos85Explorer
"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? - DubhHonored GuestA 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. - khos85Explorer"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.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device