# Parameter condition not working in Unity

**URL:** https://qa.fmod.com/t/parameter-condition-not-working-in-unity/21005
**Category:** FMOD Studio
**Tags:** unity
**Created:** [December 18, 2023, 11:51am UTC](https://qa.fmod.com/t/parameter-condition-not-working-in-unity/21005 "2023-12-18T11:51:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![nhughesmusic](https://avatars.discourse-cdn.com/v4/letter/n/b9e5f3/32.png) [@nhughesmusic](https://qa.fmod.com/u/nhughesmusic)
#### Post date: [December 18, 2023, 11:51am UTC](https://qa.fmod.com/t/parameter-condition-not-working-in-unity/21005/1 "2023-12-18T11:51:29Z")

</div>

Hi guys,

I’ve been trying to implement a simple ‘rain’ parameter to my ambience event,  
0 - rain turned down, 1 - rain turned up.

In Fmod everything works fine. In Unity, however, the parameter seems to be totally ignored.

In ‘live update’ mode when i turn the parameter to 1 nothing happens, its like the rain sound doesnt exsist when the game is running.

Any ideas?

All the banks are upto date.

Im a composer/sound design guy so i dont know the Unity side of things… i imagine thats possibly where the issue is? But dont want to bother the programmer until i know for sure its not an Fmod thing.

Unity version - 2022.3.5f1  
Fmod Studio version - 2.01.11  
Fmod intergration - 2.01.11

Any advice would be appreciated, thanks!

---

<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: [December 20, 2023, 3:20am UTC](https://qa.fmod.com/t/parameter-condition-not-working-in-unity/21005/2 "2023-12-20T03:20:12Z")

</div>

Hi,

Unfortunately, we no longer support FMOD `2.01`. Would it be possible to update to `2.02 `and see if the issue continues?

Live Update does not allow you to `Local` on an event. You will have to change the parameter on the event via code, using a [Studio Parameter Trigger](https://fmod.com/docs/2.02/unity/game-components.html#studio-parameter-trigger) or on the [Studio Event Emitter](https://fmod.com/docs/2.02/unity/game-components.html#studio-event-emitter) itself:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/1/1c5059b4776082d14bc1ce9115127dc625630aaf.png).  
Please note, that these are the `2.02` version of the integration.

Hope this helps!
