in order to clean up my event instances, I use the call back to tell me when they finish so I can release them.
However, I find that many times an eventInstance will not start playing (either due to max voice constraint or something else).
in that case, there is no callback or any method as far as I can tell to inform me so that I can clean up the instance and not wait for a callback that will never happen.
The only method I can think of is to set a flag from the callback when the instance actually starts playing, and poll all event instances to see which ones didn’t start after a second or so.
This was added as FMOD_STUDIO_EVENT_CALLBACK_START_FAILED in the event callback type. See the event callback section for more info:
Please login first to submit.