Hi! I have a randomly appearing issue with playing an event from start. I’m using the UFMODAudioComponent in my own actor, play an event (it’s a music track), let’s say it reaches bar 16, then I call Stop() on the component so the audio stops. Now, there is a like 5% chance that the next time I’m calling Play() on the component, it just resumes at bar 16 instead of starting from the start.
I’m setting the volume to zero before calling Stop(), because it’s using FMOD_STUDIO_STOP_ALLOWFADEOUT which means it doesn’t actually stop until the volume is zero if I understand that correctly. But still, even when doing that right before calling Play(), there’s a random chance that the track will just continue where it stopped instead of restarting.
Any ideas what could cause this, is there another way of forcing the component to reset the event and start over? I’ve been trying to destroy the component and create it again, but that causes other issues.
The weirdest part is that this just started happening recently, while I had no issues in the two years before that with the same setup… and I checked my Git history, I didn’t change any code that would effect this.