VRC_SpatialAudioSource forces audio wholly to 3D if curve is not entirely 2D.
Eremite
Build: 928
SDK Version: VRCSDK2-2020.05.12.10.37_Public
A recent SDK or client change appears to have broken the VRC Spatial Audio Source component: https://docs.vrchat.com/docs/vrc_spatialaudiosource
As an example, this setting used to give me 2D audio for 35 meters, which then faded to 3D and silent at 40 meters: https://cdn.discordapp.com/attachments/488466987849089044/713525800195850351/unknown.png
I've gone through tons of options/checkbox iterations on the spatial audio source and none seem to fix it. They actually all sound identical to my untrained ear no matter the settings.
If I press play in Unity and move my camera around in the scene, I'm definitely hearing the proper audio within the 35m range, then fading to 3D/silent after 40m.
In fact, if you remove the Spatial Audio Source, or add an ONSP audio source for testing, it seems like the client or SDK are forcing it to use the broken Spatial Audio Source component.
I also tested with the '"Proper" 2D Audio Source' prefab posted in the prefabs database here and it is now broken as well: https://docs.google.com/spreadsheets/d/e/2PACX-1vTP-eIkYLZh7pDhpO-untxy1zbuoiqdzVP2z5-vg_9ijBW7k8ZC9VP6cVL-ct5yKrySPBPJ6V2ymlWS/pubhtml
The docs page has this to say about using 2D Audio: https://cdn.discordapp.com/attachments/488466987849089044/713526983346094161/unknown.png
I have a background music source that is 100% 2D audio in the slider and that is still 2D, but it is also maximum volume everywhere in the world, which is undesirable.
The docs seem to imply that there's no real reason to use 2D audio, but there are a plethora of uses:
* Rain, ambience, etc all sound very silly when from a 2D source. You dont' hear rain coming from a single point in the sky in real life.
* TV/Video rooms sound much better if you hear the proper 2D audio, but you might want that volume to fall off as you leave the room.
Of note, akalink got it working in an SDK3 world with these settings, very similar to my own: https://cdn.discordapp.com/attachments/488466987849089044/713521991134609428/unknown.png
Log In
Eremite
Sample Prefab: https://cdn.discordapp.com/attachments/488466987849089044/713822771838451813/audiotest.unitypackage
If you drop this into an SDK2 world, the audio is forced 3D. If you drop it into an SDK3 world it works as expected.
Preview. Inside the inner blue sphere, it should be 2D audio. Once you leave the blue sphere, it fades into 3D audio and then is silent once you leave the red sphere:
Eremite
So, this may have been an odd unity caching issue, after all. If anyone else comes across a similar issue, I managed to fix it by copying the audio source component, deleting the game object, saving, then creating a new game object and pasting the same audio source back onto it again.