# Overview of obsolete API stuff when upgraded to 2.0?

**URL:** https://qa.fmod.com/t/overview-of-obsolete-api-stuff-when-upgraded-to-2-0/14489
**Category:** Unity
**Created:** [March 27, 2019, 8:47am UTC](https://qa.fmod.com/t/overview-of-obsolete-api-stuff-when-upgraded-to-2-0/14489 "2019-03-27T08:47:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![deHaan](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/dehaan/32/68_2.png) [@deHaan](https://qa.fmod.com/u/deHaan)
#### Post date: [March 27, 2019, 8:47am UTC](https://qa.fmod.com/t/overview-of-obsolete-api-stuff-when-upgraded-to-2-0/14489/1 "2019-03-27T08:47:50Z")

</div>

Hi,

I really want to upgrade my current project to FMOD 2.0, but I’m not sure how much stuff I need to change in my scripts in Unity to make sure the project works like in 1.10.10.

Is there somewhere an overview of stuff that has been replaced, so I can make sure I update everything in my scripts?

Cheers,  
Nikolaj de Haan

---

<div class="post-metadata">

### Author: ![Eneco](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/eneco/32/6046_2.png) [@Eneco](https://qa.fmod.com/u/Eneco)
#### Post date: [March 27, 2019, 9:47am UTC](https://qa.fmod.com/t/overview-of-obsolete-api-stuff-when-upgraded-to-2-0/14489/2 "2019-03-27T09:47:30Z")

</div>

I’m having the same problem, but there is a documentation with all the API changes made with 2.0:

[https://www.fmod.com/resources/documentation-api?version=2.0&page=welcome-whats-new-200.html](https://www.fmod.com/resources/documentation-api?version=2.0&page=welcome-whats-new-200.html)

There are even new example scripts in the Unity guide:

[https://www.fmod.com/resources/documentation-unity?version=2.0&page=examples-basic.html](https://www.fmod.com/resources/documentation-unity?version=2.0&page=examples-basic.html)

Unfortunately I’m not a programmer and don’t really understand which new code is equivalent to which old one. I also created a thread about that topic yesterday:

> [@FMOD 2.0 and the new Unity integration codes](https://qa.fmod.com/t/fmod-2-0-and-the-new-unity-integration-codes/14487):
>
> Hey folks, I really love the new FMOD 2.0 features and wanted to put them straight to use. Unfortunately the API changed along with the 2.0 update and therefore some of the old integration codes won’t worked anymore. I’ve been reading the documentation and reviewed the new code examples in the “Learn” section. But as I’m not a programmer, I can’t really make sense out of it. So I was wondering if anybody can tell me how I need to replace my old codes to make things work again. What are the ne…

---

<div class="post-metadata">

### Author: ![HenryScott](https://avatars.discourse-cdn.com/v4/letter/h/f4b2a3/32.png) [@HenryScott](https://qa.fmod.com/u/HenryScott)
#### Post date: [April 2, 2019, 12:00pm UTC](https://qa.fmod.com/t/overview-of-obsolete-api-stuff-when-upgraded-to-2-0/14489/3 "2019-04-02T12:00:31Z")

</div>

So far, the main thing I’ve had to change in my scripts is ‘.setParameterValue(string eventname, float newvalue);’ to ‘.setParameterByName(string eventname, float newvalue, bool ignoreseekspeedornot);’

Hope that helps, also hi Nikolaj 😉

---

<div class="post-metadata">

### Author: ![deHaan](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/dehaan/32/68_2.png) [@deHaan](https://qa.fmod.com/u/deHaan)
#### Post date: [April 2, 2019, 1:51pm UTC](https://qa.fmod.com/t/overview-of-obsolete-api-stuff-when-upgraded-to-2-0/14489/4 "2019-04-02T13:51:03Z")

</div>

Thank you Henry.

I might try updating to 2.0 one day when I feel brave 🙂
