I am new to JUCE and have tried to find similar posts, but I have still not been able to solve this issue.
I am loading a synth inside of a VST using the HostPluginDemo template code. I update these synth parameters and then call updateHostDisplay(). While the parameters are updating, the synth display is not updating.
Some plugins require that processBlock is called in order to update their parameters properly. Perhaps you could try calling the process function of the hosted plugin from the processBlock of the wrapped plugin to see whether that helps.
Also, from skimming the code: it’s a bad idea to use parameter names to identify parameters, as plugins are allowed to change parameter names dynamically. It’s better to use the parameter identifier field, because these won’t change while the plugin is running, and should stay stable across plugin versions too.
AudioPluginInstance has a member HostedParameter* getHostedParameter (int) const, and HostedAudioProcessorParameter has a function String getParameterID() const that returns a stable identifier for that parameter. When hosting plugins, it’s a good idea to use the HostedParameters rather than plain AudioProcessorParameters, so that you can access these stable parameter identifiers.