# Global Parameter Change Trigger not working in WebGl Build

**URL:** <https://qa.fmod.com/t/global-parameter-change-trigger-not-working-in-webgl-build/19913>\
**Category:** Unity\
**Created:** [February 26, 2023, 6:55pm UTC](https://qa.fmod.com/t/global-parameter-change-trigger-not-working-in-webgl-build/19913 "2023-02-26T18:55:09Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![palms](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@palms](https://qa.fmod.com/u/palms)\
**Post date:** [February 26, 2023, 6:55pm UTC](https://qa.fmod.com/t/global-parameter-change-trigger-not-working-in-webgl-build/19913/1 "2023-02-26T18:55:09Z")

</div>

I basically have a lot of objects that have a sound ready to play. That sound is triggered when i press the mouse over it.

I also have a location where i placed a trigger area and made the area to be a trigger for a global parameter change where it will change some parameters in FMOD.

I set the trigger to Collision Enter and matched the Collision Tag with the one that the main player has.

Works perfectly fine in Unity but after the export it doesn’t.

Anyone had this problem before?

Game: [Listen by ABandola](https://abandola.itch.io/listen)

(When you go up the bed it should trigger some effects on the audios through a parameter change)

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [February 28, 2023, 1:20am UTC](https://qa.fmod.com/t/global-parameter-change-trigger-not-working-in-webgl-build/19913/2 "2023-02-28T01:20:02Z")

</div>

Hi,

Would it be possible to get a copy of your Unity project uploaded to your [Profile](https://fmod.com/profile#uploads) or DM’d to me?

If not, could I get a code snippet of how you are changing the `Parameter`? Could you also try enabling the `Development` build in Unity:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/f/f79d1cec122889c1b7385f2ec22d60828e1a0606.png)  
Then, where you are changing the parameter you will want to assign it to an `FMOD.RESULT` ([FMOD API | Core API Reference](https://fmod.com/docs/2.02/api/core-api-common.html#fmod_result)) and then print the result of the function call which will be displayed in the development build:

```auto
FMOD.RESULT result = instance.setParameterByName("GlobalParameter", 0);
Debug.Log(result);

```

What version of FMOD and Unity are you using?

---

<div class="post-metadata">

**Author:** ![palms](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@palms](https://qa.fmod.com/u/palms)\
**Post date:** [February 28, 2023, 8:52pm UTC](https://qa.fmod.com/t/global-parameter-change-trigger-not-working-in-webgl-build/19913/3 "2023-02-28T20:52:33Z")

</div>

![Captura de Ecrã (53)](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/b/bbcec922a11522d774a618f10f73c11a43b7cbf6.jpeg)

I’m using the FMOD Studio Global Parameter Trigger as you can see in the screenshot.

Both versions are the latest and i just uploaded the game in development build in [itch.io](http://itch.io):

- [Listen by ABandola](https://abandola.itch.io/listen)

I also posted the error message that i got from the build, the event fails to trigger.

(sorry but i don’t know how to send the project to you in an easy way, and the FMOD profile page is not letting me post it there)

---

<div class="post-metadata">

**Author:** ![palms](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@palms](https://qa.fmod.com/u/palms)\
**Post date:** [February 28, 2023, 8:53pm UTC](https://qa.fmod.com/t/global-parameter-change-trigger-not-working-in-webgl-build/19913/4 "2023-02-28T20:53:23Z")

</div>

![Captura de Ecrã (55)](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/d/d80098d38adaa38fbebcadd978b2a2451146c862.png)

(Screenshot of the error)

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [March 1, 2023, 11:20pm UTC](https://qa.fmod.com/t/global-parameter-change-trigger-not-working-in-webgl-build/19913/5 "2023-03-01T23:20:42Z")

</div>

Thank you for sharing those.

That error is indicating that FMOD cannot find the Parameter. Could I get a screenshot of the parameter in FMOD Studio under `Window -> Preset Browser -> Parameters`  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/a/a81537919af1303a6ad5cf9d65f4b0c6fe7cb9cd.png)

---

<div class="post-metadata">

**Author:** ![palms](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@palms](https://qa.fmod.com/u/palms)\
**Post date:** [March 2, 2023, 11:39am UTC](https://qa.fmod.com/t/global-parameter-change-trigger-not-working-in-webgl-build/19913/6 "2023-03-02T11:39:37Z")

</div>

![Captura de Ecrã (57)](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/2/2f253eadbf193e72804fe7042e1882cafb340da9.png)

Here it is

---

<div class="post-metadata">

**Author:** ![palms](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@palms](https://qa.fmod.com/u/palms)\
**Post date:** [March 2, 2023, 6:24pm UTC](https://qa.fmod.com/t/global-parameter-change-trigger-not-working-in-webgl-build/19913/7 "2023-03-02T18:24:53Z")

</div>

![Captura de Ecrã (59)](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/c/c3da7d236929a6e8508535fdb2744b4f87504eaa.png)

Here’s the code on the script of the global parameter change script

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [March 5, 2023, 11:10pm UTC](https://qa.fmod.com/t/global-parameter-change-trigger-not-working-in-webgl-build/19913/8 "2023-03-05T23:10:50Z")

</div>

Hi,

> [@palms](#):
>
> sorry but i don’t know how to send the project to you in an easy way, and the FMOD profile page is not letting me post it there

You could upload it to a file hosting site and then DM me the link might be the easiest. Could you also package your FMOD studio project along with the Unity project?  
`File -> Package Project`

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/a/a45ebcf68fb6e32a82e643b21fd013a3ebd81aa6.png)  
Thanks

---

<div class="post-metadata">

**Author:** ![Partymongrel](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/partymongrel/32/2754_2.png) [@Partymongrel](https://qa.fmod.com/u/Partymongrel)\
**Post date:** [August 7, 2025, 11:27pm UTC](https://qa.fmod.com/t/global-parameter-change-trigger-not-working-in-webgl-build/19913/9 "2025-08-07T23:27:04Z")

</div>

Hi! Did a solution ever get found?

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [August 8, 2025, 5:21am UTC](https://qa.fmod.com/t/global-parameter-change-trigger-not-working-in-webgl-build/19913/10 "2025-08-08T05:21:31Z")

</div>

Hi,

Unfortunately, we were not able to resolve the issue. Are you experiencing something similar? Could I please grab you FMOD and Unity versions?
