Forum Discussion
madpuppet
12 years agoHonored Guest
DK1 Crashing on 0.4.1
I have my app running nicely on my shiny new DK2 using the 0.4.1 sdk C++ libraries.
However, when I give it to someone to run a DK1 system, it just crashes because the ovrHmd_Create(0) returns NULL.
ovr_Initialize();
m_hmd = ovrHmd_Create(0);
if (!m_hmd)
DMFATAL("Unable to create the Oculus driver - Check your DK2 is connecting and turned on..");
I don't have access to a DK1 currently to do any testing inside the ovrHmd_Create function to get further information.
This is nearly the first thing my game does before opening the game window or creating the opengl context, so I'm a bit bewildered as to what I could be doing wrong.
Does 0.4.1 work on a DK1?
My google-fu skills have failed me so far to finding anyone else having this problem.
However, when I give it to someone to run a DK1 system, it just crashes because the ovrHmd_Create(0) returns NULL.
ovr_Initialize();
m_hmd = ovrHmd_Create(0);
if (!m_hmd)
DMFATAL("Unable to create the Oculus driver - Check your DK2 is connecting and turned on..");
I don't have access to a DK1 currently to do any testing inside the ovrHmd_Create function to get further information.
This is nearly the first thing my game does before opening the game window or creating the opengl context, so I'm a bit bewildered as to what I could be doing wrong.
Does 0.4.1 work on a DK1?
My google-fu skills have failed me so far to finding anyone else having this problem.
2 Replies
- hypxHonored GuestYes it works (Wind 7 x64, SDK 0.4.1, DK1)
It works in D3D9, D3D11 and OpenGL as well.
ovrHmd_Create(0) usually returns NULL when the device is not detected.
- Does that person installed the 0.4.1 runtime?
- Is the device showing up correctly in the Oculus Configuration Utility? - madpuppetHonored GuestThanks. I doubt he's installed any new runtimes for a while. I'll get him to check tonight.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 months ago
- 2 years ago
- 3 years ago
- 3 years ago