OnEventStopped on FMODAudioComponent spams when changing component event and playing.


The bindings to the OnEventStoppped delegate on the FMOD actor component will spam any events bound to it if an event has been played from the component, the component’s event is changed and play is then called on the Component.

I am attempting to use an audio component on an actor to play audio tracks (events) from an blueprint actor with a single audio component. Initially the game starts with a theme song.

This then completes, and calls the OnEventStopped delegate.

After the play is called, the OnEventStopped begins to get spammed which causes music tracks to overlap. Stopped the component before starting does not fix the problem. Also using custom events or trying to unbind any events from the delegate after each OnEventStopped does not help either.

Am I missing a step, or is this a bug?


You have set up your event correctly. I’ve just investigated and there is an issue if you trigger an event to play as part of that OnEventStopped callback. It will be fixed in the next patch release.

In the meantime, you can work around it by adding a delay node with 0s between the OnEventStopped and the additional logic.