# ParameterInstance does not exist in the namespace 'FMOD.Studio'

**URL:** https://qa.fmod.com/t/parameterinstance-does-not-exist-in-the-namespace-fmod-studio/16937
**Category:** Unity
**Created:** [March 24, 2021, 8:51pm UTC](https://qa.fmod.com/t/parameterinstance-does-not-exist-in-the-namespace-fmod-studio/16937 "2021-03-24T20:51:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jns\_myr](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@jns\_myr](https://qa.fmod.com/u/jns_myr)
#### Post date: [March 24, 2021, 8:51pm UTC](https://qa.fmod.com/t/parameterinstance-does-not-exist-in-the-namespace-fmod-studio/16937/1 "2021-03-24T20:51:54Z")

</div>

Hey everybody,

my issue ist the following error: error CS0234: The type or namespace name ‘ParameterInstance’ does not exist in the namespace ‘FMOD.Studio’ (are you missing an assembly reference?)

I think maybe the “ParameterInstance” is outdated, because my basic script is from a YT Video of 2017:  
[FMOD & Unity | Controlling Parameters For Vehicle Engine Sounds - YouTube](https://www.youtube.com/watch?v=aNckwg0BRfQ)

I want to get a different FMOD Soundfile on the Car from the Unity Standard Assets Package. To do so, i tried to copy the script for the CarEngineAudio of the video and made little changes in the CarController script. Now I get the described error, because I have a problem with integrating the FMOD parameters “RPM” and “AccelInput” into my script.

Would be very greatful for some help, thank you!

---

<div class="post-metadata">

### Author: ![aishi](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/aishi/32/82_2.png) [@aishi](https://qa.fmod.com/u/aishi)
#### Post date: [March 25, 2021, 4:49am UTC](https://qa.fmod.com/t/parameterinstance-does-not-exist-in-the-namespace-fmod-studio/16937/2 "2021-03-25T04:49:41Z")

</div>

Yes, the Parameter Instance class is deprecated according to [FMOD - Welcome to FMOD API | New in FMOD API 2.00 (new parameter api)](https://www.fmod.com/resources/documentation-api?version=2.1&page=welcome-whats-new-200.html#new-parameter-api)

Here’s an example showing how to use the new API: [FMOD - Scripting Examples | Basic](https://www.fmod.com/resources/documentation-unity?version=2.1&page=examples-basic.html)

---

<div class="post-metadata">

### Author: ![jns\_myr](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@jns\_myr](https://qa.fmod.com/u/jns_myr)
#### Post date: [March 25, 2021, 10:17pm UTC](https://qa.fmod.com/t/parameterinstance-does-not-exist-in-the-namespace-fmod-studio/16937/3 "2021-03-25T22:17:37Z")

</div>

Thanks for your fast answer!  
Worked pretty well for me after changing most of my code with the one of the Scripting Example.

No errors anymore, thank you!

---

<div class="post-metadata">

### Author: ![aishi](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/aishi/32/82_2.png) [@aishi](https://qa.fmod.com/u/aishi)
#### Post date: [March 25, 2021, 10:26pm UTC](https://qa.fmod.com/t/parameterinstance-does-not-exist-in-the-namespace-fmod-studio/16937/4 "2021-03-25T22:26:42Z")

</div>

You’re welcome, that’s great to hear!
