Oculus Audio Mirroring (Found bug)

Hi,

we need to make sure our application can produce sound through the Oculus and the speakers simultaneously. Oculus recently added an “Audio Mirroring” option to its settings window. You just set the speakers to your default audio device in Windows and voila, there is sound through speakers and Oculus at the same time.
However, this does not work in games made with Unity.

I made a small test project which just plays a sound on start including a few information on a canvas to see whats going on.

Could anyone please check if this works on your machine? I’d like to know before creating a bug report.

Setup:

  • Make sure the rift is plugged in and running correctly

  • Set the speakers to your default device on Windows (my speakers are 2.1 if this is important)

  • In the oculus settings go to Settings → Devices and click on the rift. Set the output to “Both (Audio mirroring)”

  • Run the Text.exe

The application just freezes after around 0.2 sec. In the editor it’s running fine with audio output to both devices.

Build: https://login.yoursecurecloud.de/f/4f3825ca58/?dl=1
Project: https://login.yoursecurecloud.de/f/f9cca48a42/?dl=1 (Unity 5.6.2p1)

Thanks!

It only works when the game is run from the Oculus client. It won’t work inside Unity.

also no mirrored sound here when working in the unity editor