Video Player and Audiosource

Hello everyone

I was wondering if there’s a way to make the audio non 3D, by that I mean that the audio panning won’t be affected by the AudioSource’s holder position.

I haven’t found any options regarding that and I’m having trouble in my 2D because even if I center the audio listener in the scene, depending on the resolution it might be uncentered making it so the audio sometimes comes out of the left or the right.

Any help would be appreciated, thanks.

I think what you’re looking for is the Spatial Blend property of the AudioSource component. You can change it in the editor or via script.

Here is the documentation: Unity - Scripting API: AudioSource.spatialBlend