Forum Discussion

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

Has Oculus removed the ability to run C++ console exes?

Issue summary:  It appears Oculus Home is no longer allowing C++ console exes to connect to the HMD OR is expecting an additional prompt to allow dismissal of the "Please Wait" screen after the Health and Safety warning has been acknowledged.  Any input about possible causes behind this issue would be appreciated.


Okay, here are the details on our issue:

We've put together a simple C++ / Qt console program which interfaces with the Oculus HMD but projects no video -- it only provides accompanying audio in response to user head gestures and controller input.  The app connects to the HMD, reads the device orientation to detect head nods, device taps and the like and is designed to work alongside Oculus movies and games. 

All was well through to Runtime v0.8.0 but, on v1.3.2, after dismissing the Health and Safety warning the app is left to hang at the "Please Wait" screen, as if Oculus Home is expecting to hear something else from the app.

When left at that "Please Wait" screen the app runs by itself without issue, but that "Please Wait" screen then makes it impossible to start anything else from Oculus Home.

The expected behaviour when using our app would be:
  User opens Oculus Home.
  User starts our exe from Windows.
  User opens up their game, move, experience and our exe continues to operate alongside it.

That is how things operated under the v0.8.0 runtime and earlier.

The behaviour we're seeing now is:
  User opens Oculus Home.
  User starts our exe from Windows.
  User is left waiting at the "Please wait..." screen after dismissing the health and safety warning.

For another use case:
  User opens Oculus Home.
  User starts their game or experience (e.g. open up Farlands and sit at the deployment screen)
  User starts our exe from Windows.
  User is presented with the health and safety warning again and, on dismissing it, is left at the "Please wait..." screen on the HMD even though the game/experience remains loaded and displayed in a window on the PC.

All is well to run our app solo, all exes are digitally signed, and the Oculus Home "Unknown Sources" "Allow apps that have not been reviewed by Oculus to run on my Rift" option has been toggled on.

It seems that things are being blocked somewhere else, as if the Oculus is no longer capable of working with C++ console exes.

Is it now no longer possible to run a C++ exe with an Oculus HMD, or must an extra action be sent to the HMD after the health and safety warning is dismissed in order to get past the "Please Wait" screen?

11 Replies