# Audio in editor, but not build

**URL:** https://qa.fmod.com/t/audio-in-editor-but-not-build/11446
**Category:** Unity
**Created:** [May 7, 2014, 11:52am UTC](https://qa.fmod.com/t/audio-in-editor-but-not-build/11446 "2014-05-07T11:52:40Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![HiFiHair](https://avatars.discourse-cdn.com/v4/letter/h/94ad74/32.png) [@HiFiHair](https://qa.fmod.com/u/HiFiHair)
#### Post date: [May 7, 2014, 11:52am UTC](https://qa.fmod.com/t/audio-in-editor-but-not-build/11446/1 "2014-05-07T11:52:40Z")

</div>

Hello,

I apologise for how broad a question this is, but are there any common pitfalls that might cause FMOD Unity Integration to play audio fine in editor, but for no audio to play in a Windows or Mac build of the game?

I have followed the steps as described in the documentation here: [http://52.88.2.202/files/UnityDocumentation.pdf](http://52.88.2.202/files/UnityDocumentation.pdf)

Just to reiterate, audio plays and is triggered correctly in the editor, but when I come to run the game no audio is played and it is not possible to connect FMOD Studio to the built game. I am running Unity Pro. I have added FMOD\_LIVEUPDATE to Scripting Define Symbols.

Any guidance much appreciated!

---

<div class="post-metadata">

### Author: ![Guest1](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@Guest1](https://qa.fmod.com/u/Guest1)
#### Post date: [June 11, 2014, 11:49pm UTC](https://qa.fmod.com/t/audio-in-editor-but-not-build/11446/2 "2014-06-11T23:49:37Z")

</div>

I can confirm that we have seen issues with OSX 10.6 and lower, we have reproduced the issue but have not found a solution yet. We are documenting it as a known issue for the time being, I am sorry for the inconvenience.

---

<div class="post-metadata">

### Author: ![dnishimura](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/dnishimura/32/25_2.png) [@dnishimura](https://qa.fmod.com/u/dnishimura)
#### Post date: [May 20, 2014, 9:07pm UTC](https://qa.fmod.com/t/audio-in-editor-but-not-build/11446/3 "2014-05-20T21:07:23Z")

</div>

To those working on macs: It seems that FMOD Unity Implementation doesn’t work on Snow Leopard (10.6.2 and below). Neither at the editor, nor as a standalone build. It gives a runtime error, something like “couldn’t load libfmodstudio”.

---

<div class="post-metadata">

### Author: ![dnishimura](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/dnishimura/32/25_2.png) [@dnishimura](https://qa.fmod.com/u/dnishimura)
#### Post date: [May 20, 2014, 6:28pm UTC](https://qa.fmod.com/t/audio-in-editor-but-not-build/11446/4 "2014-05-20T18:28:44Z")

</div>

metaphysician, take a look at this post:

[viewtopic.php?f=21&t=18931#p59523](http://52.88.2.202/forum/viewtopic.php?f=21&t=18931#p59523)

---

<div class="post-metadata">

### Author: ![FredInglez](https://avatars.discourse-cdn.com/v4/letter/f/ccd318/32.png) [@FredInglez](https://qa.fmod.com/u/FredInglez)
#### Post date: [May 14, 2014, 7:09am UTC](https://qa.fmod.com/t/audio-in-editor-but-not-build/11446/5 "2014-05-14T07:09:10Z")

</div>

Hi, I’m having the same issue…

---

<div class="post-metadata">

### Author: ![Roudolf](https://avatars.discourse-cdn.com/v4/letter/r/9fc348/32.png) [@Roudolf](https://qa.fmod.com/u/Roudolf)
#### Post date: [May 14, 2014, 12:52pm UTC](https://qa.fmod.com/t/audio-in-editor-but-not-build/11446/6 "2014-05-14T12:52:14Z")

</div>

I had the same issue and managed to solve it by manually copying the fmod.dll, fmodstudio.dll and fmod\_distance\_filter.dll files to the root folder of my standalone build.

---

<div class="post-metadata">

### Author: ![dnishimura](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/dnishimura/32/25_2.png) [@dnishimura](https://qa.fmod.com/u/dnishimura)
#### Post date: [May 14, 2014, 10:43pm UTC](https://qa.fmod.com/t/audio-in-editor-but-not-build/11446/7 "2014-05-14T22:43:19Z")

</div>

It happened to me, but I fixed it by disabling the LIVE\_UPDATE from my global defines. I’m using OSX 10.9.2  
Also, there’s something that is bothering me… My game is targetting the PC platform, and I won’t release it on mobile platforms, so I removed the ios and android folders. The audio didn’t work, and reading the logs I realised it needs the .so files from the Android folder. If those files are needed in other platforms, they shouldn’t be under a specific platform folder, imho.

---

<div class="post-metadata">

### Author: ![FredInglez](https://avatars.discourse-cdn.com/v4/letter/f/ccd318/32.png) [@FredInglez](https://qa.fmod.com/u/FredInglez)
#### Post date: [May 16, 2014, 9:08pm UTC](https://qa.fmod.com/t/audio-in-editor-but-not-build/11446/8 "2014-05-16T21:08:07Z")

</div>

What’s happening to me is that when I build the project and open it in my own computer (that has a windows vista installed on it) it plays fine. But if I copy it to another computer and open it it doesn’t play any sounds… I’ve tried on Macs as well, but it’s the same situation.

---

<div class="post-metadata">

### Author: ![metaphysician](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@metaphysician](https://qa.fmod.com/u/metaphysician)
#### Post date: [May 20, 2014, 2:22am UTC](https://qa.fmod.com/t/audio-in-editor-but-not-build/11446/9 "2014-05-20T02:22:15Z")

</div>

> [@FredInglez](#):
>
> What’s happening to me is that when I build the project and open it in my own computer (that has a windows vista installed on it) it plays fine. But if I copy it to another computer and open it it doesn’t play any sounds… I’ve tried on Macs as well, but it’s the same situation.

I get variants on this same behavior in my school where i’m teaching FMOD Studio with Unity integration. it seems to be related to some kind of path preservation. i can integrate everything fine here at home and can test it in an app build, but when i bring the setup anywhere else a wide variety of unpredictable things can happen. one issue i had was in updating the integration to a newer version. it didn’t work but gave the appearance of working until you went and built. then you got a ton of NullRef errors. i found out i had to delete all traces of the previous integration (including the the libraries installed outside the Assets folder) and install the newer one from scratch. other students had similar unstable issues going back and forth between home and school. this was in updating integration from 1.03.01 to 1.03.06.

frankly, i’m a bit frazzled - i’m going to do some more testing to see if i can narrow down the issues, and if i can’t get to a repeatable method, i’m going to put off teaching it or recommending it until it’s more stable. it’s not even remotely close to prototype ready for me, much less production ready.

---

<div class="post-metadata">

### Author: ![HiFiHair](https://avatars.discourse-cdn.com/v4/letter/h/94ad74/32.png) [@HiFiHair](https://qa.fmod.com/u/HiFiHair)
#### Post date: [May 7, 2014, 12:11pm UTC](https://qa.fmod.com/t/audio-in-editor-but-not-build/11446/10 "2014-05-07T12:11:00Z")

</div>

When I run a development build the following error is shown:

> [@](#):
>
> Event retrieval failed:  
> {2c2ef599-4bc4-45e6-93f7-a9361cae7ef0}

The error does not appear when the FMOD Studio Event Emitters are removed.

---

<div class="post-metadata">

### Author: ![Guest1](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@Guest1](https://qa.fmod.com/u/Guest1)
#### Post date: [May 7, 2014, 11:33pm UTC](https://qa.fmod.com/t/audio-in-editor-but-not-build/11446/11 "2014-05-07T23:33:46Z")

</div>

HI HiFiHair,

Please send your Unity project and your FMOD Studio project through to [support@fmod.org](mailto:support@fmod.org) and I will take a look.

---

<div class="post-metadata">

### Author: ![AKAdriano](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@AKAdriano](https://qa.fmod.com/u/AKAdriano)
#### Post date: [October 15, 2014, 1:57pm UTC](https://qa.fmod.com/t/audio-in-editor-but-not-build/11446/12 "2014-10-15T13:57:38Z")

</div>

> [@](#):
>
> HI HiFiHair,
> 
> Please send your Unity project and your FMOD Studio project through to [support@fmod.org](mailto:support@fmod.org) and I will take a look.

Was the issue ever resolved? This sounds like the exact same problem im having with my Unity/Fmod Studio project. Audio works fine in editor but i get no audio in build.

---

<div class="post-metadata">

### Author: ![Guest1](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@Guest1](https://qa.fmod.com/u/Guest1)
#### Post date: [October 15, 2014, 11:25pm UTC](https://qa.fmod.com/t/audio-in-editor-but-not-build/11446/13 "2014-10-15T23:25:02Z")

</div>

No unfortunately the incompatibility with OSX 10.6 and lower is still a known issue.

---

<div class="post-metadata">

### Author: ![MarcoAlkema](https://avatars.discourse-cdn.com/v4/letter/m/e9a140/32.png) [@MarcoAlkema](https://qa.fmod.com/u/MarcoAlkema)
#### Post date: [September 22, 2014, 3:33pm UTC](https://qa.fmod.com/t/audio-in-editor-but-not-build/11446/14 "2014-09-22T15:33:01Z")

</div>

I’m experiencing the same trouble as HiFiFair.  
Suddenly Unity is unable to retrieve my sounds.  
Could you maybe shine some light on this, Peter?

---

<div class="post-metadata">

### Author: ![MarcoAlkema](https://avatars.discourse-cdn.com/v4/letter/m/e9a140/32.png) [@MarcoAlkema](https://qa.fmod.com/u/MarcoAlkema)
#### Post date: [September 22, 2014, 3:33pm UTC](https://qa.fmod.com/t/audio-in-editor-but-not-build/11446/15 "2014-09-22T15:33:03Z")

</div>

I’m experiencing the same trouble as HiFiFair.  
Suddenly Unity is unable to retrieve my sounds.  
Could you maybe shine some light on this, Peter?

---

<div class="post-metadata">

### Author: ![Guest1](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@Guest1](https://qa.fmod.com/u/Guest1)
#### Post date: [October 6, 2014, 12:56am UTC](https://qa.fmod.com/t/audio-in-editor-but-not-build/11446/16 "2014-10-06T00:56:59Z")

</div>

> [@](#):
>
> I’m experiencing the same trouble as HiFiFair.  
> Suddenly Unity is unable to retrieve my sounds.  
> Could you maybe shine some light on this, Peter?

Unfortunately we still haven’t found the cause of the incompatibility with OSX 10.6.
