Skip to main content
Up and Coming
December 28, 2014

DK1 display not found in API

Hey!
I can use my DK1 just fine as long as i just drop in the camera prefab and all is working great. But as soon as i want to access something from the API like "OVRManager.display.isPresent" or "OVRManager.display.RecenterPose()" i have the problem that "OVRManager.display" always returns null, any idea why? Using latest SDK and runtime and are not using legacy DK1 mode.
    This topic has been closed for replies.

    3 replies

    virrorAuthor
    Up and Coming
    December 30, 2014
    Anyone? This is quite the showstopper atm : /
    Inspiring
    December 30, 2014
    Are you trying to access OVRManager.display before OVRManager.Awake() has run? Generally, you shouldn't use it until your Start() or Update() methods. But you can make sure OVRManager wakes up first by setting its order to a lower number in Edit > Project Settings > Script Execution Order.
    virrorAuthor
    Up and Coming
    December 30, 2014
    Ahh, stupid me, that was the problem!
    Thanx a lot : )