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

**URL:** <https://qa.fmod.com/t/playlistinstrumentinstance-startfulllengthhook-attempting-to-schedule-a-sound-in-the-past-this-could-cause-inaccurate-playback/14789>\
**Category:** Unity\
**Created:** [June 18, 2019, 2:01pm UTC](https://qa.fmod.com/t/playlistinstrumentinstance-startfulllengthhook-attempting-to-schedule-a-sound-in-the-past-this-could-cause-inaccurate-playback/14789 "2019-06-18T14:01:07Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![deHaan](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/dehaan/32/68_2.png) [@deHaan](https://qa.fmod.com/u/deHaan)\
**Post date:** [June 18, 2019, 2:01pm UTC](https://qa.fmod.com/t/playlistinstrumentinstance-startfulllengthhook-attempting-to-schedule-a-sound-in-the-past-this-could-cause-inaccurate-playback/14789/1 "2019-06-18T14:01:07Z")

</div>

Can someone explain me what this warning means, and how to deal with it? I’m getting it a lot 🙂 (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! 🙂

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [June 23, 2019, 11:49pm UTC](https://qa.fmod.com/t/playlistinstrumentinstance-startfulllengthhook-attempting-to-schedule-a-sound-in-the-past-this-could-cause-inaccurate-playback/14789/2 "2019-06-23T23:49:31Z")

</div>

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](https://www.fmod.com/resources/documentation-api?version=2.0&page=white-papers-studio-banks.html#sample-data) for more information.

---

<div class="post-metadata">

**Author:** ![deHaan](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/dehaan/32/68_2.png) [@deHaan](https://qa.fmod.com/u/deHaan)\
**Post date:** [July 12, 2019, 1:02pm UTC](https://qa.fmod.com/t/playlistinstrumentinstance-startfulllengthhook-attempting-to-schedule-a-sound-in-the-past-this-could-cause-inaccurate-playback/14789/3 "2019-07-12T13:02:22Z")

</div>

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?

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/1X/4c361d9324aab8d84ef5c0ee77b27df43a6396b5.png)

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

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [July 17, 2019, 10:29pm UTC](https://qa.fmod.com/t/playlistinstrumentinstance-startfulllengthhook-attempting-to-schedule-a-sound-in-the-past-this-could-cause-inaccurate-playback/14789/4 "2019-07-17T22:29:50Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Jamesmello](https://avatars.discourse-cdn.com/v4/letter/j/94ad74/32.png) [@Jamesmello](https://qa.fmod.com/u/Jamesmello)\
**Post date:** [July 27, 2019, 6:36pm UTC](https://qa.fmod.com/t/playlistinstrumentinstance-startfulllengthhook-attempting-to-schedule-a-sound-in-the-past-this-could-cause-inaccurate-playback/14789/5 "2019-07-27T18:36:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![deHaan](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/dehaan/32/68_2.png) [@deHaan](https://qa.fmod.com/u/deHaan)\
**Post date:** [August 27, 2019, 10:58am UTC](https://qa.fmod.com/t/playlistinstrumentinstance-startfulllengthhook-attempting-to-schedule-a-sound-in-the-past-this-could-cause-inaccurate-playback/14789/6 "2019-08-27T10:58:23Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![rh\_galaxy1](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@rh\_galaxy1](https://qa.fmod.com/u/rh_galaxy1)\
**Post date:** [January 22, 2021, 12:32pm UTC](https://qa.fmod.com/t/playlistinstrumentinstance-startfulllengthhook-attempting-to-schedule-a-sound-in-the-past-this-could-cause-inaccurate-playback/14789/7 "2021-01-22T12:32:47Z")

</div>

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

Same here, and the only thing I do in unity is this, so the load bank doesn’t apply to me:

string eventRef = “event:/Main”;  
eventInstance = FMODUnity.RuntimeManager.CreateInstance(eventRef);  
eventInstance.set3DAttributes(FMODUnity.RuntimeUtils.To3DAttributes(gameObject));  
eventInstance.start();

Then I do  
eventInstance.setParameterValue(string, eventValue);

several times, cant see when this is logged, be it in setParameterValue or elsewhere.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [January 29, 2021, 6:20am UTC](https://qa.fmod.com/t/playlistinstrumentinstance-startfulllengthhook-attempting-to-schedule-a-sound-in-the-past-this-could-cause-inaccurate-playback/14789/8 "2021-01-29T06:20:57Z")

</div>

Are you loading the event/bank sample data before trying to play the event?

---

<div class="post-metadata">

**Author:** ![rh\_galaxy1](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@rh\_galaxy1](https://qa.fmod.com/u/rh_galaxy1)\
**Post date:** [January 29, 2021, 11:15am UTC](https://qa.fmod.com/t/playlistinstrumentinstance-startfulllengthhook-attempting-to-schedule-a-sound-in-the-past-this-could-cause-inaccurate-playback/14789/9 "2021-01-29T11:15:01Z")

</div>

Probably not, but I inherited this code and it has just recently been giving me this warning. So I do not know how to manually load bank data in advance from Unity… “Master Bank.bank” is in the StreamingAssets folder (5MB but the wave data in the fmod studio project is 69MB - is it packing it this much?) and I’m using version 1.10.12 of the unity plugin.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [January 31, 2021, 11:01pm UTC](https://qa.fmod.com/t/playlistinstrumentinstance-startfulllengthhook-attempting-to-schedule-a-sound-in-the-past-this-could-cause-inaccurate-playback/14789/10 "2021-01-31T23:01:45Z")

</div>

You can choose to load all banks and their sample data at initialization, from an option in the FMOD Unity settings.  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/9/9c4bd66a029440adae0db9e0c2be0e1eb5bdb6a5.png)

Otherwise, depending on how you are manually loading banks, you can load the sample data from the StudioBankLoader:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/a/a35939d3ab8ac71eea5068db856aab91c16c21d6.png)

Or you can choose load the sample data when loading the banks from code when using `RuntimeManager.LoadBank`.
