I have migrated project to UE version 24.1 and installed the FMOD UE4 Integration 2.00.06(the only one compatible with UE24). Now, when FMOD AudioComponent is played, project crashes. Code gets caught into infine loop where:
void UFMODAudioComponent::Activate(bool bReset) calls void UFMODAudioComponent::PlayInternal(EFMODSystemContext::Type Context) and that calls SetActive(true); on line 663, etc.
Did anyone else experienced this issue? How do i fix it?
From what I could tell, the problem was only when creating FMODAudioComponent via UFMODBlueprintStatics::PlayEventAttached(…). Components created during construction were OK. In my case, it was called from UFMODAnimNotifyPlay.
For any one interested, I solved my problem by creating my own build of the Integration. I added bool that prevents this from calling multiple times. It is dirty hack, but it works.