# Command Instruments with zero duration ignored in mobile builds (Unity integration v2.02.15)

**URL:** <https://qa.fmod.com/t/command-instruments-with-zero-duration-ignored-in-mobile-builds-unity-integration-v2-02-15/20571>\
**Category:** Unity\
**Created:** [August 20, 2023, 6:21am UTC](https://qa.fmod.com/t/command-instruments-with-zero-duration-ignored-in-mobile-builds-unity-integration-v2-02-15/20571 "2023-08-20T06:21:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![s9meNiNE](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/s9menine/32/146_2.png) [@s9meNiNE](https://qa.fmod.com/u/s9meNiNE)\
**Post date:** [August 20, 2023, 6:21am UTC](https://qa.fmod.com/t/command-instruments-with-zero-duration-ignored-in-mobile-builds-unity-integration-v2-02-15/20571/1 "2023-08-20T06:21:31Z")

</div>

By zero duration command instrument, I mean this:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/b/b8b974d682061650af4f7bc38e8c1ba682e09fcd.png)

I set it to Increment Parameter on a continuous parameter, and it works inside the FMOD Studio authoring tool and inside Unity edit mode, but was ignored in our mobile builds. The solution was to drag its edges and make the instrument longer.  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/3/335495befa23bf5f0181046ef9f9541b28977961.png)

Many thanks for the live update feature, I figured the issue out through connecting to a build on my phone.

---

<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 22, 2023, 4:47am UTC](https://qa.fmod.com/t/command-instruments-with-zero-duration-ignored-in-mobile-builds-unity-integration-v2-02-15/20571/2 "2023-08-22T04:47:29Z")

</div>

Hi,

Good to hear Live Update is helping out!

Thank you for sharing your solution. Unfortunately, I was unable to reproduce the issue. Are you experiencing this on Android or IOS?

---

<div class="post-metadata">

**Author:** ![s9meNiNE](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/s9menine/32/146_2.png) [@s9meNiNE](https://qa.fmod.com/u/s9meNiNE)\
**Post date:** [August 22, 2023, 4:22pm UTC](https://qa.fmod.com/t/command-instruments-with-zero-duration-ignored-in-mobile-builds-unity-integration-v2-02-15/20571/3 "2023-08-22T16:22:17Z")

</div>

I tested it on an Android build, built with Unity engine version 2021.3.26f1 LTS. I’ve isolated the event where I noticed the bug into a new project and attached it here, though I don’t know if the bug still exists in this minimal setup. The forum wouldn’t let me upload an fspackage so I disguised it as a fake .log file.

[command\_instrument\_bug.fspackage.log](https://qa.fmod.com/uploads/short-url/Av7mCqbuE9imnP6FN1VIrplPYhg.log) (1.1 MB)

---

<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 25, 2023, 12:41am UTC](https://qa.fmod.com/t/command-instruments-with-zero-duration-ignored-in-mobile-builds-unity-integration-v2-02-15/20571/4 "2023-08-25T00:41:20Z")

</div>

Hi,

Thank you for the project, again I was unable to reproduce the issue. What version of FMOD are you using?

I will make a note of this issue and keep an eye out and link to this solution if it comes up again.

---

<div class="post-metadata">

**Author:** ![s9meNiNE](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/s9menine/32/146_2.png) [@s9meNiNE](https://qa.fmod.com/u/s9meNiNE)\
**Post date:** [August 25, 2023, 5:31pm UTC](https://qa.fmod.com/t/command-instruments-with-zero-duration-ignored-in-mobile-builds-unity-integration-v2-02-15/20571/5 "2023-08-25T17:31:41Z")

</div>

Both the authoring tool and Unity integration are 2.02.15.
