Forum Discussion

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

Working without Rift. Debug Device.

I am trying to make my program work without Rift plugged in.

vrHmd = ovrHmd_CreateDebug(ovrHmd_DK2);


However, when I start the program all screen goes black and in a moment
Access violation exception
appears. Plus my video card says that it crashed but recovered. Is there anything in the code I should fix (probably related to window sizes) to make this work? Or is there any good examples using debug device?
Regards :)

2 Replies

  • Yes, both the Oculus tiny room and Oculus World code samples in the SDK implement the fallback mechanism if there is no HMD plugged.
  • TinyRoom has no such feature. it just closes when device is not detected. But WorldDemo has one. Thanks a lot. ill take a look at it