Answered
0
1

Hello,

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.
enter image description here

This then completes, and calls the OnEventStopped delegate.
enter image description here

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?

Cheers,
Isaac

  • You must to post comments
Best Answer
0
0

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.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.