# Pausing bus doesn't pause velocity on parameters

**URL:** <https://qa.fmod.com/t/pausing-bus-doesnt-pause-velocity-on-parameters/22403>\
**Category:** Unity\
**Tags:** unity, csharp\
**Created:** [December 13, 2024, 8:59am UTC](https://qa.fmod.com/t/pausing-bus-doesnt-pause-velocity-on-parameters/22403 "2024-12-13T08:59:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChikenMilk](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@ChikenMilk](https://qa.fmod.com/u/ChikenMilk)\
**Post date:** [December 13, 2024, 8:59am UTC](https://qa.fmod.com/t/pausing-bus-doesnt-pause-velocity-on-parameters/22403/1 "2024-12-13T08:59:03Z")

</div>

When trying to have the audio paused when the game is paused everything works but it seems like the velocity on parameters isn’t pausing causing the parameter to hit zero during the pause.

---

<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 16, 2024, 11:29pm UTC](https://qa.fmod.com/t/pausing-bus-doesnt-pause-velocity-on-parameters/22403/2 "2024-12-16T23:29:57Z")

</div>

Hi,

Thanks for bringing this to our attention. Could I grab some more info:

1. The integration version  
 ![UnityVersion](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/5/513dffa13f2fbd60f6f9f0e67a9c39b7a9aad03e.png)
2. Unity version
3. Could I grab some reproduction steps

Thanks

---

<div class="post-metadata">

**Author:** ![ChikenMilk](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@ChikenMilk](https://qa.fmod.com/u/ChikenMilk)\
**Post date:** [December 17, 2024, 12:42am UTC](https://qa.fmod.com/t/pausing-bus-doesnt-pause-velocity-on-parameters/22403/3 "2024-12-17T00:42:27Z")

</div>

Appreciate the response,  
Integration:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/4/4fb55141e6e0d3df0ce9b2476c1f4914a8653a8e.png)  
Unity Version:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/3/3ac6ed20260fa9f3f8251234788228986c2669ba.png)

Here’s how the event is played

> **Event Played**
>
> EventInstance eventInstance = AudioManager.instance.PlayEventInstance(“reload”, gameObject);  
> eventInstance.setParameterByName(“ReloadTime”, reloadTime);  
> eventInstance.start();  
> eventInstance.release();

And this is what “AudioManager.instance.PlayEventInstance” runs

> **PlayEventInstance**
>
> ```
> public EventInstance PlayEventInstance(string sound, GameObject inputGO)
> {
> EventInstance eventInstance = CreateInstance(GetEventReference(sound));
> RuntimeManager.AttachInstanceToGameObject(eventInstance, inputGO);
> eventInstance.set3DAttributes(inputGO.To3DAttributes());
>     
> return eventInstance;
> }
> 
> ```

I paused the bus around were the beginning of the instance is played but shown in the session viewer the parameter continues to decrease while the bus is paused

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/9/9654bbdd32cd08c94d711743a78f837b89c18a1d.png)

Unless I’m misunderstanding something I’d expect the velocity of the parameter to not effect the parameter while the bus is paused.

---

<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 19, 2024, 12:19am UTC](https://qa.fmod.com/t/pausing-bus-doesnt-pause-velocity-on-parameters/22403/4 "2024-12-19T00:19:43Z")

</div>

Thank you for the code and the images.

Unfortuantely, I was not able to reproduce the behaviour by pausing the master channel group and the event instance itself:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/3/312e6ccec7192eeb17b7740bbb7c985ac9b182b5.png)

How are you pausing the bus? Is the parameter being set instantly or does it have velocity?

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

Could you please try:

```auto
EventInstance eventInstance = AudioManager.instance.PlayEventInstance(“reload”, gameObject);
eventInstance.start();
eventInstance.release();
eventInstance.setParameterByName(“ReloadTime”, reloadTime);

```
