Currently FMODAudioComponent uses the default value for PrimaryComponentTick.bStartWithTickEnabled, which is true. This causes the component to tick, even if Auto Activate is disabled. In that case the TickComponent() function won't even do anything, because it checks the bIsActive flag.
Setting PrimaryComponentTick.bStartWithTickEnabled to false in the constructor solves this problem. Whenever the event is started PlayInternal() will activate the tick by calling SetComponentTickEnabled(true).
Currently
FMODAudioComponent
uses the default value forPrimaryComponentTick.bStartWithTickEnabled
, which istrue
. This causes the component to tick, even if Auto Activate is disabled. In that case theTickComponent()
function won't even do anything, because it checks thebIsActive
flag.Setting
PrimaryComponentTick.bStartWithTickEnabled
tofalse
in the constructor solves this problem. Whenever the event is startedPlayInternal()
will activate the tick by callingSetComponentTickEnabled(true)
.