Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Nullzero's avatar
Nullzero
Honored Guest
10 years ago

Unity 5.1 + OVR 0.6 is busted for me? HALP!

First, version / rig info:

OVR Display Driver Version: 1.2.5.0
OVR Positional Tracker Driver Version: 1.0.10.0
NVIDIA GeForce GTX 760
Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz
HMD Firmware: 2.12
Nvidia Driver 347.88
Windows 8.1 Pro
OVR SDK 0.6
Unity 5.1.0f3
Unity Integration 0.6.0 (However, on the DL page, it says Unity 4 Integration. Not sure if this matters.)

I'm getting flickering in the editor with extended mode and entering Play mode. With DirectMode, the OVRCameraRig transforms aren't updating in Play mode. Anyone else running in to a TON of issues with Unity 5.1 + OVR 0.6?

I have never seen a build this broken before. I feel like I must have done something obvious to break it... like install the a Mac driver or something.

8 Replies

Replies have been turned off for this discussion
  • You don't need to (and, in fact, should not) use the Unity integration anymore with Unity 5.1. You should just use a normal camera or player controller (NOT OVR controllers) and it will automatically work on the Rift when you select "Virtual Reality Supported" in the Player settings.

    If you already had a project with the old OVR integration you may need to delete those files from the project. Of course, please make a back-up before doing any surgery to a big project.
  • Oh I see. Nice!

    What about Center Eye Anchor, etc? How do I access all the old API? Like recentering the camera? I feel like I need to read some documentation or something for all the new integrations, but don't see any anywhere.

    EDIT:
    Nevermind! Found documentation:

    http://docs.unity3d.com/ScriptReference/VR.VRNode.html

    Wow. My mind is blown. The Unity guys really did integrate VR seamlessly. Gonna have to do some code overhall, here.

    So am I to understand that all other OVR specific functionality is now hidden?
  • Thanks, cyber.

    I'm going to monkey with the new integration a bit. Also, as a side note, you can no longer change the Camera's position yourself! If you want to move the Camera, it seems you have to put it as a child transform. Weeee... refactor time!
  • So I'm going to add to this. The old OVR had a rig ready for use. It was super simple, as it had the debugging menu under the space bar and navigation scrip working as well. Is there a similar rig available in Unity 5.1?
    I do not know scripting and in the past this OVR rig was super helpful.
  • @mikiwoodie: You can still use the old integration if you want (just make sure to NOT select "Virtual Reality Supported"). However, you are probably better off learning some scripting and figuring out how to do it with the built-in support.
  • @cybereality
    Unfortunately when I import the old OVR it tells me that there are problems with some old scripts.
  • Hi guys, i need help. I can't seem to get oculus ovr integration supported. I built my game on the pre-1.0 sdk, and now that the game is done, i realize I must use native Unity, or sdk 1.0 or newer. I'm now using sdk 1.1 but my ovrcamera rig won't let my gun move with head tracking. I need help. What do i need to do? I'm on UNITY 5.3