UnityRef is currently in early development. Some features may be incomplete and/or not functioning.

UNITYREF

Your Pit Stop For Solving ANYTHING in Unity

assets

[WebGL Audio] Resolve 'Loading FSB Failed for Audio'

Under Audit

mobile development

Unity 2019.4.x - Unity 6.0.x

Published Sun, Mar 15

A persistent 'Loading FSB failed for audio' error can occur in WebGL builds, indicating an issue with audio file loading despite not being immediately game-breaking.

Issue

 When building for WebGL, a 'Loading FSB failed for audio (audio clip name)' error may occasionally appear in the console. While this error does not seem to immediately break game functionality, its underlying cause is not well-documented, making troubleshooting difficult. The FSB format is related to FMOD Studio Bank files, which are used by the audio system.

Experimental Fixes
  • Review the Load Type setting for audio clips in the Inspector. Consider Decompress On Load for smaller files or Streaming for larger ones to manage memory and load times in WebGL.
  • Verify that the audio clip’s Compression Format is set to Vorbis or PCM for WebGL compatibility, as some formats may not be fully supported.
  • Examine Project Settings > Audio to ensure Enable Audio is active and consider adjusting Sample Rate or WebGLLoadingAudioTimeout if relevant.

Editor's Note:

The above fixes have not been verified by our audit team yet. They are provided exclusively for your own technical research. We recommend creating a backup of your project before proceeding with any attempts. Utilize at your own discretion!

Related Posts Haven't quite found a solution to your problem? We think these posts might help you.

Content inspired by a Unity discussion post.