Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question WebGL audio spatializer ?

Discussion in 'Audio & Video' started by Wasplay, Apr 4, 2021.

  1. Wasplay

    Wasplay

    Joined:
    Jun 2, 2018
    Posts:
    46
    Does anyone know how I could have spatial audio in WebGL ?
    Both the Oculus spatialiser and Resonance don't work since they use DLLs :(
    Quite hard to make an actual good WebXR app without any spatial audio
     
  2. Naheedmir

    Naheedmir

    Joined:
    Sep 8, 2020
    Posts:
    12
  3. WindReiter

    WindReiter

    Joined:
    Jul 29, 2022
    Posts:
    7
    This does not help answering the question of a spatialized audio implementation for WebGL.
    I am a beginner with Unity, but I came across Google Resonance as a solution for implementing spatialized web-compatible audio. However, it's been deprecated since the 2020 version.
    I haven't been able to find a good solution to this, and I don't like my immersive 3D WebGL project playing audio sources in mono. It's incredibly frustrating that there is no clear solution to this.
     
  4. roka

    roka

    Joined:
    Sep 12, 2010
    Posts:
    584
    Check this post , a bug was present since a long time and it has been finally fixed recently.

    https://forum.unity.com/threads/case-1412752-webgl-spatial-audio-3d-not-working.1266461/
    https://issuetracker.unity3d.com/is...ange-direction-from-where-the-sound-is-played

    6 months to get this fixed.... but still fixed ......