# Unity

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

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

**Page:** 44

---

## [\[Bug\]\[Unity\] Audio not working when calling FMOD code in OnValidate](https://qa.fmod.com/t/bug-unity-audio-not-working-when-calling-fmod-code-in-onvalidate/19354)

<div class="topic-metadata">

**Author:** [@adrienvr](https://qa.fmod.com/u/adrienvr)\
**Replies:** 1\
**Last updated:** [October 4, 2022, 1:11am UTC](https://qa.fmod.com/t/bug-unity-audio-not-working-when-calling-fmod-code-in-onvalidate/19354 "2022-10-04T01:11:50Z")

</div>

Hello, I found a bug in the FMOD for Unity 2.02.07 (and using Unity 2021.3.5f1) that causes to have no audio in the PlayMode of Unity. It is basically because of a script calling RuntimeManager.StudioSystem.getParamete…

---

## [Callback at NESTED\_TIMELINE\_BEAT is skipping first beat after set parameter to 1](https://qa.fmod.com/t/callback-at-nested-timeline-beat-is-skipping-first-beat-after-set-parameter-to-1/19290)

<div class="topic-metadata">

**Author:** [@Dan-Lyrebird](https://qa.fmod.com/u/Dan-Lyrebird)\
**Replies:** 3\
**Last updated:** [October 2, 2022, 10:30pm UTC](https://qa.fmod.com/t/callback-at-nested-timeline-beat-is-skipping-first-beat-after-set-parameter-to-1/19290 "2022-10-02T22:30:28Z")

</div>

I have a problem with detecting the first beat after starting a parameter. In my Fmodsession i have a main event, which is always playing. This event owns several parameters. Each of them are playing a different event. …

---

## [Update 2.02.09 not available for Unity?](https://qa.fmod.com/t/update-2-02-09-not-available-for-unity/19331)

<div class="topic-metadata">

**Author:** [@megagon](https://qa.fmod.com/u/megagon)\
**Replies:** 2\
**Last updated:** [September 29, 2022, 8:41am UTC](https://qa.fmod.com/t/update-2-02-09-not-available-for-unity/19331 "2022-09-29T08:41:22Z")

</div>

FMOD Studio, Engine & Unreal have the update for 2.02.09, however its not showing up for Unity. Is there a specific reason for that? Cheers, Jan

---

## [Audio Occlusion FMOD w/ Unity not working](https://qa.fmod.com/t/audio-occlusion-fmod-w-unity-not-working/19313)

<div class="topic-metadata">

**Author:** [@JohnGreska](https://qa.fmod.com/u/JohnGreska)\
**Replies:** 1\
**Last updated:** [September 28, 2022, 7:23am UTC](https://qa.fmod.com/t/audio-occlusion-fmod-w-unity-not-working/19313 "2022-09-28T07:23:25Z")

</div>

Hello everyone! I have a problem with audio occlusion in Unity and FMOD. It just doesn’t work. I am inside a hut, with a radio, and I want the radio music to be cut off on the other side of the wall. But you can hear i…

---

## [Enable logging in Build](https://qa.fmod.com/t/enable-logging-in-build/19311)

<div class="topic-metadata">

**Author:** [@spootymilk](https://qa.fmod.com/u/spootymilk)\
**Replies:** 2\
**Last updated:** [September 28, 2022, 4:54am UTC](https://qa.fmod.com/t/enable-logging-in-build/19311 "2022-09-28T04:54:49Z")

</div>

HI, I’m trying to enable logging in build (not a DEVELOPMENT\_BUILD) using Unity LTS 2021.3.9f1. Using FMOD 2.02.05 I’ve tried to change in Platform.cs line 19 and 31 from #if DEVELOPMENT\_BUILD public const st…

---

## [Some events are not found while playing (Lookup failed for EventModel)](https://qa.fmod.com/t/some-events-are-not-found-while-playing-lookup-failed-for-eventmodel/19325)

<div class="topic-metadata">

**Author:** [@rhys\_vdw](https://qa.fmod.com/u/rhys_vdw)\
**Replies:** 1\
**Last updated:** [September 28, 2022, 2:35am UTC](https://qa.fmod.com/t/some-events-are-not-found-while-playing-lookup-failed-for-eventmodel/19325 "2022-09-28T02:35:17Z")

</div>

Our audio designer has just added a bunch of events to our project, everything seems to be working, but when we try to play the audio they do not play. Event discoverable and assignable, and plays correctly in the ev…

---

## [Unity 2021.2.0f1 webgl build failures - emscripten](https://qa.fmod.com/t/unity-2021-2-0f1-webgl-build-failures-emscripten/17881)

<div class="topic-metadata">

**Author:** [@enf3rno](https://qa.fmod.com/u/enf3rno)\
**Replies:** 19\
**Last updated:** [September 28, 2022, 2:23am UTC](https://qa.fmod.com/t/unity-2021-2-0f1-webgl-build-failures-emscripten/17881 "2022-09-28T02:23:58Z")

</div>

Hello! I’ve migrated a project up to the unity 2021.2.0f1 that was working fine before in version 2021.1, and having issues building. I’ve exported the files to a fresh project and receive the same errors. I think it’…

---

## [Fmod crash on android crash stack libaudioclient.so](https://qa.fmod.com/t/fmod-crash-on-android-crash-stack-libaudioclient-so/18266)

<div class="topic-metadata">

**Author:** [@simingtu](https://qa.fmod.com/u/simingtu)\
**Replies:** 14\
**Last updated:** [September 25, 2022, 11:14pm UTC](https://qa.fmod.com/t/fmod-crash-on-android-crash-stack-libaudioclient-so/18266 "2022-09-25T23:14:50Z")

</div>

crash on android Xiaomi 2106118C and HUAWEI JER-AN10 happend several times. crash stack follows, i do not known why this happens. our fmod version is 2.01.11 our game developed by unity. Xiaomi 2106118C phone’s andro…

---

## [Unity editor spams "Device was unplugged!" all the time my bluetooth headset got lost](https://qa.fmod.com/t/unity-editor-spams-device-was-unplugged-all-the-time-my-bluetooth-headset-got-lost/16736)

<div class="topic-metadata">

**Author:** [@YuriKashirin](https://qa.fmod.com/u/YuriKashirin)\
**Replies:** 6\
**Last updated:** [September 23, 2022, 8:45am UTC](https://qa.fmod.com/t/unity-editor-spams-device-was-unplugged-all-the-time-my-bluetooth-headset-got-lost/16736 "2022-09-23T08:45:32Z")

</div>

\[FMOD\] Output WASAPI::mixer read : GetCurrent Padding returned 0x88890004. Device was unplugged!

---

## [Orientate Effect Return to Listener](https://qa.fmod.com/t/orientate-effect-return-to-listener/18047)

<div class="topic-metadata">

**Author:** [@SonarSound](https://qa.fmod.com/u/SonarSound)\
**Replies:** 5\
**Last updated:** [September 21, 2022, 1:52pm UTC](https://qa.fmod.com/t/orientate-effect-return-to-listener/18047 "2022-09-21T13:52:16Z")

</div>

Hey people hope you’re all well! I have a sound that is being sent to an Effects return track with reverb and delay on. I 'd like to trigger my 2d sound and then have the return signal orientate to the listener rotation…

---

## [Unity interacting strangely with FMOD Studio Listener, and lack of it, too](https://qa.fmod.com/t/unity-interacting-strangely-with-fmod-studio-listener-and-lack-of-it-too/19259)

<div class="topic-metadata">

**Author:** [@JohnGreska](https://qa.fmod.com/u/JohnGreska)\
**Replies:** 4\
**Last updated:** [September 20, 2022, 9:14pm UTC](https://qa.fmod.com/t/unity-interacting-strangely-with-fmod-studio-listener-and-lack-of-it-too/19259 "2022-09-20T21:14:09Z")

</div>

I am currently working on a small game/project to begin testing how FMOD is integrated into Unity. Everything was going really well but then it was time to build and the game runs completely differently. A little backgr…

---

## [Unity WEBGL FMOD 2.02.08 - Audio will not start without user interaction](https://qa.fmod.com/t/unity-webgl-fmod-2-02-08-audio-will-not-start-without-user-interaction/19273)

<div class="topic-metadata">

**Author:** [@ken\_rampage](https://qa.fmod.com/u/ken_rampage)\
**Replies:** 3\
**Last updated:** [September 20, 2022, 4:52pm UTC](https://qa.fmod.com/t/unity-webgl-fmod-2-02-08-audio-will-not-start-without-user-interaction/19273 "2022-09-20T16:52:11Z")

</div>

Hi all, When testing my latest WEBGL game on Itch.io I’ve discovered that audio will not play unless the user clicks within the game window first. Then the audio starts from the beginning and catches up to where it’s su…

---

## [Virtual voice management on Unity/Switch](https://qa.fmod.com/t/virtual-voice-management-on-unity-switch/19269)

<div class="topic-metadata">

**Author:** [@Gianni](https://qa.fmod.com/u/Gianni)\
**Replies:** 1\
**Last updated:** [September 20, 2022, 12:18am UTC](https://qa.fmod.com/t/virtual-voice-management-on-unity-switch/19269 "2022-09-20T00:18:15Z")

</div>

I’m developing a Game on Nintendo Switch using Unity and FMOD, featuring a streaming scene loading system, so the player never experiences load pause/black screens. The system is pretty solid on Switch. Now, in order t…

---

## [Event Reference Updater cant find references in non monobehaviour classes](https://qa.fmod.com/t/event-reference-updater-cant-find-references-in-non-monobehaviour-classes/19270)

<div class="topic-metadata">

**Author:** [@juliancorderod](https://qa.fmod.com/u/juliancorderod)\
**Replies:** 3\
**Last updated:** [September 19, 2022, 11:37pm UTC](https://qa.fmod.com/t/event-reference-updater-cant-find-references-in-non-monobehaviour-classes/19270 "2022-09-19T23:37:20Z")

</div>

hey there mr FMOD! I’m updating my project from 2.0 to 2.2, and ive been going through the event reference updater wizard to not lose all of my event references. everything seems to be going smoothly, except for any re…

---

## [Studio was unable to connect to "localhost" error with Unity 2021](https://qa.fmod.com/t/studio-was-unable-to-connect-to-localhost-error-with-unity-2021/19271)

<div class="topic-metadata">

**Author:** [@simpsonelli](https://qa.fmod.com/u/simpsonelli)\
**Replies:** 1\
**Last updated:** [September 19, 2022, 4:47am UTC](https://qa.fmod.com/t/studio-was-unable-to-connect-to-localhost-error-with-unity-2021/19271 "2022-09-19T04:47:38Z")

</div>

Using Unity 2021.1.20f1 on Windows 10 PC with FMOD studio 2.02.08 and the matching Unity asset, I get this error when trying to connect live update: “Studio was unable to connect to “localhost” as a connection error occ…

---

## [Runtime audio file implementation?](https://qa.fmod.com/t/runtime-audio-file-implementation/12950)

<div class="topic-metadata">

**Author:** [@alliyfrauenpreis](https://qa.fmod.com/u/alliyfrauenpreis)\
**Replies:** 3\
**Last updated:** [September 19, 2022, 4:03am UTC](https://qa.fmod.com/t/runtime-audio-file-implementation/12950 "2022-09-19T04:03:17Z")

</div>

I’m working on a project where we are using FMOD to handle sound events in Unity. Some of the sounds for this are generated when the game is running using a text-to-speech library to create .wav files on demand. Is ther…

---

## [getEvent usage and errors](https://qa.fmod.com/t/getevent-usage-and-errors/19280)

<div class="topic-metadata">

**Author:** [@sahilmishra](https://qa.fmod.com/u/sahilmishra)\
**Replies:** 1\
**Last updated:** [September 19, 2022, 1:06am UTC](https://qa.fmod.com/t/getevent-usage-and-errors/19280 "2022-09-19T01:06:47Z")

</div>

Hi, Just started a new Unity project and tried using the callback code that was posted here but Unity keeps getting caught on this line: instance = FMOD.Studio.System.getEvent("event:/Music/Complex/Situationl", out Ev…

---

## [Need help building a multiplayer VOIP system](https://qa.fmod.com/t/need-help-building-a-multiplayer-voip-system/19267)

<div class="topic-metadata">

**Author:** [@gerrardflynne](https://qa.fmod.com/u/gerrardflynne)\
**Replies:** 1\
**Last updated:** [September 16, 2022, 5:53am UTC](https://qa.fmod.com/t/need-help-building-a-multiplayer-voip-system/19267 "2022-09-16T05:53:27Z")

</div>

Hello everyone! So the game I’m working on is finally adding multiplayer features and now I need to build a push-to-talk VOIP system. I am an intermediate Studio user and have some coding experience, however I am not a…

---

## [Failed to open file (bank location)](https://qa.fmod.com/t/failed-to-open-file-bank-location/19274)

<div class="topic-metadata">

**Author:** [@LunarLynx](https://qa.fmod.com/u/LunarLynx)\
**Replies:** 1\
**Last updated:** [September 15, 2022, 3:35am UTC](https://qa.fmod.com/t/failed-to-open-file-bank-location/19274 "2022-09-15T03:35:41Z")

</div>

Hello, after a while of FMOD working fine ive run into a peculiar issue, where FMOD is only able to access one of my parameters. The code I am using to refer to the parameter that wont load is identical, so Im confused a…

---

## [UNITY Visual Scripting Simple Example](https://qa.fmod.com/t/unity-visual-scripting-simple-example/17600)

<div class="topic-metadata">

**Author:** [@DamianM](https://qa.fmod.com/u/DamianM)\
**Replies:** 6\
**Last updated:** [September 14, 2022, 11:36pm UTC](https://qa.fmod.com/t/unity-visual-scripting-simple-example/17600 "2022-09-14T23:36:50Z")

</div>

Hi Guys, after spending some frustrating hours with no results I hope for your help: I try to get some simple instance of sound playing in Unity via the new Visual Scripting (Unity 2021, Fmod 2.02). The connection betwe…

---

## [Disabling Haptics bus on platforms that dont support it](https://qa.fmod.com/t/disabling-haptics-bus-on-platforms-that-dont-support-it/19249)

<div class="topic-metadata">

**Author:** [@ManWhoCanFly](https://qa.fmod.com/u/ManWhoCanFly)\
**Replies:** 2\
**Last updated:** [September 14, 2022, 6:20am UTC](https://qa.fmod.com/t/disabling-haptics-bus-on-platforms-that-dont-support-it/19249 "2022-09-14T06:20:34Z")

</div>

Hello, I am first time implementing rumble and controller audio output trough FMOD. We are still on 2.01 so we need to do it trough code. However if the platform doesnt support VIBRATION or CONTROLLER port, my ChannelG…

---

## [Automation of Stereo Ambience, depending on player position](https://qa.fmod.com/t/automation-of-stereo-ambience-depending-on-player-position/19252)

<div class="topic-metadata">

**Author:** [@fractanimal](https://qa.fmod.com/u/fractanimal)\
**Replies:** 1\
**Last updated:** [September 14, 2022, 2:33am UTC](https://qa.fmod.com/t/automation-of-stereo-ambience-depending-on-player-position/19252 "2022-09-14T02:33:28Z")

</div>

Hi, I’m just keen for some thoughts on this. So there’s a large outdoor area in-game where several ambient elements will vary in intensity depending on where the player is. In some areas the wind (for example) is very s…

---

## [Bluetooth SCO support](https://qa.fmod.com/t/bluetooth-sco-support/19242)

<div class="topic-metadata">

**Author:** [@asingh](https://qa.fmod.com/u/asingh)\
**Replies:** 1\
**Last updated:** [September 14, 2022, 12:56am UTC](https://qa.fmod.com/t/bluetooth-sco-support/19242 "2022-09-14T00:56:20Z")

</div>

Hi, I am trying to make a voip app in Unity, and I need to use fmod’s core api for audio input. And its going great and everything seems to work as it should. Except for bluetooth headsets, when I connect via bluetooth,…

---

## [ERR\_INVALID\_HANDLE for STUDIO\_EVENTINSTANCE](https://qa.fmod.com/t/err-invalid-handle-for-studio-eventinstance/19264)

<div class="topic-metadata">

**Author:** [@LunarLynx](https://qa.fmod.com/u/LunarLynx)\
**Replies:** 2\
**Last updated:** [September 13, 2022, 3:39am UTC](https://qa.fmod.com/t/err-invalid-handle-for-studio-eventinstance/19264 "2022-09-13T03:39:32Z")

</div>

Hello everyone, I am brand new to using FMOD, and despite my best efforts to follow just about every tutorial and documentation I could find, I am getting a long string of errors on Update() when trying to change the val…

---

## [How can I identify the instrument / audio file that is currently playing?](https://qa.fmod.com/t/how-can-i-identify-the-instrument-audio-file-that-is-currently-playing/19251)

<div class="topic-metadata">

**Author:** [@mperedo](https://qa.fmod.com/u/mperedo)\
**Replies:** 1\
**Last updated:** [September 9, 2022, 6:09am UTC](https://qa.fmod.com/t/how-can-i-identify-the-instrument-audio-file-that-is-currently-playing/19251 "2022-09-09T06:09:51Z")

</div>

We are using multi-instruments with events so that we can randomize our music. For debugging purposes I need to know which audioclip is currently being played. I’m trying to get information by looking at the bus:channelg…

---

## [AudioTrack.native\_setup fmod crash on android phone](https://qa.fmod.com/t/audiotrack-native-setup-fmod-crash-on-android-phone/19245)

<div class="topic-metadata">

**Author:** [@simingtu](https://qa.fmod.com/u/simingtu)\
**Replies:** 3\
**Last updated:** [September 13, 2022, 12:19am UTC](https://qa.fmod.com/t/audiotrack-native-setup-fmod-crash-on-android-phone/19245 "2022-09-13T00:19:13Z")

</div>

F : runtime.cc:694\] native: #51 pc 0000000000053880 /apex/com.android.runtime/lib64/bionic/libc.so (\_\_start\_thread+64) F : runtime.cc:694\] at android.media.AudioTrack.native\_setup(Native method) F : runtime.cc:694…

---

## [FMOD for Unity, Event not found C#](https://qa.fmod.com/t/fmod-for-unity-event-not-found-c/19230)

<div class="topic-metadata">

**Author:** [@Camiel](https://qa.fmod.com/u/Camiel)\
**Replies:** 2\
**Last updated:** [September 10, 2022, 10:43am UTC](https://qa.fmod.com/t/fmod-for-unity-event-not-found-c/19230 "2022-09-10T10:43:55Z")

</div>

Hi, So I’ve installed FMOD for Unity 2.02.07 and FMOD studio 2.02.07. When I create an FMOD Studio Event Emitter I do get sound and no errors. I’ve got an Fmod listener on the camera. When trying to play sound through …

---

## [What is growBuffer?](https://qa.fmod.com/t/what-is-growbuffer/19240)

<div class="topic-metadata">

**Author:** [@KredeF](https://qa.fmod.com/u/KredeF)\
**Replies:** 3\
**Last updated:** [September 9, 2022, 3:34am UTC](https://qa.fmod.com/t/what-is-growbuffer/19240 "2022-09-09T03:34:04Z")

</div>

Hi FMOD and friends! Can anyone explain to me in human words what ‘grow buffer’ is? I get this warning: ‘’\[FMOD\] AsyncCommandBuffer::growBuffer : Growing command buffer to 65536 bytes. Initial command buffer size can be…

---

## [Specify event path in code](https://qa.fmod.com/t/specify-event-path-in-code/19250)

<div class="topic-metadata">

**Author:** [@g.hadji](https://qa.fmod.com/u/g.hadji)\
**Replies:** 1\
**Last updated:** [September 8, 2022, 12:48pm UTC](https://qa.fmod.com/t/specify-event-path-in-code/19250 "2022-09-08T12:48:09Z")

</div>

Hi, In the latest version of fmod for unity it was possible to specify the path of an event directly in code : \[EventRef\] private string myEvent = "path of my event"; With the latest version of the plugin, I had to r…

---

## [Audio is silent on iOS device](https://qa.fmod.com/t/audio-is-silent-on-ios-device/15302)

<div class="topic-metadata">

**Author:** [@florian13](https://qa.fmod.com/u/florian13)\
**Replies:** 6\
**Last updated:** [September 8, 2022, 8:26am UTC](https://qa.fmod.com/t/audio-is-silent-on-ios-device/15302 "2022-09-08T08:26:34Z")

</div>

Hi guys, While working on porting an app to iOS, I’m facing a problem with sound not working at all on iOS. I went ahead and created a very simple test Unity (2019.2.12f1) project using FMOD 2.00.06 and the same issue …

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

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