Skip to main content
New Participant
January 20, 2016

Problem upgrading Oculu SDK and moving to Unity 5.2.2f1

Hi,
I am trying to update our existing app from Unity 5.0.2f1 to Unity 5.2.2f1.
after update, the app starts just fine, but then somehow vr_api shutsdown is called...?

Any idea what I am doing wrong?

What I did:
remove oculus sdk in unity 5.0.2
open project in unity 5.2.2
import oculus utilities package
add ovr_camerarig
    This topic has been closed for replies.

    5 replies

    Inspiring
    January 20, 2016
    Check here for the right version of Unity 5 to use (currently 5.3.1p2):
    viewtopic.php?f=37&t=25882

    Also, it may be that you still have old Oculus SDK files lingering in the project. The Oculus SDK will conflict with the Unity Utilities. Be sure to double check that all Oculus/OVR/etc. files are removed.
    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
    saeidAuthor
    New Participant
    January 20, 2016
    I don't see any files from previous Oculus SDK (0.6.2)
    I can't move to Unity 5.3.X I have a shader compile error. maybe you can help me with that?

    Also, I see these in debug logs:
    vrapi_LeaveVrMode
    .
    .
    .
    ~TimeWarpLocal() Start
    .
    .

    Does this mean anything?
    Inspiring
    January 20, 2016
    I'm not sure about those functions, but Unity did change some of their shader macros so you may just have the old names and need to update.
    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
    saeidAuthor
    New Participant
    January 20, 2016
    Actually, I just tried it using 5.3.1f1 (I couldn't find download link for 5.3.1p2?)
    and seems like I am not seeing the problem any more. (the tracking doesn't stop after a while)

    So, here is the link too my question about the shader. could you take a look?
    viewtopic.php?f=37&t=29289&p=323717#p323717
    Inspiring
    January 20, 2016
    You need to go to the patch section (or search Google for "Unity Patch"):

    https://unity3d.com/unity/qa/patch-releases
    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