Search Unity

OVRManager breaking on any external calls.

Discussion in 'AR/VR (XR) Discussion' started by hoesterey, Mar 4, 2015.

  1. hoesterey

    hoesterey

    Joined:
    Mar 19, 2010
    Posts:
    659
    HI,
    I got oculus working with Unity 5. But then when updating to version 0.4.4 it broke.

    This line is retuning null.
    var ovrVersion = new System.Version(Ovr.Hmd.GetVersionString());


    More specifically: Ovr.Hmd.GetVersionString();


    Its seams that all "extern" calls are returning null in the Oculus integration. I have no clue why. Any ideas?

    Thanks!
     
  2. hoesterey

    hoesterey

    Joined:
    Mar 19, 2010
    Posts:
    659
    Full Error:
    EntryPointNotFoundException: ovr_GetVersionString
    Ovr.Hmd.GetVersionString () (at Assets/OVR/Scripts/OvrCapi.cs:1352)
    OVRManager.Awake () (at Assets/OVR/Scripts/OVRManager.cs:335)
    UnityEngine.Object:Instantiate(GameObject)
    MainScrap:Initialize() (at Assets/Game/MainScrap.cs:18)
    Main:Start() (at Assets/Game/Main.cs:16)
     
  3. hoesterey

    hoesterey

    Joined:
    Mar 19, 2010
    Posts:
    659
    Fixed it,
    Deleted the plugin and re-imported. Seamed to be an import error.