# "ParameterInstance" unavailable

**URL:** <https://qa.fmod.com/t/parameterinstance-unavailable/14839>\
**Category:** Unity\
**Created:** [July 9, 2019, 7:54pm UTC](https://qa.fmod.com/t/parameterinstance-unavailable/14839 "2019-07-09T19:54:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kotometal-0041](https://avatars.discourse-cdn.com/v4/letter/k/c6cbf5/32.png) [@Kotometal-0041](https://qa.fmod.com/u/Kotometal-0041)\
**Post date:** [July 9, 2019, 7:54pm UTC](https://qa.fmod.com/t/parameterinstance-unavailable/14839/1 "2019-07-09T19:54:46Z")

</div>

Hi people,

When trying to call a parameter in an event I have a problem with the following lines:

```
FMOD.Studio.EventInstance CarMotor;
FMOD.Studio.ParameterInstance RPM; //It doesn't work (1)

void Awake()
{
    CarMotor = FMODUnity.RuntimeManager.CreateInstance ("event:/Car Motor");
    CarMotor.getParameter("RPM", out RPM);//It doesn't work (2)
}

```

Apparently, FMOD 2.0 uses other methods for that.

(1) Instead of ParameterInstance, the options offered are: PARAMETER\_ID, PARAMETER\_FLAGS, PARAMETER\_TYPE, PARAMETER\_DESCRIPTION.

(2) Instead of getParameter, I get ‘getParameterByID’ and ‘getParameterByName’.

Please help.

---

<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:** [July 15, 2019, 3:44am UTC](https://qa.fmod.com/t/parameterinstance-unavailable/14839/2 "2019-07-15T03:44:09Z")

</div>

FMOD 2.0 introduced a new Parameter API, you can read more about the changes in the [What’s New](https://fmod.com/resources/documentation-api?version=2.0&page=welcome-whats-new-200.html#new-parameter-api) section of the [FMOD API User Manual](https://fmod.com/resources/documentation-api?version=2.0&page=welcome.html).
