Search Issue Tracker

Won't Fix

Votes

6

Found in

2017.2.0f3

Issue ID

960731

Regression

No

[WebGL] FMOD error spam when playing audio clip with timeline

WebGL

-

-e: see title

-repro:
--create new project
--import attached unity package
--build and run WebGL
--NOTICE that audio clip gets played but the browser console is being spammed with FMOD errors

FMOD returns error code 36 (FMOD_ERR_INVALID_HANDLE) executing getNumOutputs
Users/builduser/buildslave/unity/build/Modules/Audio/Public/Director/AudioPlayable.cpp(24) : Error executing headDSP->getNumOutputs(&outputCount) (An invalid object handle was used. )

FMOD returns error code 78 (FMOD_ERR_UNIMPLEMENTED) executing setUserData
/Users/builduser/buildslave/unity/build/Modules/Audio/Public/Director/AudioPlayable.cpp(317) : Error executing m_ChannelGroup->setUserData(CHANNELGROUP_REFRESH_REQUIRED) (Something in FMOD hasn't been implemented when it should be! contact support! )

Comments (15)

  1. YaroslavSm

    Mar 03, 2023 12:49

    won't fix
    ok
    I won't use this pos

  2. Riffar

    Apr 21, 2022 20:30

    EDIT: in 2021.3.0f1, when browser window is minimized, or another browser tab is active, coming back to the tab with the game makes the audio work. Please help!

  3. Riffar

    Apr 21, 2022 20:19

    Still getting these errors in WEBGL builds from 2021.3.0f1 ( = 2021 LTS !!!) and audio won't play.
    Getting the same errors from 2020.3.26f1 but audio plays there. So that means I have to continue my project with the old version instead of the newer LTS version??

  4. carolinecharlene59

    Aug 11, 2021 09:27

    I'm using 2021.1.13f1 and it's stille happening...

  5. naber78

    Apr 19, 2021 17:59

    Fixed in 2021.2.X, will it be fixed in 2020 LTS as well?

  6. MidniteOil

    Dec 12, 2020 23:10

    Make that December 2020 and still happening!!!

    ./Modules/Audio/Public/Director/AudioMixerPlayable.cpp(93) : Error executing m_DSPConnection->setMix(attenuation) (Something in FMOD hasn't been implemented when it should be! contact support! )

    ./Modules/Audio/Public/Director/AudioPlayable.cpp(28) : Error executing headDSP->getNumOutputs(&outputCount) (An invalid object handle was used. )

  7. rendermouse

    Nov 17, 2020 15:30

    It's November, 2020 and I am seeing this issue as well.

    "Won't fix."

    Why?

  8. insominx

    Aug 27, 2020 16:36

    After some back and forth, I have gotten an issue related to this created here: https://issuetracker.unity3d.com/issues/webgl-fmod-error-spam-in-the-console-when-playing-an-audio-clip-in-a-timeline

  9. insominx

    Aug 17, 2020 17:24

    Why wouldn't you fix this? Lots of things are not supported in a web browser... but the way you handle that is not by leaving code in there that tries to do it anyway. Having a simple audio clip in a timeline does not require using anything that the WebAudio API does not provide. FMOD code should not be left in the build to spew errors when it isn't being used anyway.

  10. JuanJSAR

    Dec 19, 2019 14:26

    The same problem occurs in Unity 2018.4.13f1
    I only have 1 “AudioSource” in the whole project so I don't think this is the reason.
    Is there any way to fix it?

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.