# Unity

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

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

**Page:** 34

---

## [Distance Attenuation Not Working at the moment](https://qa.fmod.com/t/distance-attenuation-not-working-at-the-moment/20444)

<div class="topic-metadata">

**Author:** [@presh](https://qa.fmod.com/u/presh)\
**Replies:** 1\
**Last updated:** [July 19, 2023, 9:46pm UTC](https://qa.fmod.com/t/distance-attenuation-not-working-at-the-moment/20444 "2023-07-19T21:46:32Z")

</div>

Hello! First post in the community. Thank you for this tool! My question is specific to using AttachInstanceToGameobject. So I’ve gotten to the point where the eventInstance is successfully updating it’s 3D attributes (…

---

## [Fmod Discrete Parameter Problem with WebGL upload](https://qa.fmod.com/t/fmod-discrete-parameter-problem-with-webgl-upload/20433)

<div class="topic-metadata">

**Author:** [@karthikx25](https://qa.fmod.com/u/karthikx25)\
**Replies:** 1\
**Last updated:** [July 19, 2023, 3:14am UTC](https://qa.fmod.com/t/fmod-discrete-parameter-problem-with-webgl-upload/20433 "2023-07-19T03:14:31Z")

</div>

Hi everyone, I have a game that uses Unity integrated with FMOD. I uploaded a WebGL version of this game to simmer.io and the music plays mostly as expected. In the game, I have a Sphere Object which triggers a discrete…

---

## [What Is The Correct Way To Play A New Song?](https://qa.fmod.com/t/what-is-the-correct-way-to-play-a-new-song/20422)

<div class="topic-metadata">

**Author:** [@libio1991](https://qa.fmod.com/u/libio1991)\
**Replies:** 3\
**Last updated:** [July 19, 2023, 2:41am UTC](https://qa.fmod.com/t/what-is-the-correct-way-to-play-a-new-song/20422 "2023-07-19T02:41:43Z")

</div>

Good Evening All, I created a method that stops playing the current song and then plays a new song. Though, I’m not certain if this is the best way to do it: public void PlaySong(EventReference song) { // I…

---

## [Change volume StudioEventEmitter](https://qa.fmod.com/t/change-volume-studioeventemitter/20269)

<div class="topic-metadata">

**Author:** [@MarsLit](https://qa.fmod.com/u/MarsLit)\
**Replies:** 3\
**Last updated:** [July 18, 2023, 12:47am UTC](https://qa.fmod.com/t/change-volume-studioeventemitter/20269 "2023-07-18T00:47:55Z")

</div>

Hi, Is possible to change thr volume of an emitter or it can only be done using FMOD?

---

## [FMOD sound from (Emitter) get smaller (fade out) every times C# FMOD sound play (one shot) then gradually back to normal](https://qa.fmod.com/t/fmod-sound-from-emitter-get-smaller-fade-out-every-times-c-fmod-sound-play-one-shot-then-gradually-back-to-normal/19818)

<div class="topic-metadata">

**Author:** [@32nguyen](https://qa.fmod.com/u/32nguyen)\
**Replies:** 2\
**Last updated:** [July 17, 2023, 3:31am UTC](https://qa.fmod.com/t/fmod-sound-from-emitter-get-smaller-fade-out-every-times-c-fmod-sound-play-one-shot-then-gradually-back-to-normal/19818 "2023-07-17T03:31:22Z")

</div>

Hi all, I got this problem with Unity and Fmod, I used one background soundtrack with FMOD Emitter and another FMOD sound (knocking) played from C#. Every times it plays knock sound, the background sound fades out (get…

---

## [Ios mute switch](https://qa.fmod.com/t/ios-mute-switch/20331)

<div class="topic-metadata">

**Author:** [@baturalpcetin](https://qa.fmod.com/u/baturalpcetin)\
**Replies:** 3\
**Last updated:** [July 14, 2023, 12:37am UTC](https://qa.fmod.com/t/ios-mute-switch/20331 "2023-07-14T00:37:18Z")

</div>

Hi guys, Sound is continue while ios mute switch is enabled. Do you know what should be the problem? unity vers : 2021.3.21f1 fmod vers: 2.02.09

---

## [FMOD/Bitcode preventing iOS builds](https://qa.fmod.com/t/fmod-bitcode-preventing-ios-builds/20405)

<div class="topic-metadata">

**Author:** [@branskylar](https://qa.fmod.com/u/branskylar)\
**Replies:** 5\
**Last updated:** [July 14, 2023, 12:20am UTC](https://qa.fmod.com/t/fmod-bitcode-preventing-ios-builds/20405 "2023-07-14T00:20:13Z")

</div>

Hi team, Having an issue building an iOS game from Unity Dashboard; it appears FMOD & bitcode are incompatible & access to disabling bitcode is not possible within Unity Dashboard (where our team’s builds are managed) U…

---

## [How to input desktop audio so i can retrieve spectrum data from it WASAPI loopback capture](https://qa.fmod.com/t/how-to-input-desktop-audio-so-i-can-retrieve-spectrum-data-from-it-wasapi-loopback-capture/19293)

<div class="topic-metadata">

**Author:** [@couchpotatochip21](https://qa.fmod.com/u/couchpotatochip21)\
**Replies:** 15\
**Last updated:** [July 12, 2023, 11:54pm UTC](https://qa.fmod.com/t/how-to-input-desktop-audio-so-i-can-retrieve-spectrum-data-from-it-wasapi-loopback-capture/19293 "2023-07-12T23:54:07Z")

</div>

I want to input the left and right channels of desktop audio so i can retrieve seperate spectrum data of the lefft and right

---

## [FMOD Assertion mNumSubSounds' failed (Unity Player)](https://qa.fmod.com/t/fmod-assertion-mnumsubsounds-failed-unity-player/20390)

<div class="topic-metadata">

**Author:** [@ksywa812](https://qa.fmod.com/u/ksywa812)\
**Replies:** 5\
**Last updated:** [July 12, 2023, 5:02am UTC](https://qa.fmod.com/t/fmod-assertion-mnumsubsounds-failed-unity-player/20390 "2023-07-12T05:02:07Z")

</div>

Hello, Currently, I’m working on a project where we’ve migrated the audio system from Unity to FMOD (in the middle of the game development). The audio overall works fine with the all fmod features but I got some seriou…

---

## [WebGL sounds like Mono in Google Chrome](https://qa.fmod.com/t/webgl-sounds-like-mono-in-google-chrome/20376)

<div class="topic-metadata">

**Author:** [@wengyhongwork](https://qa.fmod.com/u/wengyhongwork)\
**Replies:** 14\
**Last updated:** [July 6, 2023, 9:39pm UTC](https://qa.fmod.com/t/webgl-sounds-like-mono-in-google-chrome/20376 "2023-07-06T21:39:24Z")

</div>

Hi all, I currently made build for Unity WebGL and it seems like the quality sounded worse in Google Chrome. I also tried in Firefox, it sounded fine but it has worse latency compared to Google Chrome. Focusing on Goog…

---

## [Is it possible to load a Bank from an EventInstance or EventReference?](https://qa.fmod.com/t/is-it-possible-to-load-a-bank-from-an-eventinstance-or-eventreference/20389)

<div class="topic-metadata">

**Author:** [@bloo\_regard\_q\_kazoo](https://qa.fmod.com/u/bloo_regard_q_kazoo)\
**Replies:** 6\
**Last updated:** [July 6, 2023, 7:15am UTC](https://qa.fmod.com/t/is-it-possible-to-load-a-bank-from-an-eventinstance-or-eventreference/20389 "2023-07-06T07:15:02Z")

</div>

Exactly what the title says.

---

## [Trying to use different events in a single emitter does not works](https://qa.fmod.com/t/trying-to-use-different-events-in-a-single-emitter-does-not-works/20382)

<div class="topic-metadata">

**Author:** [@3DMagicVR](https://qa.fmod.com/u/3DMagicVR)\
**Replies:** 2\
**Last updated:** [July 5, 2023, 6:31pm UTC](https://qa.fmod.com/t/trying-to-use-different-events-in-a-single-emitter-does-not-works/20382 "2023-07-05T18:31:18Z")

</div>

Hello and good day. I’m trying to use a single event emitter to manage diferent events, but when I do it, only the first assigned event keeps playing (when it’s invoked using the Play at the moment and later on), this i…

---

## [Webgl audio distortion/crackling](https://qa.fmod.com/t/webgl-audio-distortion-crackling/20043)

<div class="topic-metadata">

**Author:** [@SwingWren](https://qa.fmod.com/u/SwingWren)\
**Replies:** 7\
**Last updated:** [July 4, 2023, 8:49am UTC](https://qa.fmod.com/t/webgl-audio-distortion-crackling/20043 "2023-07-04T08:49:55Z")

</div>

Hello! I’ve been switching to fmod in our project and it works fine but in webgl a very bad sound cracking/poping effect is heard. I’ve tried setting the quality of audio compression to 100% but it doesn’t improve. us…

---

## [Failed to set global parameter when bank is not loaded at RuntimeManager initialization](https://qa.fmod.com/t/failed-to-set-global-parameter-when-bank-is-not-loaded-at-runtimemanager-initialization/20363)

<div class="topic-metadata">

**Author:** [@juzdepeche](https://qa.fmod.com/u/juzdepeche)\
**Replies:** 1\
**Last updated:** [June 30, 2023, 3:48am UTC](https://qa.fmod.com/t/failed-to-set-global-parameter-when-bank-is-not-loaded-at-runtimemanager-initialization/20363 "2023-06-30T03:48:02Z")

</div>

Hi, When my game boots, I have a StudioBankLoader components that loads my banks (including Master and Master.strings). I have a coroutine that checks if all the banks were loaded, then I set a global parameter from a S…

---

## [How do I sort sprites by relative positions of bounding boxes?](https://qa.fmod.com/t/how-do-i-sort-sprites-by-relative-positions-of-bounding-boxes/20365)

<div class="topic-metadata">

**Author:** [@Economy](https://qa.fmod.com/u/Economy)\
**Replies:** 1\
**Last updated:** [June 29, 2023, 10:39pm UTC](https://qa.fmod.com/t/how-do-i-sort-sprites-by-relative-positions-of-bounding-boxes/20365 "2023-06-29T22:39:48Z")

</div>

By default, Unity gives you the options between the center of each sprite itself and wherever you assign a pivot point. Like, when you have objects with diagonal sides of their bounding boxes, I would like my character …

---

## [Fmod in unity lagging on Android Device issue](https://qa.fmod.com/t/fmod-in-unity-lagging-on-android-device-issue/20355)

<div class="topic-metadata">

**Author:** [@brandtong](https://qa.fmod.com/u/brandtong)\
**Replies:** 1\
**Last updated:** [June 28, 2023, 1:48am UTC](https://qa.fmod.com/t/fmod-in-unity-lagging-on-android-device-issue/20355 "2023-06-28T01:48:09Z")

</div>

Hello I met a serious problem on developing android game with fmod in unity. I have to build my project for both platform, android and ios. So I used fmod in my project. But lagging issue is occured. I attached some…

---

## [Error CS0839: Argument missing](https://qa.fmod.com/t/error-cs0839-argument-missing/20352)

<div class="topic-metadata">

**Author:** [@M0ajod](https://qa.fmod.com/u/M0ajod)\
**Replies:** 1\
**Last updated:** [June 25, 2023, 11:47pm UTC](https://qa.fmod.com/t/error-cs0839-argument-missing/20352 "2023-06-25T23:47:57Z")

</div>

hello i get this error in line 16 and 22 and what i miss to work the code this it : using System.Collections; using System.Collections.Generic; using UnityEngine; public class FMODEng : MonoBehaviour { FMOD.Studio.…

---

## [FMOD Programmer Sound question - emergency!](https://qa.fmod.com/t/fmod-programmer-sound-question-emergency/20330)

<div class="topic-metadata">

**Author:** [@fkkcloud](https://qa.fmod.com/u/fkkcloud)\
**Replies:** 4\
**Last updated:** [June 23, 2023, 5:02am UTC](https://qa.fmod.com/t/fmod-programmer-sound-question-emergency/20330 "2023-06-23T05:02:57Z")

</div>

Hello, I am trying to find a way to return 0 on those red segment where there is no volume. and returns 1 where it is above volume 0. Is there any way to do that with FMOD Programmer Sound? I implemented Programmer S…

---

## [Warnings Unity 2023.1.0f1](https://qa.fmod.com/t/warnings-unity-2023-1-0f1/20333)

<div class="topic-metadata">

**Author:** [@SwingWren](https://qa.fmod.com/u/SwingWren)\
**Replies:** 1\
**Last updated:** [June 22, 2023, 12:41am UTC](https://qa.fmod.com/t/warnings-unity-2023-1-0f1/20333 "2023-06-22T00:41:55Z")

</div>

Writing this so you are aware of the deprecation warnings in the new unity version. Have a nice day :grinning:

---

## [Control panner on master bus through Unity](https://qa.fmod.com/t/control-panner-on-master-bus-through-unity/20325)

<div class="topic-metadata">

**Author:** [@Zeanix](https://qa.fmod.com/u/Zeanix)\
**Replies:** 3\
**Last updated:** [June 21, 2023, 7:34am UTC](https://qa.fmod.com/t/control-panner-on-master-bus-through-unity/20325 "2023-06-21T07:34:05Z")

</div>

Hello! I’m still understanding the ins and outs of FMOD and couldn’t find this topic anywhere. In Unity, I’m trying to set up a slider control in an audio settings menu for the Panner with the goal of helping people with…

---

## [I am using fmod to create car engine sound with unity but i got problem i cant solve it](https://qa.fmod.com/t/i-am-using-fmod-to-create-car-engine-sound-with-unity-but-i-got-problem-i-cant-solve-it/20309)

<div class="topic-metadata">

**Author:** [@M0ajod](https://qa.fmod.com/u/M0ajod)\
**Replies:** 8\
**Last updated:** [June 21, 2023, 12:20am UTC](https://qa.fmod.com/t/i-am-using-fmod-to-create-car-engine-sound-with-unity-but-i-got-problem-i-cant-solve-it/20309 "2023-06-21T00:20:16Z")

</div>

Hi Im Majed recently i started using fmod to create sound engine for my game in unity so i got problem im using the examples in documents/Fmod VEHICLE and im using custom physics for car and mathf.lerp but when i run…

---

## [RuntimeManager.LoadBank fail](https://qa.fmod.com/t/runtimemanager-loadbank-fail/20119)

<div class="topic-metadata">

**Author:** [@guku001](https://qa.fmod.com/u/guku001)\
**Replies:** 9\
**Last updated:** [June 20, 2023, 12:11am UTC](https://qa.fmod.com/t/runtimemanager-loadbank-fail/20119 "2023-06-20T00:11:11Z")

</div>

in unity 2021.3.16f1 BankLoadException: \[FMOD\] Could not load bank ‘J:/FMODProject/Genesis/Build/Desktop/SFX.bank’ : ERR\_INVALID\_HANDLE : An invalid object handle was used. int maxchannels = 128; RuntimeManager.StudioS…

---

## [FMOD music will not resume after Ironsource Ads](https://qa.fmod.com/t/fmod-music-will-not-resume-after-ironsource-ads/20209)

<div class="topic-metadata">

**Author:** [@edaw22](https://qa.fmod.com/u/edaw22)\
**Replies:** 16\
**Last updated:** [June 19, 2023, 12:55pm UTC](https://qa.fmod.com/t/fmod-music-will-not-resume-after-ironsource-ads/20209 "2023-06-19T12:55:38Z")

</div>

Hi all, Unity Version: 2021.3.11f1 FMOD For Unity Version: 2.02.13 Ironsource Plugin for Unity Version: 7.3.0.1 When running my Unity game on iOS, the FMOD music plays normally when the game starts. When I play an a…

---

## [Unity 2021.3.21 Build on nintendo switch failed](https://qa.fmod.com/t/unity-2021-3-21-build-on-nintendo-switch-failed/20197)

<div class="topic-metadata">

**Author:** [@Inazuma](https://qa.fmod.com/u/Inazuma)\
**Replies:** 3\
**Last updated:** [June 19, 2023, 10:34am UTC](https://qa.fmod.com/t/unity-2021-3-21-build-on-nintendo-switch-failed/20197 "2023-06-19T10:34:33Z")

</div>

Hello, However for technical reasons I had to update my version of unity (from 2020.3.21 to 2021.2.21) and now I have a problem. I can’t build with the fmod nintendo switch package. I have checked that this is where the…

---

## [How can I change "Fmod listener" to an "audio Listener"?](https://qa.fmod.com/t/how-can-i-change-fmod-listener-to-an-audio-listener/20313)

<div class="topic-metadata">

**Author:** [@boeung](https://qa.fmod.com/u/boeung)\
**Replies:** 1\
**Last updated:** [June 16, 2023, 4:52am UTC](https://qa.fmod.com/t/how-can-i-change-fmod-listener-to-an-audio-listener/20313 "2023-06-16T04:52:49Z")

</div>

I want to use URS (Unity Render Streaming). URS streams using Unity Audio Listener. However, since I changed it to Fmod Listener, I cannot stream the sound. Is there any way to convert or link it?

---

## [Error building unity project](https://qa.fmod.com/t/error-building-unity-project/20312)

<div class="topic-metadata">

**Author:** [@braunz](https://qa.fmod.com/u/braunz)\
**Replies:** 1\
**Last updated:** [June 14, 2023, 11:19pm UTC](https://qa.fmod.com/t/error-building-unity-project/20312 "2023-06-14T23:19:51Z")

</div>

I am having the following error when building my unity project. Using macOs with standard build settings.

---

## [Errors in build and in build pipeline](https://qa.fmod.com/t/errors-in-build-and-in-build-pipeline/20289)

<div class="topic-metadata">

**Author:** [@XRGamesFMOD](https://qa.fmod.com/u/XRGamesFMOD)\
**Replies:** 4\
**Last updated:** [June 14, 2023, 11:18pm UTC](https://qa.fmod.com/t/errors-in-build-and-in-build-pipeline/20289 "2023-06-14T23:18:36Z")

</div>

We currently use a build machine to run off builds. During the build there are multiple errors generated: FMOD Studio: Encountered Error: ERR\_OUTPUT\_INIT Error initializing output device. FMOD Studio: Encountered Error:…

---

## [How do I manage FMod across Mac and PC development hardware?](https://qa.fmod.com/t/how-do-i-manage-fmod-across-mac-and-pc-development-hardware/20297)

<div class="topic-metadata">

**Author:** [@SoftwareGeezers](https://qa.fmod.com/u/SoftwareGeezers)\
**Replies:** 5\
**Last updated:** [June 13, 2023, 10:19pm UTC](https://qa.fmod.com/t/how-do-i-manage-fmod-across-mac-and-pc-development-hardware/20297 "2023-06-13T22:19:07Z")

</div>

Just got a Macbook for OSX and iOS ports. Carrying my existing Unity project over, FMod fails. I get Fmod Studio bundle is damaged and needs to be thrown in the trash. I can do that, reinstall from the Package Manager, a…

---

## [GameCore - Insufficient Opus streams available error](https://qa.fmod.com/t/gamecore-insufficient-opus-streams-available-error/20305)

<div class="topic-metadata">

**Author:** [@furyIvan](https://qa.fmod.com/u/furyIvan)\
**Replies:** 2\
**Last updated:** [June 13, 2023, 2:48pm UTC](https://qa.fmod.com/t/gamecore-insufficient-opus-streams-available-error/20305 "2023-06-13T14:48:28Z")

</div>

Hello! We’re getting an error regarding FMOD in Xbox Series builds. In the FMOD project Xbox Series platform is set with default settings, built and set in the Unity project. While running the build we are getting the f…

---

## [Vibration port on Nintendo Switch](https://qa.fmod.com/t/vibration-port-on-nintendo-switch/20293)

<div class="topic-metadata">

**Author:** [@demes14](https://qa.fmod.com/u/demes14)\
**Replies:** 3\
**Last updated:** [June 13, 2023, 4:38am UTC](https://qa.fmod.com/t/vibration-port-on-nintendo-switch/20293 "2023-06-13T04:38:52Z")

</div>

Hi! Does vibration port work for Nintendo Switch?

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

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