# Straight out the box I get a "'EventInstance' does not contain a definition for 'setParameterValue' and no accessible extension method 'setParameterValue' accepting a first argument of type 'EventInstance' could be found"

**URL:** <https://qa.fmod.com/t/straight-out-the-box-i-get-a-eventinstance-does-not-contain-a-definition-for-setparametervalue-and-no-accessible-extension-method-setparametervalue-accepting-a-first-argument-of-type-eventinstance-could-be-found/16044>\
**Category:** Unity\
**Created:** [August 4, 2020, 6:27pm UTC](https://qa.fmod.com/t/straight-out-the-box-i-get-a-eventinstance-does-not-contain-a-definition-for-setparametervalue-and-no-accessible-extension-method-setparametervalue-accepting-a-first-argument-of-type-eventinstance-could-be-found/16044 "2020-08-04T18:27:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![trisbee](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/trisbee/32/1384_2.png) [@trisbee](https://qa.fmod.com/u/trisbee)\
**Post date:** [August 4, 2020, 6:27pm UTC](https://qa.fmod.com/t/straight-out-the-box-i-get-a-eventinstance-does-not-contain-a-definition-for-setparametervalue-and-no-accessible-extension-method-setparametervalue-accepting-a-first-argument-of-type-eventinstance-could-be-found/16044/1 "2020-08-04T18:27:48Z")

</div>

I have a project that I’m porting, and for some reason I get this error every time I install FMOD, (latest), not sure why it happens. The Unity version it was started on was no longer available so I upgraded, I setup the project again on the same version and don’t get these errors, I have no idea why and really at the end as far as ideas go (been working with C# about 6 months). When I copy the setParameterValue stuff from fmod\_studio.cs it give me and error

“EntryPointNotFoundException: FMOD\_Studio\_EventInstance\_SetParameterValue”

And the scene doesn’t load up.

It was working when I commented out the AudioManager method that uses it but apparently there’s a scene that slows down the music that relies on it so I would like to get that working as it’s important in conveying the tone.

I hope this is descriptive enough, help!

Edit: FYI I can play the ENTIRE game and have no audio issues/errors with the exception of that slow down scene but that scene is sadly massively critical to the narrative

---

<div class="post-metadata">

**Author:** ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)\
**Post date:** [August 5, 2020, 1:33am UTC](https://qa.fmod.com/t/straight-out-the-box-i-get-a-eventinstance-does-not-contain-a-definition-for-setparametervalue-and-no-accessible-extension-method-setparametervalue-accepting-a-first-argument-of-type-eventinstance-could-be-found/16044/2 "2020-08-05T01:33:29Z")

</div>

It sounds like you have some old script that needs updating, in FMOD 2.0 we changed the parameter API slightly, you can read about the changes in our [what’s new](https://fmod.com/resources/documentation-api?version=2.0&page=welcome-whats-new-200.html#new-parameter-api).
