# Unity

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

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

**Page:** 74

---

## [Change parameter by ID not working](https://qa.fmod.com/t/change-parameter-by-id-not-working/15866)

<div class="topic-metadata">

**Author:** [@MikeMeyers](https://qa.fmod.com/u/MikeMeyers)\
**Replies:** 5\
**Last updated:** [June 9, 2020, 12:02pm UTC](https://qa.fmod.com/t/change-parameter-by-id-not-working/15866 "2020-06-09T12:02:39Z")

</div>

Hi, below is a script that I have attached to my character, and everything in the script is working except for the part that sets the parameter. It is playing the default parameter value 0, rather than 4, every time Play…

---

## [Fmod unity: In Android device can not switch to earphone](https://qa.fmod.com/t/fmod-unity-in-android-device-can-not-switch-to-earphone/15843)

<div class="topic-metadata">

**Author:** [@xu19891108](https://qa.fmod.com/u/xu19891108)\
**Replies:** 1\
**Last updated:** [June 9, 2020, 5:54am UTC](https://qa.fmod.com/t/fmod-unity-in-android-device-can-not-switch-to-earphone/15843 "2020-06-09T05:54:47Z")

</div>

Hi, I meet a question We use fmod in our game,but in android device ,when playing a BGM,and plug in an earphone or switch to bluetooth, the sound can not switch to them, and still play in the phone, but in ios device it…

---

## [Input earphone on the android phone, but the sound is still output int speaker not earphone](https://qa.fmod.com/t/input-earphone-on-the-android-phone-but-the-sound-is-still-output-int-speaker-not-earphone/15850)

<div class="topic-metadata">

**Author:** [@bin.jia](https://qa.fmod.com/u/bin.jia)\
**Replies:** 1\
**Last updated:** [June 5, 2020, 5:11am UTC](https://qa.fmod.com/t/input-earphone-on-the-android-phone-but-the-sound-is-still-output-int-speaker-not-earphone/15850 "2020-06-05T05:11:15Z")

</div>

Input earphone on the android phone, but the sound is still output in the speaker not earphone, so how to resolve it? In the IOS this feature is ok.

---

## [No sound playing from event emitter using 2d event and 'Object Start'](https://qa.fmod.com/t/no-sound-playing-from-event-emitter-using-2d-event-and-object-start/15848)

<div class="topic-metadata">

**Author:** [@MikeMeyers](https://qa.fmod.com/u/MikeMeyers)\
**Replies:** 1\
**Last updated:** [June 5, 2020, 12:29am UTC](https://qa.fmod.com/t/no-sound-playing-from-event-emitter-using-2d-event-and-object-start/15848 "2020-06-05T00:29:29Z")

</div>

I have an event that plays when I open the event editor in FMOD window in Unity, click on the event and press play. I have the event assigned in an FMOD event emitter component attached to my main camera. Play is set to …

---

## [Stop event with game object destroy?](https://qa.fmod.com/t/stop-event-with-game-object-destroy/15833)

<div class="topic-metadata">

**Author:** [@HeathClose](https://qa.fmod.com/u/HeathClose)\
**Replies:** 6\
**Last updated:** [June 4, 2020, 1:34pm UTC](https://qa.fmod.com/t/stop-event-with-game-object-destroy/15833 "2020-06-04T13:34:47Z")

</div>

This should be straight forward but it is not working. I have a projectile gets instantiated and destroys itself after impact… but the sound (which is longer than the projectile can last) keeps playing… so eventually th…

---

## [Monitoring Parameters](https://qa.fmod.com/t/monitoring-parameters/15825)

<div class="topic-metadata">

**Author:** [@HeathClose](https://qa.fmod.com/u/HeathClose)\
**Replies:** 6\
**Last updated:** [June 3, 2020, 9:14pm UTC](https://qa.fmod.com/t/monitoring-parameters/15825 "2020-06-03T21:14:13Z")

</div>

I don’t see my parameters changing in FMOD when live update is active…Is there a way to monitor parameters?

---

## [Fmodstudio.dll in wrong folder on Xbox One](https://qa.fmod.com/t/fmodstudio-dll-in-wrong-folder-on-xbox-one/15808)

<div class="topic-metadata">

**Author:** [@Laborious](https://qa.fmod.com/u/Laborious)\
**Replies:** 2\
**Last updated:** [June 2, 2020, 6:49am UTC](https://qa.fmod.com/t/fmodstudio-dll-in-wrong-folder-on-xbox-one/15808 "2020-06-02T06:49:01Z")

</div>

When building for Xbox One with Unity 2019.3.10f1, using fmodstudio20008xboxone\_xdk180712.unitypackage, I get an error stating Unable to locate ‘G:Data/Plugins/FMOD/lib/xboxone/fmodstudio.dll’. In Unity the dll’s reside…

---

## [FMOD WebGL Loading Banks](https://qa.fmod.com/t/fmod-webgl-loading-banks/15777)

<div class="topic-metadata">

**Author:** [@mathcong](https://qa.fmod.com/u/mathcong)\
**Replies:** 3\
**Last updated:** [June 2, 2020, 2:10am UTC](https://qa.fmod.com/t/fmod-webgl-loading-banks/15777 "2020-06-02T02:10:45Z")

</div>

I am making a webgl game and loading in the master bank(my only bank) takes a while (its 5mb). Is there a way to load in the master bank before my game starts? If i wanted to have audio for my opening screen, it would…

---

## [Footsteps in 2.0](https://qa.fmod.com/t/footsteps-in-2-0/15826)

<div class="topic-metadata">

**Author:** [@HeathClose](https://qa.fmod.com/u/HeathClose)\
**Replies:** 1\
**Last updated:** [June 1, 2020, 6:18am UTC](https://qa.fmod.com/t/footsteps-in-2-0/15826 "2020-06-01T06:18:58Z")

</div>

I was following the Viking Village tutorial, and downloaded the updated footsteps script form last year, and also updated the textures per the first comment on that video… so everything works… BUT… the footsteps only pla…

---

## [Audio Output Configurations and platform exclusion](https://qa.fmod.com/t/audio-output-configurations-and-platform-exclusion/15806)

<div class="topic-metadata">

**Author:** [@GSolvberg](https://qa.fmod.com/u/GSolvberg)\
**Replies:** 1\
**Last updated:** [June 1, 2020, 2:22am UTC](https://qa.fmod.com/t/audio-output-configurations-and-platform-exclusion/15806 "2020-06-01T02:22:27Z")

</div>

Hello, We are currently looking into using the Audio Output Configurations feature to have different mixes for headsets and speakers etc. However, I cannot find any examples of how to implement this in code, neither in …

---

## [Sound bug with fungus and fmod](https://qa.fmod.com/t/sound-bug-with-fungus-and-fmod/15821)

<div class="topic-metadata">

**Author:** [@Churu](https://qa.fmod.com/u/Churu)\
**Replies:** 0\
**Last updated:** [May 29, 2020, 12:44pm UTC](https://qa.fmod.com/t/sound-bug-with-fungus-and-fmod/15821 "2020-05-29T12:44:29Z")

</div>

I encountered a bug with fungus and Fmod, if you’re using fungus and fmod in the same project then sounds played in fmod that are not stopped anywhere during the scene will continue playing after you stop the game in the…

---

## [Get 3Devent maxDistance](https://qa.fmod.com/t/get-3devent-maxdistance/15804)

<div class="topic-metadata">

**Author:** [@skujie](https://qa.fmod.com/u/skujie)\
**Replies:** 1\
**Last updated:** [May 29, 2020, 6:34am UTC](https://qa.fmod.com/t/get-3devent-maxdistance/15804 "2020-05-29T06:34:22Z")

</div>

Hey, i’m trying to access the hearing area from FMOD in Unity In the Studio Event Emitter script, it somehow gets the maxDistance of the event, and i can’t find how. I’d like to get that from an event played with the .…

---

## [Transceiver receiving tracks continue to play on object destroy/disable](https://qa.fmod.com/t/transceiver-receiving-tracks-continue-to-play-on-object-destroy-disable/15664)

<div class="topic-metadata">

**Author:** [@amaribrahim](https://qa.fmod.com/u/amaribrahim)\
**Replies:** 4\
**Last updated:** [May 27, 2020, 10:27pm UTC](https://qa.fmod.com/t/transceiver-receiving-tracks-continue-to-play-on-object-destroy-disable/15664 "2020-05-27T22:27:47Z")

</div>

Greetings, my transceiver receiving game objects continue to play after destroying or disabling the game object via script, or even in editor view at runtime. I am using version 2.00.06 of FMOD studio and Unity 2018.1.6…

---

## [Area sound emitter](https://qa.fmod.com/t/area-sound-emitter/15748)

<div class="topic-metadata">

**Author:** [@pmduda](https://qa.fmod.com/u/pmduda)\
**Replies:** 11\
**Last updated:** [May 27, 2020, 8:48pm UTC](https://qa.fmod.com/t/area-sound-emitter/15748 "2020-05-27T20:48:18Z")

</div>

Hi! Is there a way (actually, what is the best way?) to create an area sound emitter, where the sound parameters are calculated based on listener position relative to a shape. This kind of area sound emitter can be a r…

---

## [Errors running FMOD Studio plus Resonance Audio on arm64 android device](https://qa.fmod.com/t/errors-running-fmod-studio-plus-resonance-audio-on-arm64-android-device/14859)

<div class="topic-metadata">

**Author:** [@buzzrick](https://qa.fmod.com/u/buzzrick)\
**Replies:** 21\
**Last updated:** [May 27, 2020, 5:49am UTC](https://qa.fmod.com/t/errors-running-fmod-studio-plus-resonance-audio-on-arm64-android-device/14859 "2020-05-27T05:49:00Z")

</div>

I’m updating an Unity engine android application to support the arm64 platform, and I get the following error whenever I try to play a spacial audio sound using Resonance Audio: 2019-07-16 10:04:53.849 12023-12043/? E/U…

---

## [Pure virtual functio call - removePlayingEvent crash](https://qa.fmod.com/t/pure-virtual-functio-call-removeplayingevent-crash/15676)

<div class="topic-metadata">

**Author:** [@deathbypixel](https://qa.fmod.com/u/deathbypixel)\
**Replies:** 9\
**Last updated:** [May 27, 2020, 5:44am UTC](https://qa.fmod.com/t/pure-virtual-functio-call-removeplayingevent-crash/15676 "2020-05-27T05:44:40Z")

</div>

Hi, Months later I’m tracking down a rare crash, which still occurs in standalone Unity builds. The crash is “pure virtual function call” and the original old thread is here Hard crash in Unity - pure virtual function c…

---

## [EventHandler.OnTriggerEnter/Exit does not look at the Attached RigidBody](https://qa.fmod.com/t/eventhandler-ontriggerenter-exit-does-not-look-at-the-attached-rigidbody/15776)

<div class="topic-metadata">

**Author:** [@wiverson](https://qa.fmod.com/u/wiverson)\
**Replies:** 1\
**Last updated:** [May 25, 2020, 5:40am UTC](https://qa.fmod.com/t/eventhandler-ontriggerenter-exit-does-not-look-at-the-attached-rigidbody/15776 "2020-05-25T05:40:07Z")

</div>

I just found that the EventHandler OnTriggerEnter and OnTriggerExit look only at the collider, not the attached RigidBody for purposes of tag detection. I have the Player tag set on the RigidBody, but not on the childre…

---

## [SWITCH library version](https://qa.fmod.com/t/switch-library-version/15717)

<div class="topic-metadata">

**Author:** [@NephilimGS](https://qa.fmod.com/u/NephilimGS)\
**Replies:** 4\
**Last updated:** [May 25, 2020, 4:54am UTC](https://qa.fmod.com/t/switch-library-version/15717 "2020-05-25T04:54:03Z")

</div>

Hi, Is there a chance of getting the SWITCH 2.00.08 libraries built against SDK 9.4.1? Thanks, Simon

---

## [Live Update freezing fmod](https://qa.fmod.com/t/live-update-freezing-fmod/15612)

<div class="topic-metadata">

**Author:** [@SimonK](https://qa.fmod.com/u/SimonK)\
**Replies:** 1\
**Last updated:** [April 15, 2020, 2:05am UTC](https://qa.fmod.com/t/live-update-freezing-fmod/15612 "2020-04-15T02:05:46Z")

</div>

Admittedly a very new user here following along with the FMOD for Unity quickstart guide. When I connect Live Update it connects fine, I can hear the audio and the meters are moving and showing the appropriate levels, b…

---

## [In IOS,when session become playandrecord, the sound is strange by bluetooth headset（only bluetooth and UNITY）](https://qa.fmod.com/t/in-ios-when-session-become-playandrecord-the-sound-is-strange-by-bluetooth-headset-only-bluetooth-and-unity/15785)

<div class="topic-metadata">

**Author:** [@chuyuwei](https://qa.fmod.com/u/chuyuwei)\
**Replies:** 1\
**Last updated:** [May 24, 2020, 11:14pm UTC](https://qa.fmod.com/t/in-ios-when-session-become-playandrecord-the-sound-is-strange-by-bluetooth-headset-only-bluetooth-and-unity/15785 "2020-05-24T23:14:48Z")

</div>

when i want to record , the session become playandrecord ,the sound is strage by bluetooth headset.Can anyone help me

---

## [How to prioritize events](https://qa.fmod.com/t/how-to-prioritize-events/15617)

<div class="topic-metadata">

**Author:** [@Shmank](https://qa.fmod.com/u/Shmank)\
**Replies:** 5\
**Last updated:** [May 24, 2020, 1:27pm UTC](https://qa.fmod.com/t/how-to-prioritize-events/15617 "2020-05-24T13:27:34Z")

</div>

Hello there! I’m new to FMOD. So i’m wondering, is there any way to prioritize multiple diffrient events like you can do it with number of instances of one particular event? My goal is to load events when player gets cl…

---

## [Inconsistencies in FMODUnity.EventRef attribute behaviour](https://qa.fmod.com/t/inconsistencies-in-fmodunity-eventref-attribute-behaviour/15795)

<div class="topic-metadata">

**Author:** [@Crowind](https://qa.fmod.com/u/Crowind)\
**Replies:** 1\
**Last updated:** [May 24, 2020, 10:54am UTC](https://qa.fmod.com/t/inconsistencies-in-fmodunity-eventref-attribute-behaviour/15795 "2020-05-24T10:54:48Z")

</div>

I’m having problems with the unity integration, currently using the 2019.3.0f6 Unity version. When working with a new clean project the EventRef attribute works perfectly fine When i tried doing that in my current proj…

---

## [Is it ok to have many EventInstances if they are not playing sounds? Better to instantiate when needed?](https://qa.fmod.com/t/is-it-ok-to-have-many-eventinstances-if-they-are-not-playing-sounds-better-to-instantiate-when-needed/15770)

<div class="topic-metadata">

**Author:** [@facaelectrica](https://qa.fmod.com/u/facaelectrica)\
**Replies:** 3\
**Last updated:** [May 24, 2020, 3:12am UTC](https://qa.fmod.com/t/is-it-ok-to-have-many-eventinstances-if-they-are-not-playing-sounds-better-to-instantiate-when-needed/15770 "2020-05-24T03:12:48Z")

</div>

Feeling confused and would like some clarification. In my current project, there are audio instances that are always playing sound (e.g ambient, music) and for those, I create an EventInstance at the start of the level. …

---

## [FMOD Unity parameter](https://qa.fmod.com/t/fmod-unity-parameter/15787)

<div class="topic-metadata">

**Author:** [@dajh18](https://qa.fmod.com/u/dajh18)\
**Replies:** 1\
**Last updated:** [May 24, 2020, 3:03am UTC](https://qa.fmod.com/t/fmod-unity-parameter/15787 "2020-05-24T03:03:01Z")

</div>

I don’t know what I’m doing wrong, I’ve looked endlessly on the API and unity and still my FMOD params won’t even budge. What about this code is wrong? public class FMODPlayer : MonoBehaviour { float VA = 0; float VA…

---

## [DllNotFoundException: fmodstudioL](https://qa.fmod.com/t/dllnotfoundexception-fmodstudiol/15792)

<div class="topic-metadata">

**Author:** [@raingame](https://qa.fmod.com/u/raingame)\
**Replies:** 1\
**Last updated:** [May 24, 2020, 1:37am UTC](https://qa.fmod.com/t/dllnotfoundexception-fmodstudiol/15792 "2020-05-24T01:37:26Z")

</div>

It works fine in Editor, but in build it crashes with this exception log. fmodstudioL dll is located in FMOD/lib/win/x86\_64 folder. What is the problem?

---

## [Multiple people working on the same project problem .fspro does not exist](https://qa.fmod.com/t/multiple-people-working-on-the-same-project-problem-fspro-does-not-exist/15790)

<div class="topic-metadata">

**Author:** [@axelpfister](https://qa.fmod.com/u/axelpfister)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 2:31pm UTC](https://qa.fmod.com/t/multiple-people-working-on-the-same-project-problem-fspro-does-not-exist/15790 "2020-05-22T14:31:00Z")

</div>

Hello there, wondering how to deal with multiple people working on the same project. I am sound designer, installed fmod studio and the unity integration. Now that my banks and sounds are in the project, the other peo…

---

## [How to sample current frame to raw buffer](https://qa.fmod.com/t/how-to-sample-current-frame-to-raw-buffer/15767)

<div class="topic-metadata">

**Author:** [@dtsiknis](https://qa.fmod.com/u/dtsiknis)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 5:03am UTC](https://qa.fmod.com/t/how-to-sample-current-frame-to-raw-buffer/15767 "2020-05-22T05:03:20Z")

</div>

Is there an API call in the Unity integration (v 1.10) to sample the audio output at the current frame? This would be used to populate a float buffer that can be passed to Unity’s AudioRenderer.Render call. The purpose h…

---

## [Loop sound events stop in case of application hide (Unity Integration)](https://qa.fmod.com/t/loop-sound-events-stop-in-case-of-application-hide-unity-integration/15781)

<div class="topic-metadata">

**Author:** [@Demonmal](https://qa.fmod.com/u/Demonmal)\
**Replies:** 1\
**Last updated:** [May 21, 2020, 4:27am UTC](https://qa.fmod.com/t/loop-sound-events-stop-in-case-of-application-hide-unity-integration/15781 "2020-05-21T04:27:38Z")

</div>

In my main menu scene I have loop sound event which plays until the player will start the game. And everything is fine when I test it in Unity editor but when I make GP or IOS build I have the following problem: sometime…

---

## [When the other sdk set avaudio play and recorde, the unity ios fmod by bluetooth can't hear the voice](https://qa.fmod.com/t/when-the-other-sdk-set-avaudio-play-and-recorde-the-unity-ios-fmod-by-bluetooth-cant-hear-the-voice/15782)

<div class="topic-metadata">

**Author:** [@chuyuwei](https://qa.fmod.com/u/chuyuwei)\
**Replies:** 1\
**Last updated:** [May 20, 2020, 10:13pm UTC](https://qa.fmod.com/t/when-the-other-sdk-set-avaudio-play-and-recorde-the-unity-ios-fmod-by-bluetooth-cant-hear-the-voice/15782 "2020-05-20T22:13:20Z")

</div>

when I set int ToIos() { NSString\* category=@“AVAudioSessionCategoryPlayAndRecord”; int option=12; AVAudioSession\* session=\[AVAudioSession sharedInstance\]; if(option!=-1) { \[session setCategory:category withOptio…

---

## [FMOD Not Working - Unity 2019.2.17f1](https://qa.fmod.com/t/fmod-not-working-unity-2019-2-17f1/15350)

<div class="topic-metadata">

**Author:** [@abaldwin](https://qa.fmod.com/u/abaldwin)\
**Replies:** 11\
**Last updated:** [May 20, 2020, 5:36am UTC](https://qa.fmod.com/t/fmod-not-working-unity-2019-2-17f1/15350 "2020-05-20T05:36:13Z")

</div>

When importing the package in Unity 2019.2.17f1, I get a path error (see below). I have integrated FMOD into previous versions of Unity with no issues. I am wondering if there is a new step that I need to use in order …

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

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