3D sound not working with videos in webgl builds

Hi everyone. I can’t seem to find any solutions for this online. Maybe someone here knows.

I’m learning by building a 1st person multiplayer experience (wouldn’t call it a game :slight_smile: in Unity version 2019.4.7f1 on Windows 10.

When using video with Audio Output Mode set to Audio source, Spatial blend set to 3d and Volume roloff set to linear the sound in the WebGL build is always audible once started, regardless of the player’s position. When I build for Windows everything works fine.

In the documentation Unity - Manual: Using audio in WebGL it states that maxDistance, minDistance and rolloffMode are supported

Are there any pointers on how to make 3d sound work with webGL?



Somehow did you manage to solve this issue ? I’ve tried everything but no hope ):