# Parameter Conditions in Unity

**URL:** https://qa.fmod.com/t/parameter-conditions-in-unity/12897
**Category:** Unity
**Created:** [December 26, 2016, 12:53pm UTC](https://qa.fmod.com/t/parameter-conditions-in-unity/12897 "2016-12-26T12:53:24Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Outliver](https://avatars.discourse-cdn.com/v4/letter/o/e5b9ba/32.png) [@Outliver](https://qa.fmod.com/u/Outliver)
#### Post date: [December 26, 2016, 12:53pm UTC](https://qa.fmod.com/t/parameter-conditions-in-unity/12897/1 "2016-12-26T12:53:24Z")

</div>

Hi everyone,

I tried to implement a simple “MainMenu” theme with different navigation states bound to a parameter. In fmod everything works fine. In Unity, however, any loop and transition marker or region seems to get ignored as soon as a condition is specified.

Even if “live update” doesn’t work as expected, setting up a simple volume automation for the parameter as a test let me confirm that the parameter itself is passed correctly.

The problem occurs in the Unity Event Browser already.  
On the other hand, simulating the whole in thing in fmod tweeking the parameter knob worked flawlessly.

I am using Unity 5.5.0f3, fmod studio 1.08.15, fmod Unity Implementation 1.08.15.

Any hint appreciated, thank you very much!

---

<div class="post-metadata">

### Author: ![Outliver](https://avatars.discourse-cdn.com/v4/letter/o/e5b9ba/32.png) [@Outliver](https://qa.fmod.com/u/Outliver)
#### Post date: [December 27, 2016, 2:43pm UTC](https://qa.fmod.com/t/parameter-conditions-in-unity/12897/2 "2016-12-27T14:43:55Z")

</div>

alright, I got a little closer.  
Setting the parameter condition to “1.00-1.10” instead of “1.00-1.00” will do the trick.  
Not exactly beautiful but at least I can work with it now.

---

<div class="post-metadata">

### Author: ![DDAUDIOSOLUTIONS](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@DDAUDIOSOLUTIONS](https://qa.fmod.com/u/DDAUDIOSOLUTIONS)
#### Post date: [March 14, 2017, 11:56am UTC](https://qa.fmod.com/t/parameter-conditions-in-unity/12897/3 "2017-03-14T11:56:54Z")

</div>

> [@](#):
>
> alright, I got a little closer.  
> Setting the parameter condition to “1.00-1.10” instead of “1.00-1.00” will do the trick.  
> Not exactly beautiful but at least I can work with it now.

Hi, could you show me how to setting fmod parameters with conditions in Unity, i can’t do it.

Thaks

---

<div class="post-metadata">

### Author: ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)
#### Post date: [December 28, 2016, 3:32am UTC](https://qa.fmod.com/t/parameter-conditions-in-unity/12897/4 "2016-12-28T03:32:13Z")

</div>

Running the FMOD Profiler with Unity and Studio should give you a good indication as to what is happening with loop, transition, etc. being missed.
