I’m unable to reproduce this issue in Reaper 6.25 or Live 11.0, using Catalina 10.15.7.
To test, I modified the GainPluginDemo by removing the addParameter call from the processor’s constructor. Then, I added the following overridden methods:
Finally, I loaded the plugin in Reaper/Live and tried moving the gain slider while the DAW was recording. In both cases, automation was recorded properly. Playing back the recording caused the parameter value to update appropriately.
Although we’re still using an AudioParameterFloat in this case, all the parameter functions are forwarded through the legacy parameter interface (verified in a debugger).
Are you able to provide a minimal example which reproduces the problem you’re seeing? If so, I’ll happily take another look at this issue.
On a related note, we are currently planning to remove the old parameter methods as part of a future JUCE release. These methods have been marked as deprecated for two years, which is already a very generous length of time. Supporting the old parameter system makes the plugin wrapper code much more complex that it needs to be, and we will need to remove these functions in order to facilitate support of existing and future plugin formats.
I’d encourage you to consider moving to the new parameter API as soon as possible, in order to avoid disruptions when updating to a future version of JUCE.
Thanks for testing this. It looks like i didn’t overwrite all the methods. Maybe that is the problem with the VST3.
In this case it is better to start rewriting the old parameter handling code and don’t waste time with this. Only our freeware is affected. I was a bit lazy with them. Our commercial products are already updated.
I had another look at it and found the problem. I didn’t enable JUCE_FORCE_USE_LEGACY_PARAM_IDS . Looks like this is required for the VST3 when using the legacy parameter system.