Forum Discussion
Budlog
10 years agoHonored Guest
Unity 5.1.2 with Oculus DK1
pls how to set oculus DK1 and unity 5.1.2 to work together ? I tried many tutorial but i have only black screen on DK1 when i am in unity editor. Head tracking work great. In oculus Config. Utility i set up Direct acess and extended desctop with ovulus as secondary screen in windows Monitor seup.
Question 2: it is posible in unity 5.1.2 to switch betwen VR mode and no VR mode (in player settings) via Script ?
Thansk a lot :)
Question 2: it is posible in unity 5.1.2 to switch betwen VR mode and no VR mode (in player settings) via Script ?
Thansk a lot :)
6 Replies
Replies have been turned off for this discussion
- cyberealityGrand ChampionI was told DK1 was still supported, but you're not the first one to report issues.
Can you provide they log files? viewtopic.php?f=34&t=23521
With Unity 5, you can toggle VR mode using VRSettings:VRSettings.enabled = !VRSettings.enabled;
Although it may not completely toggle everything. It's best to just assume the state is static after the app starts. - BudlogHonored GuestThanks. My oculus DK1 is now working on unity 5.1.2, Utility is set up to Extend desctop to HMD and with oculus as secondary screen in windows Monitor setup. In Unity, i hed to allow stereoscoping rendering besides VR support in player settings.
but i have still problem with toggling VR mode.
I triedVRSettings.enabled = !VRSettings.enabled;
orVRSettings.enabled = true;
but VRSettings.enabled allways give me false. - cyberealityGrand ChampionThat's strange. It seems to work for my with my DK2.
- vrdavebOculus StaffDoes it help to run with "-vrdevice oculus"? That argument should work for the editor or a standalone that was built with VR support.
- AnonymousThis isn't really much help for OP, but I'm able to use 5.1.2p2 (and now 5.1.3) with DK1 and DK2 direct mode with no issues or changes required. I'm using the built in VR support plus latest OVR utilities. It works better than it ever has in the past with DK1.
Question for OP would be if they are using latest runtime and OVR utilities for Unity.
ccs - emma24xiaHonored GuestTry this. picked up the new unity and I am excited to get started. I own the Oculus DK2 and I have already created a working demo back in Unity 4.x. http://static.oculus.com/sdk-downloads/ ... _0.4.4.pdf
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago