# \[Bug\] Bank load Error on Unity 2021

**URL:** <https://qa.fmod.com/t/bug-bank-load-error-on-unity-2021/18673>\
**Category:** Unity\
**Tags:** unity, csharp\
**Created:** [April 19, 2022, 2:02pm UTC](https://qa.fmod.com/t/bug-bank-load-error-on-unity-2021/18673 "2022-04-19T14:02:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![saitohughes](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@saitohughes](https://qa.fmod.com/u/saitohughes)\
**Post date:** [April 19, 2022, 2:02pm UTC](https://qa.fmod.com/t/bug-bank-load-error-on-unity-2021/18673/1 "2022-04-19T14:02:14Z")

</div>

Hi everyone,

I´m working on a unity Project on version 2021.2.9, and this error appear in console when i try to integrate the FMOD project, i also built the FMOD project and updated all plugins for FMOD (FMOD plugin on Unity and Resonance Audio for unity), also i updated all resonance references on my project, but the real problem is when i play my game on editor and build, the events aren´t called and this error appears  
The error:

BankLoadException: [FMOD] Could not load bank ‘Assets/FMOD project/EspaciosConfinados\_FmodProject/Build/Desktop/Master.bank’ : ERR\_PLUGIN : An unspecified error has been returned from a plugin.  
FMODUnity.RuntimeManager.loadedBankRegister (FMODUnity.RuntimeManager+LoadedBank loadedBank, System.String bankPath, System.String bankName, System.Boolean loadSamples, FMOD.RESULT loadResult) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:858)  
FMODUnity.RuntimeManager.LoadBank (System.String bankName, System.Boolean loadSamples) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:964)  
FMODUnity.RuntimeManager.LoadBanks (FMODUnity.Settings fmodSettings) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:1069)  
UnityEngine.Debug:LogException(Exception)  
FMODUnity.RuntimeUtils:DebugLogException(Exception) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:565)  
FMODUnity.RuntimeManager:LoadBanks(Settings) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:1076)  
FMODUnity.RuntimeManager:Initialize() (at Assets/Plugins/FMOD/src/RuntimeManager.cs:371)  
FMODUnity.RuntimeManager:get\_Instance() (at Assets/Plugins/FMOD/src/RuntimeManager.cs:163)  
FMODUnity.RuntimeManager:get\_StudioSystem() (at Assets/Plugins/FMOD/src/RuntimeManager.cs:186)  
FMODUnity.RuntimeManager:AddListener(StudioListener) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:438)  
FMODUnity.StudioListener:OnEnable() (at Assets/Plugins/FMOD/src/StudioListener.cs:28)

Thanks for help!

---

<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:** [April 22, 2022, 5:44am UTC](https://qa.fmod.com/t/bug-bank-load-error-on-unity-2021/18673/2 "2022-04-22T05:44:58Z")

</div>

Have you added “resonanceaudio” to the [Dynamic Plugins List](https://fmod.com/resources/documentation-unity?version=2.02&page=plugins.html) for the Editor platform?

---

<div class="post-metadata">

**Author:** ![Opus.Pier](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/opus.pier/32/2221_2.png) [@Opus.Pier](https://qa.fmod.com/u/Opus.Pier)\
**Post date:** [May 17, 2022, 10:23am UTC](https://qa.fmod.com/t/bug-bank-load-error-on-unity-2021/18673/3 "2022-05-17T10:23:25Z")

</div>

Getting the same error here, for Android.  
The project is using Unity 2021.2.12f1 and FMOD 2.02.04. Also, the Banks are manually loaded as AssetBundles.  
Had already added ‘resonanceaudio’ -as instructed on the link- to the FMOD Settings, under “Platform Specific” \> “Default” \> “Dynamic Plugins”.  
This seems to work fine on Editor and Window’s builds, where I’m able to run the scene and hear the sounds.

However, I’m seeing this error on the Android build. (Testing on a Oculus Quest 2.)  
Banks that do not have Events with a Resonance Audio Source attached seem to load fine, but the ones that do show that error:  
[FMOD] Could not load bank ‘BGM’ : ERR\_PLUGIN : An unspecified error has been returned from a plugin. at FMODUnity

For testing, I tried removing ‘resonanceaudio’ from the FMOD Settings, and the error I get is different:  
[FMOD] Could not load bank ‘Master’ : ERR\_PLUGIN\_MISSING : A requested output, dsp unit type or codec was not available. at FMODUnity

Also for testing, under “Platform Specific”, tried adding an “Android” platform with same results.

Looking inside the apk, the .so file does seem to be included. (under lib\armeabi-v7a\ )  
And changing the “Logging Level” to “Log” doesn’t seem to be giving any extra information.

The test scene of the the Resonance Audio plugin for Unity (without FMOD) seems to be working without issues on Oculus.

Not sure if it’s a bug or if I’m just missing something on the settings, but I’m running out of ideas, so any help would be appreciated!

---

<div class="post-metadata">

**Author:** ![saitohughes](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@saitohughes](https://qa.fmod.com/u/saitohughes)\
**Post date:** [May 17, 2022, 8:57pm UTC](https://qa.fmod.com/t/bug-bank-load-error-on-unity-2021/18673/4 "2022-05-17T20:57:18Z")

</div>

Hi jeff, yes i add to Dynamic Plugin List and that wasn´t resolve it, right now it , what i´m doing to solve that error, was

reinstall the FMOD resonance plugin for your github page  
Add to dynamic plugins in editor and in desktop platform  
delete de FMOD.dll on this folder  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/a/a34308a0548135af2037bd0afa43b6ce8737038a.png)

the final step, i build again the FMOD project and re-linked the bank folder  
and it works

---

<div class="post-metadata">

**Author:** ![Opus.Pier](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/opus.pier/32/2221_2.png) [@Opus.Pier](https://qa.fmod.com/u/Opus.Pier)\
**Post date:** [May 19, 2022, 10:11am UTC](https://qa.fmod.com/t/bug-bank-load-error-on-unity-2021/18673/5 "2022-05-19T10:11:10Z")

</div>

In my case, for Android, the issue turned out to be the same as in this thread:

> [@Unreal 4.27 Quest build issue loading banks using resonance](https://qa.fmod.com/t/unreal-4-27-quest-build-issue-loading-banks-using-resonance/18054/6):
>
> Is there a fix for this yet?

Updating libresonanceaudio.so to the file included on 2.02.06 and adding libc++\_shared.so in the build seems to have solved the issue.

---

<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:** [May 27, 2022, 12:24am UTC](https://qa.fmod.com/t/bug-bank-load-error-on-unity-2021/18673/6 "2022-05-27T00:24:03Z")

</div>

Thank you for reporting this issue and sharing your solution- I have passed your findings on to the dev team to fix in a future release.
