Forum Discussion
akusan
11 years agoHonored Guest
Unity 4.6 not displaying on Oculus Rift
May I know the best and easiest way to have Unity 4.6 running on game mode display on Oculus Rift?
I have installed all the required downloads from https://developer.oculus.com/?action=dl&p=sdk&v=21
From the integration guide, it makes it sound like all I have to do is import OculusUnityIntegration.unitypackage and the OculusUnityIntegrationTuscanyDemo.unitypackage. So when I "Press the Play button at the top of the editor. The scene will start with the Rift device controlling the camera's view." But doing so will only show the game where the output does not go to the Oculus Rift, and I can't even control the game view with mouse and keyboard.
I tried changing Oculus display mode but Unity still does not output to the Oculus Rift. I know my Oculus Rift works because executable file demos I have downloaded elsewhere works fine.
I read that you can change output display mode in Unity but I don't see where that option is and my Unity version is up to date. Is there some switch I am missing or script I should add? Please advice
I have installed all the required downloads from https://developer.oculus.com/?action=dl&p=sdk&v=21
From the integration guide, it makes it sound like all I have to do is import OculusUnityIntegration.unitypackage and the OculusUnityIntegrationTuscanyDemo.unitypackage. So when I "Press the Play button at the top of the editor. The scene will start with the Rift device controlling the camera's view." But doing so will only show the game where the output does not go to the Oculus Rift, and I can't even control the game view with mouse and keyboard.
I tried changing Oculus display mode but Unity still does not output to the Oculus Rift. I know my Oculus Rift works because executable file demos I have downloaded elsewhere works fine.
I read that you can change output display mode in Unity but I don't see where that option is and my Unity version is up to date. Is there some switch I am missing or script I should add? Please advice
4 Replies
Replies have been turned off for this discussion
- coindropHonored GuestI have the same problem I think, but I am using Unity version 4.5.5
1) I made a clean install of Unity 4.5.5
2) installed Oculus runtime 4.3
3) Made a clean Unity project and imported the Tuscany demo (v4.3).
4. Made a stand alone build with no settings changed.
When I run the direct2rift it displayes on my main monitor but nothing shows on the rift, just black. The head tracking works however -I can see the camera rotation on the main monitor. I can also control the game using mouse and keyboard.
I have tried using -force-d3d11 but with the same result.
Specs: Windows 7 (tried Aero on and off) gtx780ti - vrdavebOculus Staff
"akusan" wrote:
The scene will start with the Rift device controlling the camera's view." But doing so will only show the game where the output does not go to the Oculus Rift, and I can't even control the game view with mouse and keyboard.
The editor does not support direct mode yet. If you want the Game view to appear on the rift, you have to switch to extended mode in the oculus configration utility, drag the Game tab over to the Rift, and maximize it before hitting play. Sorry, we are working on making this better."coindrop" wrote:
When I run the direct2rift it displayes on my main monitor but nothing shows on the rift, just black.
Are you able to run other apps on the Rift? It sounds like Windows isn't recongizing it as a monitor. Try switching to extended mode in the confg util and reconnecting the Rift. Does the demo scene work after that? - akusanHonored Guest
Are you able to run other apps on the Rift? It sounds like Windows isn't recongizing it as a monitor. Try switching to extended mode in the confg util and reconnecting the Rift. Does the demo scene work after that?
I am able to run other apps on the Rift. Windows is also recognizing it as a monitor (via Extended mode). I also moved the game view window on the Extended mode using Rift as a display. The demo scene on Unity still does not work. I checked the Console and found the following error:
I did a search on my directories and I did find the OculusPlugin.dll saved at E:\...\Assets\Plugins\x86_64
I heard that Oculus Rift support should be available on the free version. Is there a special download to make that happen? Is there an update I have missed? About Unity says Unity Editor is up to date with 4.6.0b1 - akusanHonored GuestI found my answer here:
https://developer.oculusvr.com/forums/viewtopic.php?f=34&t=16295Unity free support should only work with Unity 4.5.5.
So I uninstalled Unity 4.6 and installed Unity 4.5.5 and now Oculus Rift works
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device