[1111] Non-spatialized audio of video player is spatialized in 1111
complete
Haï~
How to reproduce:
Observed:
The audio plays spatialized at the video player timeline (on the left).
Expected:
The audio should be playing on both ears, non-spatialized.
Log In
Tupper - VRChat Head of Community
complete
Please check that your VRCSpatialAudioSources'
Enable Spatialization
setting is disabled.
Due to a Unity bug, some audio sources with
Enable Spatialization
checked were incorrectly not spatialized in Unity 2018.4.20f1.TCL
After taking a look at the referenced world it appears that the video player's audio source has a VRC Spatial Audio Source component with the Enable Spatialization setting set to true. Comparing between Unity 2018.4.20f1 and Unity 2019.4.28f1 the settings of the VRCSpatialAudioSource are the same. With Enable Spatialization enabled would be expected for the audio source to be spatialized in both Unity versions, however it appears that there is a Unity bug in 2018.4.20f1 that is causing the audio source to incorrectly report as not playing despite outputting audio and this bug is fixed in Unity 2019.4.28f1.
Can please you verify that the VRC Spatial Audio Source components on your video player speakers don't have Enable Spatialization enabled and upload a new version of the world using Unity 2018.4.20f1? If Enable Spatialization is disabled then the audio source should not be spatialized in either Unity 2018.4.20f1 or Unity 2019.4.28f1.
Haï~
I've reuploaded a world under a different World ID: https://vrchat.com/home/world/wrld_b2cfbdcd-e356-4031-aa64-b75d2471dcb6
It seems to work, as in, when the Enable Spatialization is unticked on the "Speaker Left" and "Speaker Right" GameObjects, I observe that the audio is playing on both ears, non-spatialized.
---
After testing this, I noticed another "weird thing", but I don't have enough knowledge to qualify this as being an "issue" because I cannot figure out what is the "expected" behavior, and the fact that there is a bug on Live as you say so, prevents from highlighting a regression.
In short, the Unity Video Player of this prefab has 2 target audio sources called "Speaker Left" and "Speaker Right". When Enable Spatialization is ON, then I observe that I can only hear the left audio channel of the video at the location of the "Speaker Left" GameObject, and I cannot hear the right audio channel of the video anywhere.
I don't know what's the expected behavior nor whether this is a misconception in the prefab itself, so I'm not comfortable opening a canny for this. Thought it was worth noting.
TCL
Haï~: The Unity Video player audio sources are per audio track not channel. Regular videos only have one audio track with two channels so you can only route audio to a single audio source. AVPro is more flexible with its audio outputs so it is able to output the same audio track and filter the channels per audio source.
んなあぁ
Yep, definitely an issue. Noticed it in my home world immediately.
Tupper - VRChat Head of Community
tracked