Incorrect audio output for VR

Hi, we have problem with audio output for VR:

If I do not enable XR, the sound plays correctly from speakers and is spatialized.

If I enable XR (both editor and build):

  • Mixed reality headset - the sound plays in headset, but is not spatialized
  • Quest 2 using link - the sound plays from PC speakers
    • If I change output manually from code (i need to find it by name - fragile), it plays in headset, but is not spatialized
  • Quest build - we did not try until PC is fixed

There is always single FMOD listener and is always on the correct camera.

Our application needs to run for all PC OpenXR headsets, Qeust 2,3 standalone, mayber PS VR 2, including all future headsets.

Without FMOD we did not need to change anything and everything worked fine. Please how to fix the output and spatialization?

Hi,

Thank you for sharing the information!

Unfortunately, I was not able to reproduce the issue on 2.03.09.

Could I please confirm which version of the FMOD Unity integration you’re currently using?

Where can I find the current FMOD version in Unity imported plugin?

Unity version is 6000.1.14.

I tried to update to latest version but then it could not find dlls for Steam Audio.

Steam Audio is currently not used, but v4.6.1 is imported in the project, we plan to use it once FMOD works. We cannot update Steam Audio to latest version, because on play it immediately crashes the editor. This version of SA works with the FMOD, but no matter if we enable it or not, the audio output is incorrect.

I will try to create new simple project, reproduce the problem and share it.

I recreated the problem here:

(branch fmod-with-steamaudio)

  • New Unity project from VR template, converted to URP
  • Added same plugins as in our main project, same setup
  • In readme.md there is description with sample scene and FMOD project path

Also we used the newest FMOD Studio, is it ok or the versions should match?