# The "Build banks to folders mirroring the banks browser hierarchy" option doesn't play nice with the Unity integration

**URL:** <https://qa.fmod.com/t/the-build-banks-to-folders-mirroring-the-banks-browser-hierarchy-option-doesnt-play-nice-with-the-unity-integration/15769>\
**Category:** Unity\
**Created:** [May 14, 2020, 4:19pm UTC](https://qa.fmod.com/t/the-build-banks-to-folders-mirroring-the-banks-browser-hierarchy-option-doesnt-play-nice-with-the-unity-integration/15769 "2020-05-14T16:19:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![TorutheRedFox](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/torutheredfox/32/5255_2.png) [@TorutheRedFox](https://qa.fmod.com/u/TorutheRedFox)\
**Post date:** [May 14, 2020, 4:19pm UTC](https://qa.fmod.com/t/the-build-banks-to-folders-mirroring-the-banks-browser-hierarchy-option-doesnt-play-nice-with-the-unity-integration/15769/1 "2020-05-14T16:19:11Z")

</div>

I wanted to keep my banks organised so I don’t have files strewn at the root of my StreamingAssets folder, so I checked the option and built the banks with it, but for some reason the Unity integration can’t find them if they’re not built into the root of the build folder. Why is that?

---

<div class="post-metadata">

**Author:** ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)\
**Post date:** [May 21, 2020, 3:01am UTC](https://qa.fmod.com/t/the-build-banks-to-folders-mirroring-the-banks-browser-hierarchy-option-doesnt-play-nice-with-the-unity-integration/15769/2 "2020-05-21T03:01:44Z")

</div>

If you’re using a multiple platform build setting then you can point Unity to the root “Build” folder in your FMOD Studio project, however if you’re using a single platform then you will need to point Unity to the platform folder that was used for the FMOD Studio project (eg. “Build/Desktop”).

---

<div class="post-metadata">

**Author:** ![TorutheRedFox](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/torutheredfox/32/5255_2.png) [@TorutheRedFox](https://qa.fmod.com/u/TorutheRedFox)\
**Post date:** [June 7, 2020, 10:02am UTC](https://qa.fmod.com/t/the-build-banks-to-folders-mirroring-the-banks-browser-hierarchy-option-doesnt-play-nice-with-the-unity-integration/15769/3 "2020-06-07T10:02:15Z")

</div>

The integration cannot find the banks either way. It only looks in the root of the folder you selected

---

<div class="post-metadata">

**Author:** ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)\
**Post date:** [June 17, 2020, 6:13am UTC](https://qa.fmod.com/t/the-build-banks-to-folders-mirroring-the-banks-browser-hierarchy-option-doesnt-play-nice-with-the-unity-integration/15769/4 "2020-06-17T06:13:58Z")

</div>

It looks like this is an issue with the integration not looking for folders in the built banks folder regardless of the settings. We’ll look into fixing this for a future release. In the meantime please set the FMOD Studio project’s settings to not mirror the banks browser hierarchy to make it work for the time being.

---

<div class="post-metadata">

**Author:** ![TorutheRedFox](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/torutheredfox/32/5255_2.png) [@TorutheRedFox](https://qa.fmod.com/u/TorutheRedFox)\
**Post date:** [June 17, 2020, 2:20pm UTC](https://qa.fmod.com/t/the-build-banks-to-folders-mirroring-the-banks-browser-hierarchy-option-doesnt-play-nice-with-the-unity-integration/15769/5 "2020-06-17T14:20:19Z")

</div>

That’s what I’m doing at the moment.

---

<div class="post-metadata">

**Author:** ![NobleRobot](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/noblerobot/32/7743_2.png) [@NobleRobot](https://qa.fmod.com/u/NobleRobot)\
**Post date:** [January 3, 2025, 8:42am UTC](https://qa.fmod.com/t/the-build-banks-to-folders-mirroring-the-banks-browser-hierarchy-option-doesnt-play-nice-with-the-unity-integration/15769/6 "2025-01-03T08:42:12Z")

</div>

It’s been **over 4 years** and this is still not fixed?

What seems to happen in RuntimeManager is that it _does_ load the bank at the correct path including the subfolder, but only because the subfolder is part of `bankName` string (a la “Music/Level1”), but then for some reason it also tries to load a bank using the same `bankName` but this time _without_ the subfolder (a la “Level 1”), and that’s where it throws an error.

I cannot figure out where it’s getting this extra copy of the name from or even how it’s truncating it to remove the subfolder.

I’m happy to hack this code myself, but I don’t know where to look. It appears to be a trivial issue, but apparently there’s some hidden complexity I’m not seeing.

I really don’t want to use the workaround of not using subfolders here mainly because of name collisions, so any advice would be appreciated.

---

<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 7, 2025, 10:13pm UTC](https://qa.fmod.com/t/the-build-banks-to-folders-mirroring-the-banks-browser-hierarchy-option-doesnt-play-nice-with-the-unity-integration/15769/7 "2025-01-07T22:13:10Z")

</div>

Which FMOD integration version are you using?  
Can you share the error you are getting?

---

<div class="post-metadata">

**Author:** ![NobleRobot](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/noblerobot/32/7743_2.png) [@NobleRobot](https://qa.fmod.com/u/NobleRobot)\
**Post date:** [February 5, 2025, 3:55pm UTC](https://qa.fmod.com/t/the-build-banks-to-folders-mirroring-the-banks-browser-hierarchy-option-doesnt-play-nice-with-the-unity-integration/15769/8 "2025-02-05T15:55:45Z")

</div>

I’m using FMOD Studio 2.02.26 with Unity 6000.0.35

I’ve described the issue as fully as it can be described. It’s trying to load a nonexistant bank, so whatever the normal error for that is.

I believe it’s easily reproducible. Let me know if you can’t. I suppose it’s possible there’s something in my config, but I don’t have time to initiate an investigation at the moment.

Am I simply mistaken? Was this feature added and supposed to work now?

---

<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:** [February 5, 2025, 10:08pm UTC](https://qa.fmod.com/t/the-build-banks-to-folders-mirroring-the-banks-browser-hierarchy-option-doesnt-play-nice-with-the-unity-integration/15769/9 "2025-02-05T22:08:07Z")

</div>

So far I have been unable to reproduce the issue myself. As far as I can tell it is all working as expected.

If you could provide a copy of your logs containing the errors and any screenshots of your FMOD-Unity settings, it may help to identify the issue.

---

<div class="post-metadata">

**Author:** ![NobleRobot](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/noblerobot/32/7743_2.png) [@NobleRobot](https://qa.fmod.com/u/NobleRobot)\
**Post date:** [February 9, 2025, 12:49pm UTC](https://qa.fmod.com/t/the-build-banks-to-folders-mirroring-the-banks-browser-hierarchy-option-doesnt-play-nice-with-the-unity-integration/15769/10 "2025-02-09T12:49:45Z")

</div>

I’ll give this another try, knowing it’s supposed to work. Thanks.
