Skip to main content
Participant
June 9, 2015

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.
    This topic has been closed for replies.

    8 replies

    Inspiring
    June 9, 2015
    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.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    NullzeroAuthor
    Participant
    June 9, 2015
    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?
    Inspiring
    June 9, 2015
    I believe all of that stuff comes with Unity now (or at least most of it).

    For example, to recenter view you can do:

    using UnityEngine.VR;
    ...
    InputTracking.Recenter ();


    http://docs.unity3d.com/ScriptReference ... cking.html
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    NullzeroAuthor
    Participant
    June 9, 2015
    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!
    New Participant
    June 11, 2015
    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.
    Inspiring
    June 11, 2015
    @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.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    New Participant
    June 11, 2015
    @cybereality
    Unfortunately when I import the old OVR it tells me that there are problems with some old scripts.
    Participant
    May 16, 2016
    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