WebGL Build Playing Certain Sounds Oddly

When I build my game to WebGL, a couple of sounds are distorted while the others work well. In the Unity Editor, everything works fine though.

All of my audio is imported in the same way (using the default settings) and are all .wav files. I am also playing all of my audio exactly the same by using a SoundManager class that adds audio source components on Awake and plays a specified audio clip using the audio source that has that clip assigned to its “clip” variable (it is heavily inspired by Brackey’s audio manager video).

I assume you did not create and save these wav files yourself? These may have been made with different programs and settings. Try to open them in Audacity and re-export them all with the same settings (eg 16bit 22khz mono). Also check the importer settings, you can probably adjust some of the settings in there as well.

I did not create the sounds that are playing weirdly, but I have edited every sound in Audacity and exported them using whatever the default settings are.