Forum Discussion

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

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

5 Replies

Replies have been turned off for this discussion
  • 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.
  • saeid's avatar
    saeid
    Honored Guest
    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?
  • 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.
  • saeid's avatar
    saeid
    Honored Guest
    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