Search Issue Tracker


Fixed in 2021.3.32f1, 2022.3.14f1, 2023.1.17f1, 2023.2.0a23



Found in







Issue ID




[WebGL] A looping audio sounds different on WebGL than in the editor/native desktop player



Reproduction steps:
1. Open the attached project
2. Run project in editor play mode and listen to audio loop.
3. Build and Run the project using WebGL
3. Compare audio loop in WebGL build to audio loop in editor play mode.

Expected result: Looping audio clip sounds the same in editor and in the WebGL build.
Actual result: The looping audio clip sounds different in the editor and the WebGL build. In the editor it is a continuous sound in the WebGL build there seems to be a small pause before each replay of the loop.

Reproducible with: 2023.1.0a6, 2022.2.0b5, 2022.1.14f1, 2021.3.8f1, 2020.3.38f1
Reproducible on: macOS 12.2 (Intel)

  1. Resolution Note (fix version 2023.2.0a23):

    Loop information embedded in the smpl chunk of WAVE files is now properly handled in WebGL player builds.

Comments (11)

  1. supernikx

    Apr 18, 2024 08:29

    Still not fixed 2022.3.24f1

  2. Kapitan1991

    Dec 31, 2023 14:55

    Still not fixed in 2022.3.14f1 :(

  3. Sebasapk

    Dec 27, 2023 16:46

    In the version 2021.3.32f1, that problem is still not repaired.

  4. GerardUnity

    Nov 03, 2022 12:03

    Nous voulons utiliser la MIDI normalement, please fix it :)

  5. mathiascreasoft

    Nov 03, 2022 09:38

    I got this issue too, please help us.
    Thanks !

  6. AppSD

    Nov 01, 2022 14:46

    Please fix the bug.

  7. hippogames

    Nov 01, 2022 09:34

    Please fix!

  8. JimPlamondon

    Oct 17, 2022 02:54

    I am using Unity for my online music education courseware/game SPECIFICALLY because Unity supports WebGL -- but I cannot ship anything until Unity fixes this bug.

    Please prioritize it!


  9. BangingRocks

    Sep 21, 2022 18:43

    This would be a game changer for a piece of software we're writing - being able to deploy to WebGL would be amazing.

  10. EmeralLotus

    Sep 04, 2022 13:11

    More and more games are being published to webgl and sound is a critical part of the gaming experience. Would very much appreciate to be able to continue using unity. Unread engine has very good support for webgl audio.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.