I’m having a problem with OculusVCRValidators audio validation. Basically the test is failing with the following message
Setting audio mode to Windows
Waiting for the application to run for 5 seconds before testing begins...
Starting test...
Application played sound thru default audio device
Setting audio mode to Rift
Waiting for the application to run for 5 seconds before testing begins...
Starting test...
ERROR: Application should not have played sound thru defaultDevice
Please refer to VRC Guidelines: https://developer.oculus.com/distribute/latest/concepts/vrc-pc-audio-1/
Cleaning up...
Test FAILED
Meaning the audio is still directed to defaultOutput instead of oculus headphones.
The strange part is that the audio should go to oculus automatically with the Oculus plugin, as stated on Oculus documentation:
“When Unreal PC applications are launched, if the OculusRift plugin is enabled and the Oculus VR Runtime Service is installed, then the application will automatically override the default Windows graphics and audio devices and target the Rift. The Oculus VR Runtime Service is installed with the Oculus app.”
( https://developer.oculus.com/documentation/pcsdk/latest/concepts/dg-vr-audio/ )
Don’t know if theres anything I could do to influence that, any ideas?
“It looks like the tool is flagging this test as failing when its passing. It shouldn’t be an issue for you to submit. And yes, to your final query in your original question, the free unity version causes the splash screen issue that fails the TestLaunchIntoVR test.”
Solution: I checked my project settings and the option ‘bStartInVR’ was set to false. When I changed to true, oculus validation audio test worked, but the caveat is that this flag crashes UE4 on launch (at least on 4.18 which is the one I was using).
At the time they did, and before running the oculus validation software I couldn’t figure out why they were complaining about sound. Anyway, I posted my solution here now.
Your application must provide audio sound at the beginning of the application and you must shut all other sound (don’t play Youtube video while testing), otherwise the VRCValidator won’t be able to work properly!