In my Timeline I have an Audio Track that I use to play a few wav files during a cutscene. When the cutscene plays in the editor or a standalone executable, everything works fine. When the cutscene plays on a WebGL build, there is no audio from the Timeline. Other game audio works fine in the WebGL build.
A few other sources on the internet mention that the audio asset’s Load Type must be set to Streaming, but this does not resolve the issue for me.
Here are the current settings for the audio file. I have also tried:
checking / unchecking Load In Background
Compression Format: Vorbis
Decompress on Load with and without Preload Audio Data
Is there anything else that I can try or check?
Here are some screenshots of the Timeline and the game object with the Playable Director component. The Audio Source I’m using in the Timeline is attached to the same game object as the Playable Director.
Sorry I forgot to include the Unity version. I am using 2021.3.11f1. If there is a bug in that version specifically then I’ll have to evaluate if it’ll be more work to add a workaround or to transition the project to a newer version.