# Unity

**URL:** https://qa.fmod.com/c/unity/7.md?no_subcategories=false&page=104

[Latest](https://qa.fmod.com/latest.md) · [Categories](https://qa.fmod.com/categories.md) · [Tags](https://qa.fmod.com/tags.md)

**Page:** 105

---

## [fmodstudio.dylib location after build?](https://qa.fmod.com/t/fmodstudio-dylib-location-after-build/11808)

<div class="topic-metadata">

**Author:** [@synnys](https://qa.fmod.com/u/synnys)\
**Replies:** 1\
**Last updated:** [January 26, 2015, 11:21pm UTC](https://qa.fmod.com/t/fmodstudio-dylib-location-after-build/11808 "2015-01-26T23:21:18Z")

</div>

Hi, I was having trouble getting sound to work. It works flawlessly in the unity editor but when i built it it didn’t work. I’m using 1.05.11 (both FMOD and the unity plugin) I tested on WIN7 and Yosemite. I found th…

---

## [How to set the parameters from event sound modules?](https://qa.fmod.com/t/how-to-set-the-parameters-from-event-sound-modules/11801)

<div class="topic-metadata">

**Author:** [@fsilvestrim](https://qa.fmod.com/u/fsilvestrim)\
**Replies:** 1\
**Last updated:** [January 20, 2015, 2:31am UTC](https://qa.fmod.com/t/how-to-set-the-parameters-from-event-sound-modules/11801 "2015-01-20T02:31:08Z")

</div>

Hello guys, How can I set the parameter from event sound modules? I did not find any (API) way of getting this “nested” event (of mine accessible event) in order to set the parameter of it. What’s the standard way of s…

---

## [Position of audio when using .start() method](https://qa.fmod.com/t/position-of-audio-when-using-start-method/11798)

<div class="topic-metadata">

**Author:** [@Guest3](https://qa.fmod.com/u/Guest3)\
**Replies:** 1\
**Last updated:** [January 16, 2015, 4:35am UTC](https://qa.fmod.com/t/position-of-audio-when-using-start-method/11798 "2015-01-16T04:35:27Z")

</div>

How do you control the position of the audio when using the .start method? In my current Unity project it seems to be positioned at world zero but as the listener moves away the sound gets further away and thus quieter. …

---

## [LowLevelSystem.createSound with byte arrays not working](https://qa.fmod.com/t/lowlevelsystem-createsound-with-byte-arrays-not-working/11796)

<div class="topic-metadata">

**Author:** [@fsilvestrim](https://qa.fmod.com/u/fsilvestrim)\
**Replies:** 1\
**Last updated:** [January 13, 2015, 4:13pm UTC](https://qa.fmod.com/t/lowlevelsystem-createsound-with-byte-arrays-not-working/11796 "2015-01-13T16:13:18Z")

</div>

Hey guys, I’m trying to load an FSB sound bank direct from memory and it doesn’t seem to work. In my project I have an fsb file called bank.fsb and it resides inside the Resources folder. At the beginning I was loadin…

---

## [PLAYBACK\_STATE always reports back as PLAYBACK\_STATE.STOPPED](https://qa.fmod.com/t/playback-state-always-reports-back-as-playback-state-stopped/11791)

<div class="topic-metadata">

**Author:** [@Jorren](https://qa.fmod.com/u/Jorren)\
**Replies:** 2\
**Last updated:** [January 13, 2015, 2:01pm UTC](https://qa.fmod.com/t/playback-state-always-reports-back-as-playback-state-stopped/11791 "2015-01-13T14:01:51Z")

</div>

Hello I’m trying to find out the state of the music that is playing. With the below code, it always reports back as PLAYBACK\_STATE.STOPPED. I would expect the second log message to tell me it is PLAYBACK\_STATE.PLAYING. …

---

## [ERR\_INVALID\_PARAM when converting AudioClip to FMOD.Sound](https://qa.fmod.com/t/err-invalid-param-when-converting-audioclip-to-fmod-sound/11776)

<div class="topic-metadata">

**Author:** [@Footch](https://qa.fmod.com/u/Footch)\
**Replies:** 4\
**Last updated:** [January 6, 2015, 2:20pm UTC](https://qa.fmod.com/t/err-invalid-param-when-converting-audioclip-to-fmod-sound/11776 "2015-01-06T14:20:44Z")

</div>

I’m trying to convert a Unity AudioClip to an FMOD.Sound and I followed that post: http://52.88.2.202/questions/question/load-an-audioclip-as-fmod-sound I have a single FMODSystem object that I use to create various so…

---

## [Unity Integral 1.05.10 WindowsPhone8 Build error..](https://qa.fmod.com/t/unity-integral-1-05-10-windowsphone8-build-error/11772)

<div class="topic-metadata">

**Author:** [@popple](https://qa.fmod.com/u/popple)\
**Replies:** 1\
**Last updated:** [January 5, 2015, 6:30am UTC](https://qa.fmod.com/t/unity-integral-1-05-10-windowsphone8-build-error/11772 "2015-01-05T06:30:57Z")

</div>

Error building Player: Exception: Error: method System.String\[\] System.IO.File::ReadAllLines(System.String) doesn’t exist in target framework. It is referenced from Assembly-CSharp-firstpass.dll at System.Void FMOD\_Liste…

---

## [pcmreadcallback never is called during playback](https://qa.fmod.com/t/pcmreadcallback-never-is-called-during-playback/11770)

<div class="topic-metadata">

**Author:** [@wadrwadr](https://qa.fmod.com/u/wadrwadr)\
**Replies:** 1\
**Last updated:** [January 5, 2015, 6:28am UTC](https://qa.fmod.com/t/pcmreadcallback-never-is-called-during-playback/11770 "2015-01-05T06:28:50Z")

</div>

Hello Guys, I’m writing a Unity class to playback and capture audio data from a microphone. Playback part works fine I can hear my voice in the headphones but I cannot access audio samples because pcmsetposcallback is …

---

## [How does one assign an FMOD ChannelGroup to a FMOD.ChannelGroup variable?](https://qa.fmod.com/t/how-does-one-assign-an-fmod-channelgroup-to-a-fmod-channelgroup-variable/11774)

<div class="topic-metadata">

**Author:** [@MikePatterson](https://qa.fmod.com/u/MikePatterson)\
**Replies:** 2\
**Last updated:** [January 3, 2015, 7:36pm UTC](https://qa.fmod.com/t/how-does-one-assign-an-fmod-channelgroup-to-a-fmod-channelgroup-variable/11774 "2015-01-03T19:36:36Z")

</div>

Hi guys, my goal here is to pause the game’s music when the player activates the pause screen and continue the music when the player resumes gameplay. Here is my code for the pause menu, excluding non-FMOD affiliated co…

---

## [MixerStrip does not exist in the namespace](https://qa.fmod.com/t/mixerstrip-does-not-exist-in-the-namespace/11765)

<div class="topic-metadata">

**Author:** [@Jorren](https://qa.fmod.com/u/Jorren)\
**Replies:** 2\
**Last updated:** [December 15, 2014, 7:42am UTC](https://qa.fmod.com/t/mixerstrip-does-not-exist-in-the-namespace/11765 "2014-12-15T07:42:59Z")

</div>

I’m having trouble accessing mixerstrips in Unity. I downloaded the latest Fmod Studio and Unity package from this site. I have a separate strip for SFX and music and want the user to control their volume independently. …

---

## [No surround output from Unity](https://qa.fmod.com/t/no-surround-output-from-unity/11756)

<div class="topic-metadata">

**Author:** [@Renato777](https://qa.fmod.com/u/Renato777)\
**Replies:** 2\
**Last updated:** [December 8, 2014, 5:35pm UTC](https://qa.fmod.com/t/no-surround-output-from-unity/11756 "2014-12-08T17:35:36Z")

</div>

I’m currently using the Fmod - Unity integration version 1.05.08, and when I’m monitoring the audio coming from Unity to Fmod Studio I only get a stereo output on the Master Bus, instead of a surround output like I would…

---

## [Retrieve Effect Info from Snapshot](https://qa.fmod.com/t/retrieve-effect-info-from-snapshot/11752)

<div class="topic-metadata">

**Author:** [@fsilvestrim](https://qa.fmod.com/u/fsilvestrim)\
**Replies:** 3\
**Last updated:** [December 8, 2014, 10:52am UTC](https://qa.fmod.com/t/retrieve-effect-info-from-snapshot/11752 "2014-12-08T10:52:29Z")

</div>

Hello guys, I’ve been experimenting on trying to retrieve a specific Effect info (Reverb, for example) from a snapshot. I Created a snapshot and overwrote the Reverb effect inside FMOD Studio. I exported the .bank and I…

---

## [No audio](https://qa.fmod.com/t/no-audio/11754)

<div class="topic-metadata">

**Author:** [@orizzle](https://qa.fmod.com/u/orizzle)\
**Replies:** 1\
**Last updated:** [December 8, 2014, 12:55am UTC](https://qa.fmod.com/t/no-audio/11754 "2014-12-08T00:55:13Z")

</div>

I am trying to get a relatively-new game which relies on libfmodex 4.32.15 and unity 3.2. The game itself runs well, but there is no sound. Sound works in other programs. I have tried several command line parameters li…

---

## ['No overload for method' when attatching fmod event to animation event](https://qa.fmod.com/t/no-overload-for-method-when-attatching-fmod-event-to-animation-event/11749)

<div class="topic-metadata">

**Author:** [@MattLightbound](https://qa.fmod.com/u/MattLightbound)\
**Replies:** 2\
**Last updated:** [December 4, 2014, 12:56pm UTC](https://qa.fmod.com/t/no-overload-for-method-when-attatching-fmod-event-to-animation-event/11749 "2014-12-04T12:56:01Z")

</div>

Im trying to apply an FMOD playoneshot script to a Unity animation event and I am getting this error message: Assets/Sample Assets/2D/Scripts/Playersounds.cs(9,36): error CS1501: No overload for method PlayOneShot' take…

---

## [How to get FMOD::System instance in Object-c code in Unity ios project?](https://qa.fmod.com/t/how-to-get-fmod-system-instance-in-object-c-code-in-unity-ios-project/11740)

<div class="topic-metadata">

**Author:** [@yfrjxy](https://qa.fmod.com/u/yfrjxy)\
**Replies:** 2\
**Last updated:** [December 4, 2014, 3:07am UTC](https://qa.fmod.com/t/how-to-get-fmod-system-instance-in-object-c-code-in-unity-ios-project/11740 "2014-12-04T03:07:47Z")

</div>

How to get FMOD::System instance in Object-c code in Unity ios project?

---

## [How to set 3D sound mute?](https://qa.fmod.com/t/how-to-set-3d-sound-mute/11748)

<div class="topic-metadata">

**Author:** [@zteng](https://qa.fmod.com/u/zteng)\
**Replies:** 2\
**Last updated:** [December 4, 2014, 1:23am UTC](https://qa.fmod.com/t/how-to-set-3d-sound-mute/11748 "2014-12-04T01:23:31Z")

</div>

Hi,all.I had a problem when I am using fmod in Unity.I want to set 3D sound mute,so I do that: FMOD.Studio.EventInstance event = FMOD\_StudioSystem.instance.GetEvent(path); event.setVolume(0f); but the sound is not mut…

---

## [Loading and Unloading Banks](https://qa.fmod.com/t/loading-and-unloading-banks/11751)

<div class="topic-metadata">

**Author:** [@RogueOperative1](https://qa.fmod.com/u/RogueOperative1)\
**Replies:** 2\
**Last updated:** [December 4, 2014, 12:28am UTC](https://qa.fmod.com/t/loading-and-unloading-banks/11751 "2014-12-04T00:28:39Z")

</div>

This is presumably a pretty simple question, but I can’t find any references to it anywhere. Is it possible via the Unity integration to specifically choose banks to be loaded, and then to subsequently unload them? If …

---

## [Assigning parameter to distance.](https://qa.fmod.com/t/assigning-parameter-to-distance/11734)

<div class="topic-metadata">

**Author:** [@hookshot12345](https://qa.fmod.com/u/hookshot12345)\
**Replies:** 1\
**Last updated:** [December 2, 2014, 12:29am UTC](https://qa.fmod.com/t/assigning-parameter-to-distance/11734 "2014-12-02T00:29:36Z")

</div>

Hi all I am new to both FMOD and Unity. I have been reading up on the integration documentation and researching online for some time, however i am finding it difficult to pickup. What I am trying to achieve is evolving …

---

## [Get full spectrum of a sound in Unity](https://qa.fmod.com/t/get-full-spectrum-of-a-sound-in-unity/11733)

<div class="topic-metadata">

**Author:** [@JeromKid](https://qa.fmod.com/u/JeromKid)\
**Replies:** 1\
**Last updated:** [December 1, 2014, 9:48pm UTC](https://qa.fmod.com/t/get-full-spectrum-of-a-sound-in-unity/11733 "2014-12-01T21:48:08Z")

</div>

Hello! What I need to do is to get a full spectrum of a whole sound I created (with system.createSound() function). I tried to adapt code from the answer given \[here\]\[1\], but I couldn’t find any Unity’s alternative for…

---

## [Unity 4 crashes when system.createChannelGroup is used](https://qa.fmod.com/t/unity-4-crashes-when-system-createchannelgroup-is-used/11732)

<div class="topic-metadata">

**Author:** [@JeromKid](https://qa.fmod.com/u/JeromKid)\
**Replies:** 1\
**Last updated:** [November 26, 2014, 11:06pm UTC](https://qa.fmod.com/t/unity-4-crashes-when-system-createchannelgroup-is-used/11732 "2014-11-26T23:06:30Z")

</div>

Using this piece of code: using UnityEngine; using System.Collections; using FMOD; public class punch: MonoBehaviour { FMOD.RESULT result; FMOD.System system; FMOD.ChannelGroup channelGroup; void Start () { result…

---

## [Play mp3 from the local folder in Unity](https://qa.fmod.com/t/play-mp3-from-the-local-folder-in-unity/11730)

<div class="topic-metadata">

**Author:** [@JeromKid](https://qa.fmod.com/u/JeromKid)\
**Replies:** 1\
**Last updated:** [November 26, 2014, 3:42am UTC](https://qa.fmod.com/t/play-mp3-from-the-local-folder-in-unity/11730 "2014-11-26T03:42:53Z")

</div>

I tried to play music from the local folder, but there’s nothing but silence when I run the game. Here’s the code (C#): using UnityEngine; using System.Collections; using FMOD; public class music: MonoBehaviour { FMOD…

---

## [Fmod event & Unity 5](https://qa.fmod.com/t/fmod-event-unity-5/11723)

<div class="topic-metadata">

**Author:** [@Tichau](https://qa.fmod.com/u/Tichau)\
**Replies:** 2\
**Last updated:** [November 24, 2014, 10:29am UTC](https://qa.fmod.com/t/fmod-event-unity-5/11723 "2014-11-24T10:29:44Z")

</div>

We tried to port our game on the unity 5.0 beta. This works well except for the fmod part. Fmod initializes itself without any problems but calls to getEvent crash the game (only on builds, not in editor) ========== OU…

---

## [No audio in unity/fmod builds on any platform](https://qa.fmod.com/t/no-audio-in-unity-fmod-builds-on-any-platform/11670)

<div class="topic-metadata">

**Author:** [@AKAdriano](https://qa.fmod.com/u/AKAdriano)\
**Replies:** 3\
**Last updated:** [November 22, 2014, 6:46am UTC](https://qa.fmod.com/t/no-audio-in-unity-fmod-builds-on-any-platform/11670 "2014-11-22T06:46:08Z")

</div>

When i build my simple unity games including roll-a-ball, i dont get any audio in the game. when i build for web player i get this error: Assets/Plugins/FMOD/Editor/FMODEditorExtension.cs(183,47): error CS1061: Type Sys…

---

## [Problem with reproducing Event via script](https://qa.fmod.com/t/problem-with-reproducing-event-via-script/11717)

<div class="topic-metadata">

**Author:** [@erik.podetti](https://qa.fmod.com/u/erik.podetti)\
**Replies:** 4\
**Last updated:** [November 21, 2014, 10:24am UTC](https://qa.fmod.com/t/problem-with-reproducing-event-via-script/11717 "2014-11-21T10:24:47Z")

</div>

Hi, I have Unity 4.5.5p4 Pro and FMOD 1.05.05 Integration running on Mac 10.9.5. I successfully imported a MasterBank, added the Fmod Listener to the camera and reproduced the Event Asset with a FMODStudioEventEmitter. …

---

## [null reference exception with FMOD in unity integration.](https://qa.fmod.com/t/null-reference-exception-with-fmod-in-unity-integration/11713)

<div class="topic-metadata">

**Author:** [@MattLightbound](https://qa.fmod.com/u/MattLightbound)\
**Replies:** 7\
**Last updated:** [November 18, 2014, 10:05pm UTC](https://qa.fmod.com/t/null-reference-exception-with-fmod-in-unity-integration/11713 "2014-11-18T22:05:18Z")

</div>

I’ve seen a few people have this problem on the forum that have fixed it with insuring the Main Camera has the FMOD listener component attached to it however I am still receiving these errors with it attached. I have als…

---

## [I wanna control timeline](https://qa.fmod.com/t/i-wanna-control-timeline/11721)

<div class="topic-metadata">

**Author:** [@chaos\_hong](https://qa.fmod.com/u/chaos_hong)\
**Replies:** 1\
**Last updated:** [November 18, 2014, 12:40am UTC](https://qa.fmod.com/t/i-wanna-control-timeline/11721 "2014-11-18T00:40:43Z")

</div>

void PlayBatRandom() { EventInstance pEiMob = SoundSystem.GetEvent("event:/Monster\_bat"); int nRandom = Random.Range(0, 4); nSelect = nRandom\*2; pEiMob.setTimelinePosition(nSelect); int nSelect = 0; pEiMob.getTime…

---

## [Audio Quality Drop building for iOS with Unity](https://qa.fmod.com/t/audio-quality-drop-building-for-ios-with-unity/11697)

<div class="topic-metadata">

**Author:** [@Maculate](https://qa.fmod.com/u/Maculate)\
**Replies:** 1\
**Last updated:** [November 16, 2014, 8:41pm UTC](https://qa.fmod.com/t/audio-quality-drop-building-for-ios-with-unity/11697 "2014-11-16T20:41:43Z")

</div>

All of the files I am using are wav files that I am importing into FMOD Studio. Should they be mp3 to save on memory? Our main target for the game I am working on, Not Everything is Flammable, is iOS, but I have notice…

---

## [FMOD logging and debugging in Unity](https://qa.fmod.com/t/fmod-logging-and-debugging-in-unity/11709)

<div class="topic-metadata">

**Author:** [@MindMeal](https://qa.fmod.com/u/MindMeal)\
**Replies:** 2\
**Last updated:** [November 11, 2014, 11:18am UTC](https://qa.fmod.com/t/fmod-logging-and-debugging-in-unity/11709 "2014-11-11T11:18:42Z")

</div>

Hello. We’re trying to implement sound using FMOD in our Unity project. Everything works fine while in Editor, although when we build an executable it sometimes fails to find any events, depending on the machine it’s run…

---

## [Read output data and push into AudioClip/OnAudioFilterRead](https://qa.fmod.com/t/read-output-data-and-push-into-audioclip-onaudiofilterread/11715)

<div class="topic-metadata">

**Author:** [@Tobias](https://qa.fmod.com/u/Tobias)\
**Replies:** 2\
**Last updated:** [November 11, 2014, 6:41am UTC](https://qa.fmod.com/t/read-output-data-and-push-into-audioclip-onaudiofilterread/11715 "2014-11-11T06:41:55Z")

</div>

Hello, I’m fairly new to FMOD and Audio-Pipeline programming but here is what I want to do. I’m trying to access the output from FMOD to route it into Unity3d default audio components (using the OnAudioFilterRead metho…

---

## [Soft lock when unplugging headphones](https://qa.fmod.com/t/soft-lock-when-unplugging-headphones/11686)

<div class="topic-metadata">

**Author:** [@bbangerter](https://qa.fmod.com/u/bbangerter)\
**Replies:** 1\
**Last updated:** [November 10, 2014, 4:17am UTC](https://qa.fmod.com/t/soft-lock-when-unplugging-headphones/11686 "2014-11-10T04:17:52Z")

</div>

I am getting a soft lock on iOS when unplugging the headphones from the device under a specific circumstance. Under iOS (tested under an iPad4 and iPhone 4) do the following: Launch iTunes (or music) and start playing …

[Previous page](https://qa.fmod.com/c/unity/7.md?no_subcategories=false&page=103)

[Next page](https://qa.fmod.com/c/unity/7.md?no_subcategories=false&page=105)
