# UnloadBank() give me a Warnings

**URL:** <https://qa.fmod.com/t/unloadbank-give-me-a-warnings/18928>\
**Category:** Unity\
**Tags:** unity\
**Created:** [June 22, 2022, 2:50pm UTC](https://qa.fmod.com/t/unloadbank-give-me-a-warnings/18928 "2022-06-22T14:50:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adrian66](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@Adrian66](https://qa.fmod.com/u/Adrian66)\
**Post date:** [June 22, 2022, 2:50pm UTC](https://qa.fmod.com/t/unloadbank-give-me-a-warnings/18928/1 "2022-06-22T14:50:14Z")

</div>

I have some Scenes on unity and a lot of music for each scene. I want load the specific bank for any scene and unload when exit of this scene. The music is too on a TimeLine and the PlayableDirector is play often. The problem is that there are two message of unity that I don’t understand. I have tried stop the playableDirector first that unload the bank, but still arrow me this Warnings.

Message 1:

[FMOD] ObjectLookup::get : Lookup failed for EventModel: {1407484a-1cab-4d6d-9fea-e2d8b21aa6b0}

UnityEngine.Debug:LogWarning (object)  
FMODUnity.RuntimeManager:DEBUG\_CALLBACK (FMOD.DEBUG\_FLAGS,intptr,int,intptr,intptr) (at Assets/Plugins/FMOD/src/Runtime/RuntimeManager.cs:36)  
FMOD.Studio.System:getEvent (string,FMOD.Studio.EventDescription&) (at Assets/Plugins/FMOD/src/Runtime/wrapper/fmod\_studio.cs:428)  
FMODEventPlayable:CreatePlayable (UnityEngine.Playables.PlayableGraph,UnityEngine.GameObject) (at Assets/Plugins/FMOD/src/Runtime/Timeline/FMODEventPlayable.cs:57)  
UnityEngine.Playables.PlayableAsset:Internal\_CreatePlayable (UnityEngine.Playables.PlayableAsset,UnityEngine.Playables.PlayableGraph,UnityEngine.GameObject,intptr) (at /Users/bokken/buildslave/unity/build/Runtime/Export/Director/PlayableAsset.cs:41)

* * *

Message 2:

[FMOD] PlaybackSystem::onDestroyEvent : Destroying event instance ‘200560’ due to event description {1407484a-1cab-4d6d-9fea-e2d8b21aa6b0} unload

UnityEngine.Debug:LogWarning (object)  
FMODUnity.RuntimeManager:DEBUG\_CALLBACK (FMOD.DEBUG\_FLAGS,intptr,int,intptr,intptr) (at Assets/Plugins/FMOD/src/Runtime/RuntimeManager.cs:36)

* * *

The game run well, but I don’t know if this warnings could give me problems in the future.

Thanks for any help,

Adrián.

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [June 28, 2022, 3:49am UTC](https://qa.fmod.com/t/unloadbank-give-me-a-warnings/18928/2 "2022-06-28T03:49:46Z")

</div>

I think these warnings are benign in this context. The first warning means something tried to play an event after the bank was unloaded and the second warning is letting you know that an event that was still playing was stopped and destroyed because a bank was unloaded. You could try calling [`Bus.stopAllEvents`](https://fmod.com/resources/documentation-api?version=2.02&page=studio-api-bus.html#studio_bus_stopallevents) on the master bus before unloading the banks to make sure nothing else is trying to play- but otherwise I don’t think there’s anything to worry about here.

---

<div class="post-metadata">

**Author:** ![Adrian66](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@Adrian66](https://qa.fmod.com/u/Adrian66)\
**Post date:** [June 28, 2022, 8:27pm UTC](https://qa.fmod.com/t/unloadbank-give-me-a-warnings/18928/3 "2022-06-28T20:27:51Z")

</div>

> [@jeff\_fmod](#):
>
> there’s anything

Thanks Jeff!
