# Unity

**URL:** https://qa.fmod.com/c/unity/7.md?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

---

## [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 …

---

## [Cant change event parameter](https://qa.fmod.com/t/cant-change-event-parameter/19238)

<div class="topic-metadata">

**Author:** [@justinsane](https://qa.fmod.com/u/justinsane)\
**Replies:** 1\
**Last updated:** [September 7, 2022, 12:59am UTC](https://qa.fmod.com/t/cant-change-event-parameter/19238 "2022-09-07T00:59:52Z")

</div>

Hello, i cant change the parameter of a simple sound with FMOD. Iam new in fmod and trying to move my project into the FMOD space. I created an FMOD Event Emitter and attached an event to it. The Event has an integer p…

---

## [11. Scripting examples | Programmer Sounds - suggestion to improve Scripting example](https://qa.fmod.com/t/11-scripting-examples-programmer-sounds-suggestion-to-improve-scripting-example/19190)

<div class="topic-metadata">

**Author:** [@atlem](https://qa.fmod.com/u/atlem)\
**Replies:** 3\
**Last updated:** [September 6, 2022, 2:42am UTC](https://qa.fmod.com/t/11-scripting-examples-programmer-sounds-suggestion-to-improve-scripting-example/19190 "2022-09-06T02:42:05Z")

</div>

In your scripting example of Programmer Sounds, would you consider adding an example on how to pass the sound key when the sound is stopped? Since you cannot Invoke a event, ie: public static event Action\<string\> OnSoun…

---

## [How to make MIDI files to trigger Fmod instrument?](https://qa.fmod.com/t/how-to-make-midi-files-to-trigger-fmod-instrument/19204)

<div class="topic-metadata">

**Author:** [@redsheep](https://qa.fmod.com/u/redsheep)\
**Replies:** 1\
**Last updated:** [September 5, 2022, 5:46am UTC](https://qa.fmod.com/t/how-to-make-midi-files-to-trigger-fmod-instrument/19204 "2022-09-05T05:46:29Z")

</div>

Hi, I’m currently working on a music game and just contact with Fmod for a few days. As I know, there’s no proper way for Fmod to read and use midi file information to trigger its instruments like DAW or Wwise. Let’s s…

---

## [Unity html5 getRecordNumDrivers](https://qa.fmod.com/t/unity-html5-getrecordnumdrivers/19216)

<div class="topic-metadata">

**Author:** [@mgodfrey-modest](https://qa.fmod.com/u/mgodfrey-modest)\
**Replies:** 1\
**Last updated:** [September 5, 2022, 12:42am UTC](https://qa.fmod.com/t/unity-html5-getrecordnumdrivers/19216 "2022-09-05T00:42:51Z")

</div>

I’m trying to use fmod microphone api in html5/unity webgl, but when I call System.getRecordNumDrivers it outputs 0 drivers and 0 connected, even after an user interaction and the microphone permission being granted in t…

---

## [30:err\_invalid\_handle](https://qa.fmod.com/t/30-err-invalid-handle/19227)

<div class="topic-metadata">

**Author:** [@gorrj](https://qa.fmod.com/u/gorrj)\
**Replies:** 1\
**Last updated:** [September 4, 2022, 11:49pm UTC](https://qa.fmod.com/t/30-err-invalid-handle/19227 "2022-09-04T23:49:19Z")

</div>

Hello. We are encountering: \[FMOD\] AsyncManager::asyncThreadLoop : System::update returned error 30.\<br\>FMODUnity.RuntimeManager:DEBUG\_CALLBACK(DEBUG\_FLAGS, IntPtr, Int32, IntPtr, IntPtr)\<br\>\<br\> Wed Aug 31 2022 15:11:2…

---

## [Create customised trigger zones](https://qa.fmod.com/t/create-customised-trigger-zones/18185)

<div class="topic-metadata">

**Author:** [@herbeck](https://qa.fmod.com/u/herbeck)\
**Replies:** 4\
**Last updated:** [September 1, 2022, 8:09pm UTC](https://qa.fmod.com/t/create-customised-trigger-zones/18185 "2022-09-01T20:09:43Z")

</div>

Hello Friends, I’d like to implement some wave-sounds when the player comes near to the shoreline. I’m wondering if the is a better solution to implement the trigger-zone, than using multiple 3D spheres and place them a…

---

## [List of events, sort by tags](https://qa.fmod.com/t/list-of-events-sort-by-tags/19213)

<div class="topic-metadata">

**Author:** [@g.hadji](https://qa.fmod.com/u/g.hadji)\
**Replies:** 2\
**Last updated:** [September 1, 2022, 1:47pm UTC](https://qa.fmod.com/t/list-of-events-sort-by-tags/19213 "2022-09-01T13:47:03Z")

</div>

Hi, I want to know if this is possible to make a custom version of the event browser, where it is possible to sort the events by tags.

---

## [Playback raw PCM bytes without buffering](https://qa.fmod.com/t/playback-raw-pcm-bytes-without-buffering/18572)

<div class="topic-metadata">

**Author:** [@codambro](https://qa.fmod.com/u/codambro)\
**Replies:** 3\
**Last updated:** [September 1, 2022, 1:13pm UTC](https://qa.fmod.com/t/playback-raw-pcm-bytes-without-buffering/18572 "2022-09-01T13:13:09Z")

</div>

I’m working on what will eventually be a tool to stream user audio input in realtime between servers. So my program is reading in mic data into one byte array (using @lock/unlock), and then another FMOD::Sound will playb…

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

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