# Unity

**URL:** https://qa.fmod.com/c/unity/7.md?page=59

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

**Page:** 60

---

## [Unity FMODUnity.EventManager / OnValidate() Bug](https://qa.fmod.com/t/unity-fmodunity-eventmanager-onvalidate-bug/17474)

<div class="topic-metadata">

**Author:** [@VoodooDetective](https://qa.fmod.com/u/VoodooDetective)\
**Replies:** 4\
**Last updated:** [July 28, 2021, 2:02am UTC](https://qa.fmod.com/t/unity-fmodunity-eventmanager-onvalidate-bug/17474 "2021-07-28T02:02:57Z")

</div>

I’m periodically getting hard crashes from FMOD in Unity that corrupt the game and force me to delete the Library/obj/Temp directories. It takes quite a while to rebuild the project so it’s a big deal. Here’s the stack…

---

## [Runtime get spacial distance](https://qa.fmod.com/t/runtime-get-spacial-distance/17482)

<div class="topic-metadata">

**Author:** [@Mapster](https://qa.fmod.com/u/Mapster)\
**Replies:** 5\
**Last updated:** [July 27, 2021, 1:20pm UTC](https://qa.fmod.com/t/runtime-get-spacial-distance/17482 "2021-07-27T13:20:35Z")

</div>

Hello Is there a way to get the spacial distance of an instance at runtime? I’m using it to check if the player can hear a sound or not. Cheers

---

## [Issue with Parameters](https://qa.fmod.com/t/issue-with-parameters/17462)

<div class="topic-metadata">

**Author:** [@rauldeavila](https://qa.fmod.com/u/rauldeavila)\
**Replies:** 4\
**Last updated:** [July 21, 2021, 4:10am UTC](https://qa.fmod.com/t/issue-with-parameters/17462 "2021-07-21T04:10:46Z")

</div>

Hello everyone, I’m super new on this FMOD world and I’m trying to implement something really simple that is working on FMOD STUDIO but on Unity it’s not working. The songs on my game have layers of instruments, and I w…

---

## [For what formats I can create a stream via createStream?](https://qa.fmod.com/t/for-what-formats-i-can-create-a-stream-via-createstream/17457)

<div class="topic-metadata">

**Author:** [@SilentAndroid](https://qa.fmod.com/u/SilentAndroid)\
**Replies:** 2\
**Last updated:** [July 20, 2021, 12:07pm UTC](https://qa.fmod.com/t/for-what-formats-i-can-create-a-stream-via-createstream/17457 "2021-07-20T12:07:06Z")

</div>

Hi! I try to create a stream from an audio file. I use unity and make build for android. var result = FMODUnity.RuntimeManager.CoreSystem.createStream(filename, FMOD.MODE.CREATESTREAM, out Sound); This code works for…

---

## [Selecting multiple emitters (different values) changes all values to same (first selected)](https://qa.fmod.com/t/selecting-multiple-emitters-different-values-changes-all-values-to-same-first-selected/17447)

<div class="topic-metadata">

**Author:** [@pmtm](https://qa.fmod.com/u/pmtm)\
**Replies:** 2\
**Last updated:** [July 20, 2021, 6:09am UTC](https://qa.fmod.com/t/selecting-multiple-emitters-different-values-changes-all-values-to-same-first-selected/17447 "2021-07-20T06:09:53Z")

</div>

I am running into a problem that I thing might be easy to solve. Using Fmod in unity. I have 2 event emitters + override attenuation and have both emitters with different values. When I select both they jump to the sam…

---

## [Searching for FMOD components in Unity Editor](https://qa.fmod.com/t/searching-for-fmod-components-in-unity-editor/17459)

<div class="topic-metadata">

**Author:** [@tweexmusic](https://qa.fmod.com/u/tweexmusic)\
**Replies:** 2\
**Last updated:** [July 20, 2021, 3:42am UTC](https://qa.fmod.com/t/searching-for-fmod-components-in-unity-editor/17459 "2021-07-20T03:42:05Z")

</div>

I have what may be a silly question. In Unity, if I search through the scene hierarchy for a specific component (e.g. the Animator, RigidBody2D, etc), the specific game objects using those components are returned in the…

---

## [ChannelControl, Invalide Handle errors that I can't locate](https://qa.fmod.com/t/channelcontrol-invalide-handle-errors-that-i-cant-locate/17307)

<div class="topic-metadata">

**Author:** [@NikMikk](https://qa.fmod.com/u/NikMikk)\
**Replies:** 3\
**Last updated:** [July 20, 2021, 1:34am UTC](https://qa.fmod.com/t/channelcontrol-invalide-handle-errors-that-i-cant-locate/17307 "2021-07-20T01:34:39Z")

</div>

Hi everyone! I’m getting bombarded with these errors if I enable stack trace and memory checks inside the FMODSettings ScriptableObject. I have no idea of how I should decipher these as they don’t give me any informatio…

---

## [Fmod Dll not found on specific build](https://qa.fmod.com/t/fmod-dll-not-found-on-specific-build/17446)

<div class="topic-metadata">

**Author:** [@greenfendr](https://qa.fmod.com/u/greenfendr)\
**Replies:** 1\
**Last updated:** [July 19, 2021, 11:53pm UTC](https://qa.fmod.com/t/fmod-dll-not-found-on-specific-build/17446 "2021-07-19T23:53:38Z")

</div>

Hi, I’m getting the “fmodDLL not found” error on my osx builds. When I dig into the contents of the .app file I do see fmod and resonance audio in the plugsin though. This only happening on osx builds that were build on…

---

## [How to recover FMOD project file from Unity FMOD Build Banks](https://qa.fmod.com/t/how-to-recover-fmod-project-file-from-unity-fmod-build-banks/17435)

<div class="topic-metadata">

**Author:** [@RowelCaps](https://qa.fmod.com/u/RowelCaps)\
**Replies:** 1\
**Last updated:** [July 18, 2021, 11:50pm UTC](https://qa.fmod.com/t/how-to-recover-fmod-project-file-from-unity-fmod-build-banks/17435 "2021-07-18T23:50:18Z")

</div>

Hello, My hard drive broke down where I stored the FMOD project file. Since we cannot put the fmod project file inside our repository. I just had to store it outside of our project file. My question is since I lost my p…

---

## [I always get "ERR\_INVALID\_HANDLE for CHANNEL (0x7FE0009)" error when trying to play any sound](https://qa.fmod.com/t/i-always-get-err-invalid-handle-for-channel-0x7fe0009-error-when-trying-to-play-any-sound/17372)

<div class="topic-metadata">

**Author:** [@gentletroll\_mk](https://qa.fmod.com/u/gentletroll_mk)\
**Replies:** 7\
**Last updated:** [July 18, 2021, 11:04pm UTC](https://qa.fmod.com/t/i-always-get-err-invalid-handle-for-channel-0x7fe0009-error-when-trying-to-play-any-sound/17372 "2021-07-18T23:04:19Z")

</div>

Hi everybody, despite closely following the tutorial and trying multiple ways of playing sounds (like via StudioEventEmitter as well as via code: FMOD.RuntimeManager.PlayOneShot(…) or FMOD.RuntimeManager.CreateInstance(…

---

## [Fmod Plugin working in Unity editor but not build](https://qa.fmod.com/t/fmod-plugin-working-in-unity-editor-but-not-build/17428)

<div class="topic-metadata">

**Author:** [@jfarr](https://qa.fmod.com/u/jfarr)\
**Replies:** 6\
**Last updated:** [July 16, 2021, 10:45am UTC](https://qa.fmod.com/t/fmod-plugin-working-in-unity-editor-but-not-build/17428 "2021-07-16T10:45:01Z")

</div>

Hi Folks Tryin to get an FMOD plugin to work in a Unity build. The plugin is written in csound have a .DLL and .csd file saved in Assets\\Plugins\\FMOD\\lib\\win\\x86\_64. the plugin works when running the game in the Unity e…

---

## [Timeline Marker name is empty when getting from call back](https://qa.fmod.com/t/timeline-marker-name-is-empty-when-getting-from-call-back/17442)

<div class="topic-metadata">

**Author:** [@Al\_Sonic](https://qa.fmod.com/u/Al_Sonic)\
**Replies:** 1\
**Last updated:** [July 16, 2021, 3:15am UTC](https://qa.fmod.com/t/timeline-marker-name-is-empty-when-getting-from-call-back/17442 "2021-07-16T03:15:26Z")

</div>

Previously we could get the names of any Timeline marker from a callback but now it always returns an empty string “”. The names are still present in fmod and the rest of the audio is built properly so it is unclear whe…

---

## [We got java.lang.UnsatisfiedLinkError couldn't find "libfmodL.so" when running Development build](https://qa.fmod.com/t/we-got-java-lang-unsatisfiedlinkerror-couldnt-find-libfmodl-so-when-running-development-build/17445)

<div class="topic-metadata">

**Author:** [@petr777](https://qa.fmod.com/u/petr777)\
**Replies:** 1\
**Last updated:** [July 15, 2021, 3:45pm UTC](https://qa.fmod.com/t/we-got-java-lang-unsatisfiedlinkerror-couldnt-find-libfmodl-so-when-running-development-build/17445 "2021-07-15T15:45:54Z")

</div>

FMOD plugin for Unity 2.01.09 Unity 2018.4.10f1 When we run our app which built with “Development build” turned on in Unity, we have error (multiple times): java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoade…

---

## [Access Parameter Label Strings in Unity?](https://qa.fmod.com/t/access-parameter-label-strings-in-unity/17438)

<div class="topic-metadata">

**Author:** [@colinthe26](https://qa.fmod.com/u/colinthe26)\
**Replies:** 3\
**Last updated:** [July 15, 2021, 6:58am UTC](https://qa.fmod.com/t/access-parameter-label-strings-in-unity/17438 "2021-07-15T06:58:22Z")

</div>

Hey there, I’m curious if there’s a way to access the specific string labels from a labeled parameter within the Unity integration package. Thanks!

---

## [.pdb file for resonanceaudio.dll](https://qa.fmod.com/t/pdb-file-for-resonanceaudio-dll/16980)

<div class="topic-metadata">

**Author:** [@PingleConsole](https://qa.fmod.com/u/PingleConsole)\
**Replies:** 4\
**Last updated:** [July 15, 2021, 12:27am UTC](https://qa.fmod.com/t/pdb-file-for-resonanceaudio-dll/16980 "2021-07-15T00:27:28Z")

</div>

Hey! We are building a Unity game on Xbox One / Scarlett and getting issues from GDK validator, since we don’t have .pdb for resonanceaudio.dll We have .pdb for fmod.dll, fmodL.dll, fmodstudio.dll, fmodstudioL.dll alrea…

---

## [\[Linux\] Crash StackOverflow Exception Fmod 2.01.07 on Ubuntu 20.04, Unity 2020.3.9f1 and above](https://qa.fmod.com/t/linux-crash-stackoverflow-exception-fmod-2-01-07-on-ubuntu-20-04-unity-2020-3-9f1-and-above/17238)

<div class="topic-metadata">

**Author:** [@m21-cerutti](https://qa.fmod.com/u/m21-cerutti)\
**Replies:** 2\
**Last updated:** [July 14, 2021, 8:57pm UTC](https://qa.fmod.com/t/linux-crash-stackoverflow-exception-fmod-2-01-07-on-ubuntu-20-04-unity-2020-3-9f1-and-above/17238 "2021-07-14T20:57:51Z")

</div>

Since i don’t know if it’s Unity or Fmod, i have send a bug repport to Unity case 1338413 Here a recap about my problem : Configuration : Ubuntu 20.04 Fmod 2.01.07 Verified (tried also on 2.02) Unity 2019.3.9f1 (tri…

---

## [Loading Bank from Asset Bundle cannot find event](https://qa.fmod.com/t/loading-bank-from-asset-bundle-cannot-find-event/17380)

<div class="topic-metadata">

**Author:** [@Harrishun](https://qa.fmod.com/u/Harrishun)\
**Replies:** 8\
**Last updated:** [July 14, 2021, 6:55am UTC](https://qa.fmod.com/t/loading-bank-from-asset-bundle-cannot-find-event/17380 "2021-07-14T06:55:12Z")

</div>

Hi there! We’re currently attempting to load an bank and strings.bank from an Asset Bundle, in addition to our Master Bank (and strings.bank), which is loaded in at initialization. However, when going to call an event f…

---

## [Converting SoundBank to TextAsset](https://qa.fmod.com/t/converting-soundbank-to-textasset/17425)

<div class="topic-metadata">

**Author:** [@Orton](https://qa.fmod.com/u/Orton)\
**Replies:** 1\
**Last updated:** [July 13, 2021, 4:31am UTC](https://qa.fmod.com/t/converting-soundbank-to-textasset/17425 "2021-07-13T04:31:28Z")

</div>

Hello! I am trying to mod a unity game for iOS, and the audio system uses a TextAsset connected to an AssetBundle. (The TextAsset is a converted SoundBank) I have a SoundBank I want to turn into a TextAsset. How?

---

## [Fmod notarization error, signature invalid](https://qa.fmod.com/t/fmod-notarization-error-signature-invalid/15574)

<div class="topic-metadata">

**Author:** [@PaoloMonkey](https://qa.fmod.com/u/PaoloMonkey)\
**Replies:** 6\
**Last updated:** [July 11, 2021, 11:41pm UTC](https://qa.fmod.com/t/fmod-notarization-error-signature-invalid/15574 "2021-07-11T23:41:12Z")

</div>

We’re trying to notarize our game made, but we have an error with fmod library We’re using Unity 2019.3 and following this guide: But on the notarization result we got “The binary is not signed.” and “The signature …

---

## [3rd Party plugin](https://qa.fmod.com/t/3rd-party-plugin/12348)

<div class="topic-metadata">

**Author:** [@kexi](https://qa.fmod.com/u/kexi)\
**Replies:** 5\
**Last updated:** [July 10, 2021, 6:03pm UTC](https://qa.fmod.com/t/3rd-party-plugin/12348 "2021-07-10T18:03:35Z")

</div>

Hi, all, Got stuck again. I’m trying to compile and load example fmod-plugin, namely fmod\_distance\_filter, into fmod. What i’ve done so far on Windows: compile low-level-api examples.sln with VS2015 and compiled fmod\_…

---

## [Busses and VCAs not found when running WebGL build](https://qa.fmod.com/t/busses-and-vcas-not-found-when-running-webgl-build/17416)

<div class="topic-metadata">

**Author:** [@IceNine99](https://qa.fmod.com/u/IceNine99)\
**Replies:** 1\
**Last updated:** [July 8, 2021, 7:02am UTC](https://qa.fmod.com/t/busses-and-vcas-not-found-when-running-webgl-build/17416 "2021-07-08T07:02:37Z")

</div>

It’s my first time doing a Unity WebGL build. The the PC/Mac/Linux builds all work fine. We have code that gets references to the master bus and a couple VCAs (and adjusts volumes on them). These lines appear to be the …

---

## [How to load an \*.mp3 from my asset in unity using FMOD?](https://qa.fmod.com/t/how-to-load-an-mp3-from-my-asset-in-unity-using-fmod/17409)

<div class="topic-metadata">

**Author:** [@batussai](https://qa.fmod.com/u/batussai)\
**Replies:** 1\
**Last updated:** [July 8, 2021, 12:14am UTC](https://qa.fmod.com/t/how-to-load-an-mp3-from-my-asset-in-unity-using-fmod/17409 "2021-07-08T00:14:22Z")

</div>

I have an application that you can put your own songs and I want it to load them with the FMOD system. I’m trying this and unity closes me FMOD.RESULT result; FMOD.Sound sound1; FMOD.System system; FMOD.Channel channel…

---

## [Error in FMODUnity.EventManager:UpdateCache()](https://qa.fmod.com/t/error-in-fmodunity-eventmanager-updatecache/17390)

<div class="topic-metadata">

**Author:** [@spidamoo](https://qa.fmod.com/u/spidamoo)\
**Replies:** 2\
**Last updated:** [July 6, 2021, 11:05am UTC](https://qa.fmod.com/t/error-in-fmodunity-eventmanager-updatecache/17390 "2021-07-06T11:05:23Z")

</div>

Hi there! I’ve just started working with FMOD in my Unity project and I’m getting this error consistently: InvalidOperationException: Hierarchy change detected while computing layout, this is not supported. UnityEngine…

---

## [Capture listener’s audio output in unity](https://qa.fmod.com/t/capture-listener-s-audio-output-in-unity/17406)

<div class="topic-metadata">

**Author:** [@T619533](https://qa.fmod.com/u/T619533)\
**Replies:** 1\
**Last updated:** [July 6, 2021, 12:40am UTC](https://qa.fmod.com/t/capture-listener-s-audio-output-in-unity/17406 "2021-07-06T00:40:08Z")

</div>

Hi ! I need to buffer the resulting audio data from the listener. Is this possible with your API? Thanks!

---

## [Unity: The script could not be instantiated! FMOD doesn't work on iOS](https://qa.fmod.com/t/unity-the-script-could-not-be-instantiated-fmod-doesnt-work-on-ios/17370)

<div class="topic-metadata">

**Author:** [@VoodooDetective](https://qa.fmod.com/u/VoodooDetective)\
**Replies:** 5\
**Last updated:** [June 29, 2021, 11:39pm UTC](https://qa.fmod.com/t/unity-the-script-could-not-be-instantiated-fmod-doesnt-work-on-ios/17370 "2021-06-29T23:39:42Z")

</div>

I’m trying to build our game on iOS for the first time since adding FMOD and am getting an error that says: The script ‘Audio.FMODSound’ could not be instantiated! using System; using System.Collections; using System.C…

---

## [Efficient way of pausing playback](https://qa.fmod.com/t/efficient-way-of-pausing-playback/11513)

<div class="topic-metadata">

**Author:** [@TheSniperFan](https://qa.fmod.com/u/TheSniperFan)\
**Replies:** 1\
**Last updated:** [June 25, 2021, 12:01pm UTC](https://qa.fmod.com/t/efficient-way-of-pausing-playback/11513 "2021-06-25T12:01:42Z")

</div>

Hello. While I know my way around Unity, I’m completely new to fmod. I have played around with the Unity integration today and got stuck trying to pause/resume emitters. I need to pause certain emitters when the player …

---

## [FMOD Unity Integration OnGUI errors (Asset Serialization mode?)](https://qa.fmod.com/t/fmod-unity-integration-ongui-errors-asset-serialization-mode/12779)

<div class="topic-metadata">

**Author:** [@carles.tm](https://qa.fmod.com/u/carles.tm)\
**Replies:** 5\
**Last updated:** [June 24, 2021, 10:46pm UTC](https://qa.fmod.com/t/fmod-unity-integration-ongui-errors-asset-serialization-mode/12779 "2021-06-24T22:46:54Z")

</div>

Hello, we have started getting errors with our FMOD Unity integration in the editor recently. We are using Unity 5.2.4f1 and the FMOD Studio Unity Integration 1.08.04. We are not doing any specific platform build, just…

---

## [Fmod Studio Event Emitter & "Max Instances"](https://qa.fmod.com/t/fmod-studio-event-emitter-max-instances/17234)

<div class="topic-metadata">

**Author:** [@eddietree1](https://qa.fmod.com/u/eddietree1)\
**Replies:** 8\
**Last updated:** [June 24, 2021, 5:41am UTC](https://qa.fmod.com/t/fmod-studio-event-emitter-max-instances/17234 "2021-06-24T05:41:21Z")

</div>

We have a specific sound that we have set “max Instances” to 4, and in the profiler we are noticing that there are way more than 4 instances of that sound playing. The sounds are being automatically played via “Fmod Stud…

---

## [Unity Editor Crash - Segmentation Fault near FMOD::Studio::System::release()](https://qa.fmod.com/t/unity-editor-crash-segmentation-fault-near-fmod-release/17367)

<div class="topic-metadata">

**Author:** [@KjartanKennedy](https://qa.fmod.com/u/KjartanKennedy)\
**Replies:** 1\
**Last updated:** [June 23, 2021, 6:35am UTC](https://qa.fmod.com/t/unity-editor-crash-segmentation-fault-near-fmod-release/17367 "2021-06-23T06:35:06Z")

</div>

After adding FMOD to our Unity project we’ve been getting fairly frequent full program crashes due to segmentation faults. I haven’t been able to track down exactly how to reproduce the issue, but I have noticed that whe…

---

## [DSP Time for FMOD Unity](https://qa.fmod.com/t/dsp-time-for-fmod-unity/16038)

<div class="topic-metadata">

**Author:** [@blackeel](https://qa.fmod.com/u/blackeel)\
**Replies:** 1\
**Last updated:** [August 5, 2020, 1:12am UTC](https://qa.fmod.com/t/dsp-time-for-fmod-unity/16038 "2020-08-05T01:12:07Z")

</div>

How to apply dspTime in FMOD Unity similiar to this , AudioSettings.dspTime ?

[Previous page](https://qa.fmod.com/c/unity/7.md?page=58)

[Next page](https://qa.fmod.com/c/unity/7.md?page=60)
