Forum Discussion

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

BUGS: ovr_GetHmdDesc(NULL) starts session, ovr_Destroy doesn't work

From the documentation it seems that ovr_GetHmdDesc(NULL) should be able to fetch information about the attached Rift without starting a session in the Rift.  Instead, calling it interjects any running Oculus activity and displays the message "Sorry, test.exe is taking a while to load" in the Rift until the process exits.
I had hoped for a non-invasive way to examine the device properties of the connected Rift without disturbing whatever VR application the player might have running.

In a separate but similar bug, calling ovr_Destroy on a created session doesn't seem to actually shut down the session.  To isolate the issue, I tried creating a program that calls ovr_Create and immediately calls ovr_Destroy on the created session, but as long as the process is running, it will display "Sorry, test.exe is taking a while to load." in the Rift.  Not even calling ovr_Shutdown() will make it go away.

I tested this with the latest Runtime and SDK versions as of writing (1.5).
No RepliesBe the first to reply