This is an odd issue that I can’t seem to find a solution for.
Essentially, I need to override the audio listener’s position to be at the player’s character, rather than the camera location to prevent sounds from being louder when underneath the camera. As you can see in the image above, the camera sits above the player, but offset, so you can see how using the camera as the listener can throw off the audio perspective.
Here is the code to override the listener and set it to the player. This works just fine with any sound cue that doesn’t utilize the Crossfade by Distance node.
For whatever reason after overriding the listener, sound cues with the Crossfade node now increase in volume the further away they are from the listener, rather than decrease. If I remove that crossfade node, the sound cue plays correctly and decreases volume the further away.
Anyone else run into this issue before or know what I’m doing wrong with these? It doesn’t seem to be an issue with the listener’s location not updating, since all other sounds work correctly and using the au.3dVisualize.Enabled console command shows the sounds tracking the location correctly. Thanks for the help!