# Adding a parameter to a plugin

**URL:** <https://qa.fmod.com/t/adding-a-parameter-to-a-plugin/19763>\
**Category:** FMOD Studio\
**Created:** [January 19, 2023, 8:55pm UTC](https://qa.fmod.com/t/adding-a-parameter-to-a-plugin/19763 "2023-01-19T20:55:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![schmidGI](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/schmidgi/32/4501_2.png) [@schmidGI](https://qa.fmod.com/u/schmidGI)\
**Post date:** [January 19, 2023, 8:55pm UTC](https://qa.fmod.com/t/adding-a-parameter-to-a-plugin/19763/1 "2023-01-19T20:55:44Z")

</div>

I am developing a few DLL plugin instruments for our project, and once in a while, I add a new parameter to a plugin. The plugin retains its ID, parameters are never reordered, and parameters always retain their names.  
When I reload the FMOD Studio project that uses the plugin, all instances of the plugin instrument will now be marked with ‘Plugin-in Issue Detected’.  
Validating the project doesn’t solve this.

The way I’m currently fixing this, is by finding each instance of the instrument, and then:

1. creating a new instance on the same track,
2. adjust it to start and end the same place as the old instance,
3. copy properties on the old plugin instance,
4. paste properties on the new instance,
5. delete the old instance,
6. expand automation, and
7. select ‘Show automation in editor’ on each automation curve.

Since these steps are completely mindless, I wonder if this could be done automatically, or if there is an easier workaround?  
 ![Screenshot 2023-01-19 215515](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/a/a0a13234e944460e486a434e11deeca9d0e603ff.png)

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [January 20, 2023, 5:50am UTC](https://qa.fmod.com/t/adding-a-parameter-to-a-plugin/19763/2 "2023-01-20T05:50:00Z")

</div>

Thank you for bringing this to our attention, I have reproduced this issue as you have described and passed this on to the Dev team to investigate further.  
I think your recovery process could be automated using scripting- I will see if I can get a script to automate this and get back to you.

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [February 13, 2023, 11:21pm UTC](https://qa.fmod.com/t/adding-a-parameter-to-a-plugin/19763/3 "2023-02-13T23:21:43Z")

</div>

Apologies for the delayed followup, unfortunately I have been unable to automate this due to limitations with creating Plugin Instruments via the Scripting API.  
We should have this fixed in the upcoming release.
