Unity WebGL Audio
Problems
Audio on Timeline not Playing
./Modules/Audio/Public/Director/AudioPlayable.cpp(24) : Error executing headDSP->getNumOutputs(&outputCount) (An invalid object handle was used. )
FMOD returns error code 36 (FMOD_ERR_INVALID_HANDLE) executing getOutput
FMOD returns error code 78 (FMOD_ERR_UNIMPLEMENTED) executing setMix
FMOD returns error code 78 (r) executing setUserData
FMOD returns error code 78 (FMOD_ERR_UNIMPLEMENTED) executing setUserData
./Modules/Audio/Public/Director/AudioPlayable.cpp(31) : Error executing outputConnection->setMix(mix) (Something in FMOD hasn’t been implemented when it should be! contact support! )
Unity Issue Tracker:
https://issuetracker.unity3d.com/issues/webgl-fmod-error-spam-when-playing-audio-clip-with-timeline
FMOD:
https://www.fmod.com/resources/documentation-api
Solution
Instead of adding the audio clip to the timeline
Create an empty GameObject with AudioSource Component added
Set the Audio Clip you want to play as the clip for the AudioSource
Make sure PlayOnAwake is ticked
Disable the GameObject
Drag the GameObject into the Timeline
Create a new activation Track and Clip