# Failed to write bank "xxx" because the build file is locked

**URL:** https://qa.fmod.com/t/failed-to-write-bank-xxx-because-the-build-file-is-locked/13242
**Category:** FMOD Studio
**Created:** [June 20, 2017, 12:11am UTC](https://qa.fmod.com/t/failed-to-write-bank-xxx-because-the-build-file-is-locked/13242 "2017-06-20T00:11:49Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![dsorce](https://avatars.discourse-cdn.com/v4/letter/d/48db29/32.png) [@dsorce](https://qa.fmod.com/u/dsorce)
#### Post date: [June 20, 2017, 12:11am UTC](https://qa.fmod.com/t/failed-to-write-bank-xxx-because-the-build-file-is-locked/13242/1 "2017-06-20T00:11:49Z")

</div>

I’m trying to build desktop version and i get this error. Which stops me from building

FMOD Studio 1.09.05

---

<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 20, 2017, 1:27am UTC](https://qa.fmod.com/t/failed-to-write-bank-xxx-because-the-build-file-is-locked/13242/2 "2017-06-20T01:27:45Z")

</div>

Hi Dan,

You might not have permission to write to your build folder. If you’re using Source Control be sure to check out the project or check you have permissions to read/write to your build folder and banks.

Also, be sure you are not currently running a game using those banks (such as running in preview mode in Unity).

Thanks,  
Richard

---

<div class="post-metadata">

### Author: ![dsorce](https://avatars.discourse-cdn.com/v4/letter/d/48db29/32.png) [@dsorce](https://qa.fmod.com/u/dsorce)
#### Post date: [June 20, 2017, 4:33pm UTC](https://qa.fmod.com/t/failed-to-write-bank-xxx-because-the-build-file-is-locked/13242/3 "2017-06-20T16:33:24Z")

</div>

Thanks for this possible answer Richard. Unfortunately its not letting me write anywhere.

---

<div class="post-metadata">

### Author: ![dsorce](https://avatars.discourse-cdn.com/v4/letter/d/48db29/32.png) [@dsorce](https://qa.fmod.com/u/dsorce)
#### Post date: [June 20, 2017, 4:48pm UTC](https://qa.fmod.com/t/failed-to-write-bank-xxx-because-the-build-file-is-locked/13242/4 "2017-06-20T16:48:17Z")

</div>

I can build some banks but others i can’t

---

<div class="post-metadata">

### Author: ![dsorce](https://avatars.discourse-cdn.com/v4/letter/d/48db29/32.png) [@dsorce](https://qa.fmod.com/u/dsorce)
#### Post date: [June 20, 2017, 5:59pm UTC](https://qa.fmod.com/t/failed-to-write-bank-xxx-because-the-build-file-is-locked/13242/5 "2017-06-20T17:59:47Z")

</div>

when opening the designer project. I found there were “/” for bank names. It wanted to write to a folder that didn’t exist. If i created the folder… i was able to build the bank.

![enter image description here](https://dl.dropboxusercontent.com/u/627377/Pasted%20image%20at%202017_06_20%2010_26%20AM.png)

---

<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 20, 2017, 11:07pm UTC](https://qa.fmod.com/t/failed-to-write-bank-xxx-because-the-build-file-is-locked/13242/6 "2017-06-20T23:07:20Z")

</div>

> [@](#):
>
> when opening the designer project. I found there were “/” for bank names. It wanted to write to a folder that didn’t exist. If i created the folder… i was able to build the bank.
> 
> ![enter image description here](https://dl.dropboxusercontent.com/u/627377/Pasted%20image%20at%202017_06_20%2010_26%20AM.png)

Hi Dan,

Glad to hear it worked out for you.

How did you get the forward slash in the name of the bank? We do not allow that in FMOD Designer or FMOD Studio.

Thanks,  
Richard

---

<div class="post-metadata">

### Author: ![dsorce](https://avatars.discourse-cdn.com/v4/letter/d/48db29/32.png) [@dsorce](https://qa.fmod.com/u/dsorce)
#### Post date: [June 21, 2017, 10:21pm UTC](https://qa.fmod.com/t/failed-to-write-bank-xxx-because-the-build-file-is-locked/13242/7 "2017-06-21T22:21:09Z")

</div>

its it opened that way from designer, you can also add them in the batch rename script

---

<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 22, 2017, 3:54am UTC](https://qa.fmod.com/t/failed-to-write-bank-xxx-because-the-build-file-is-locked/13242/8 "2017-06-22T03:54:14Z")

</div>

Thanks, Dan. I’ve added something to our tracker about this - thanks for bringing it to our attention.

---

<div class="post-metadata">

### Author: ![dsorce](https://avatars.discourse-cdn.com/v4/letter/d/48db29/32.png) [@dsorce](https://qa.fmod.com/u/dsorce)
#### Post date: [June 22, 2017, 7:49pm UTC](https://qa.fmod.com/t/failed-to-write-bank-xxx-because-the-build-file-is-locked/13242/9 "2017-06-22T19:49:57Z")

</div>

i do need this function to name path names. I need “blank/bear/attack” to be available. We use these path names

---

<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 23, 2017, 4:07am UTC](https://qa.fmod.com/t/failed-to-write-bank-xxx-because-the-build-file-is-locked/13242/10 "2017-06-23T04:07:47Z")

</div>

Hi Dan,

We don’t support building to a directory tree like that currently but I can add this suggestion to our tracker.

Thanks,  
Richard
