PlaylistInstrumentInstance::startFullLengthHook : Attempting to schedule a sound in the past, this could cause inaccurate playback

Can someone explain me what this warning means, and how to deal with it? I’m getting it a lot :slight_smile: (Using FMOD Studio 1.10.13)

[FMOD] PlaylistInstrumentInstance::startFullLengthHook : Attempting to schedule a sound in the past, this could cause inaccurate playback.

UnityEngine.Debug:LogWarning(Object)
FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, StringWrapper, Int32, StringWrapper, StringWrapper) (at Assets/Plugins/FMOD/RuntimeManager.cs:33)

Thank you! :slight_smile:

Loading bank sample data should help with the “Attempting to schedule a sound in the past” warnings, this is normally a sign that the event hasn’t had enough time to load before it is started.

You can do this either when loading the bank or the Event Instance.

See the API White Paper on Studio Banks for more information.

Thank you Cameron. I’ve tried to use the Studio Bank Loader to do this, but I am still getting the warning. Wasn’t this what you meant with loading the samples before the event it started?

Or could it be because some of my sounds are set to “stream” in FMOD?

If it is streaming sounds causing this then loading the sample data will not have any effect, it only effects compressed sounds.

You may get this warning by having a spawning instrument with a very short spawn interval (< 20ms). Is there any other information in the logs?

Any luck or solution in figuring this out? The same thing is happening in my project. I had this warning showing over 999 times in my project. I have a separate post for my scenario. It’s the “Viking Village trigger zone” post towards the top of this forum group.

This is what I get in the log, does that tell you anything usable?

[FMOD] PlaylistInstrumentInstance::startFullLengthHook : Attempting to schedule a sound in the past, this could cause inaccurate playback.

UnityEngine.Debug:LogWarning(Object)
FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, StringWrapper, Int32, StringWrapper, StringWrapper) (at Assets/Plugins/FMOD/RuntimeManager.cs:33)