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.

Bug (case 1412752) WebGL Spatial audio (3d) not working

Discussion in 'Audio & Video' started by roka, Apr 12, 2022.

  1. roka

    roka

    Joined:
    Sep 12, 2010
    Posts:
    584
    Last edited: Oct 14, 2022
  2. The_Island

    The_Island

    Unity Technologies

    Joined:
    Jun 1, 2021
    Posts:
    502
    It is still in triage, and someone worked on it today. Checking the report, it seems you are working on 2021.2.16f1, and the report says that it can't reproduce on 2021.2.3f1 or 2020.3.33f1. Is it possible to downgrade to one of these versions as a workaround?
     
  3. roka

    roka

    Joined:
    Sep 12, 2010
    Posts:
    584
    I'm still in 2019.2.21f1.

    I have made the report with the version 2021.2.16f1 because it's the version that i want to use to updgade my project because a lot of fix and imrovements has been done on this version.

    I'm still disappointed that an issue like this is not a priority. I imagine a new user coming and getting a headache to understand why his 3d sound is not working in his build.

    Anyway, thank you for your time and your answer.
     
  4. roka

    roka

    Joined:
    Sep 12, 2010
    Posts:
    584
    I can't move on 2020.3.33f1 because this version is affect by an other bug .... : https://forum.unity.com/threads/cru...ghtmap-file-2020-3-31f1.1255341/#post-8000811
     
  5. The_Island

    The_Island

    Unity Technologies

    Joined:
    Jun 1, 2021
    Posts:
    502
    Oh, I see you are quite in a predicament. I will reach out to the team to see if we can find a workaround or a quick fix, but most devs are not back until Tuesday.
     
    roka likes this.
  6. roka

    roka

    Joined:
    Sep 12, 2010
    Posts:
    584
    Hello, do you have any news?

    Reported a month ago and we are still at the same point.
     
  7. The_Island

    The_Island

    Unity Technologies

    Joined:
    Jun 1, 2021
    Posts:
    502
    Sorry. The issue was transferred to the WebGL team. The problem seems to be platform-specific. As such, the audio didn't know any workaround. I will reach out to the WebGL team if they can help.
     
    roka likes this.
  8. The_Island

    The_Island

    Unity Technologies

    Joined:
    Jun 1, 2021
    Posts:
    502
    Ok, I reached out today, and they don't have any workaround. The good news is the bug is considered high user pain, so it will probably be work on first. The bad news is they are quite busy right now, explaining the delay.

    Let's not lie to ourselves. Even if the bug is fixed, you will still have to wait for it to land (~2 months). So if you need to release something soon, I think your only option is to upgrade and live with the other regression. Sorry that I can't do more right now :(
     
  9. roka

    roka

    Joined:
    Sep 12, 2010
    Posts:
    584
    Thank you for the informations and estimated delay.
    Really bad situations but honest.
     
  10. roka

    roka

    Joined:
    Sep 12, 2010
    Posts:
    584
  11. The_Island

    The_Island

    Unity Technologies

    Joined:
    Jun 1, 2021
    Posts:
    502
    Yeah, we transferred all our bugs to Jira now. It should be safe.
     
  12. roka

    roka

    Joined:
    Sep 12, 2010
    Posts:
    584
    Thank you
     
  13. roka

    roka

    Joined:
    Sep 12, 2010
    Posts:
    584
  14. roka

    roka

    Joined:
    Sep 12, 2010
    Posts:
    584
    @unityruba can you take a look at the post above?

    Thank you.
     
  15. unityruba

    unityruba

    Unity Technologies

    Joined:
    Nov 6, 2020
    Posts:
    243
    Hi @roka
    I'm seeing this fix merged in 2020.3.39f1, but the release notes I found internally were in 2020.3.40f1 :confused:
    I'm asking to see why that is, I'll report back once I have something.
     
    roka likes this.
  16. roka

    roka

    Joined:
    Sep 12, 2010
    Posts:
    584
    Thank you.
     
  17. unityruba

    unityruba

    Unity Technologies

    Joined:
    Nov 6, 2020
    Posts:
    243
    @roka yep, there was a mismatch in the versions, it got fixed now and it'll be pushed to the public page by tomorrow. You'll be able to see it in 2020.3.39f1. Thank you for pointing this out :)
     
    roka likes this.
  18. roka

    roka

    Joined:
    Sep 12, 2010
    Posts:
    584
  19. unityruba

    unityruba

    Unity Technologies

    Joined:
    Nov 6, 2020
    Posts:
    243
    @roka Hi again, I looked into it and I believe the fix for this spatial issue bug was combined with another fix, that's listed as:
    WebGL: Added workaround for audio distortion bug in Safari

    in the 2020.3.39 release notes! sorry about the confusion :)
     
    roka likes this.
  20. unity750

    unity750

    Joined:
    Jul 20, 2022
    Posts:
    5
    I'm experiencing webgl spatial audio issues in all of the latest LTS versions (2021.3.26 and 2022.3.2).

    In Safari:

    1) Audiosources with 3d blend struggle. They play short bursts of sound every few seconds. The import settings for the audio clip (compressed in mem vs. decompress on load) make no difference.

    2) PlayOneShot will play audio dead center — no L/R pan — at full volume, rather than localized in 3d space.

    In Chrome:

    3d blend sources will play, but audio crackles while the camera moves
     
  21. Thygrrr

    Thygrrr

    Joined:
    Sep 23, 2013
    Posts:
    685
    Unity 2023.2.1f1 has broken spatial audio in WebGL:

    The sound spread is ignored, resulting in very harsh stereo pan for audio sources close to the player.

    The Spatial Blend is also ignored.
     
    Last edited: Nov 28, 2023
  22. Thygrrr

    Thygrrr

    Joined:
    Sep 23, 2013
    Posts:
    685
    Filed as IN-62035
     
    SeventhString likes this.