Forum Discussion

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

ovrCreate -1006 ServiceError

Working on a 1.3 SDK plugin.

I run ovr_Initialize succesfully : The health & safety warning pops up.
But immediately after that ( before user dismisses the warning ), the ovr_Create gives me a -1006 ServiceError, with no verbose ovr_GetLastErrorInfo errorString to give more clues. Any ideas what to do? Have been snooping at logs and such but no solid clues anywhere so far.

3 Replies

  • galopin's avatar
    galopin
    Heroic Explorer
    You can try to kill the service (stop it from the service panel), and run oculus/support/oculus-runtime/OVRServer_x64.exe manually, the server open a log prompt and is very verbose ( and you can also rename oculusclient.exe in the folder of the same name, the server will log an error trying to spawn the client, but it works and prevent it to run while working, you loose the home interface of course doing so).
  • Anonymous's avatar
    Anonymous
    Great tip, got me on track immediately. Thanks galopin!

    "Setting connection focus to pid: 3624, file: (side-loaded app), but no window handle exists"
  • Anonymous's avatar
    Anonymous
    One step forward, added "OVR::Thread::SetCurrentThreadName("oculusPlugin");"
    Now getting "invalid ovrsession provided". Hmm Hmm

    Ok, all good and progressing : )