Forum Discussion

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

Possible to have the audio "on" even when not wearing the Headset?

Hello,

I am looking for a way to have the audio output on in Unity even when not wearing the Oculus Rift.

Currently, if I have the headset on my head and I mirror the audio, I can hear it both on the speaker and the Rift headphone. When I take the headset off my head, the audio on the external speaker are off as well.

Is there a way to keep the speaker on?

I want to replay events that happen during a previous VR session, so the player has to take off the headset before to watch it.

Thanks in advance for your help!

2 Replies

Replies have been turned off for this discussion
  • I tried to disable VR in Unity (XRSettings.enabled = false;), but still, if the headset is not active (IsUserPresent=true), the audio mirroring stops and no audio is played on the speaker.

    I tried both in the Unity Editor and in a build with the same result. runInBackground is set to true in Unity.

    Any idea? Next, I might try to explore FMOD and see if I can force constant mirroring even when the headset is not worn.
  • I did solve it using the AudioStream asset on the Unity Store and redirecting output to the speakers instead of the Oculus.