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

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

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!

Yes, the Parameter Instance class is deprecated according to FMOD - Welcome to FMOD API | New in FMOD API 2.00 (new parameter api)

Here’s an example showing how to use the new API: FMOD - Scripting Examples | Basic

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!

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