Skip to main content
April 17, 2016

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

Up and Coming
April 17, 2016
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).
April 19, 2016
Great tip, got me on track immediately. Thanks galopin!

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

Ok, all good and progressing : )