Skip to main content
New Participant
November 9, 2018
Solved

Running a console app in parallel to a VR game/experience

  • November 9, 2018
  • 2 replies
  • 1636 views
Greetings to the community :) 

I am currently running a simple console script in C++ that prints the HMD tracking data (which will eventually be sent over UDP for an app we are developing), with the intention that I will be able to obtain this data while a game is being run. I am using Visual Studio 2017 with SDK 1.30.0. However when running the script Oculus seems to be seeing it as an app and prompting me to quit it before turning on another game. How can I work around this? 

Many thanks,
Joey
    Best answer by volgaksoy
    Hi badaudio. Try using the "ovrInit_Invisible" flag when initializing the SDK. This should prevent the system from showing the prompt.

    2 replies

    volgaksoyAnswer
    Meta Employee
    November 9, 2018
    Hi badaudio. Try using the "ovrInit_Invisible" flag when initializing the SDK. This should prevent the system from showing the prompt.
    badaudioAuthor
    New Participant
    November 9, 2018
    Cheers mate (: Found that earlier, works perfect!