Is it normal for my plugin’s editor to be created 3 times? I have some licensing code being called in the constructor of a front-end component and noticed it tries to perform its validation 3 times. I then traced the issue to the Editor getting created multiple times. Seen some people mention that some hosts may create plugin windows twice. But three times seems excessive. I’m testing with JUCE’s AudioPluginHost. Any suggestions appreciated, thanks!
Yes, this is expected behaviour. See also, pluginval.
Some DAW’s instantiate the plugin on DAW-startup to make sure its still a valid plugin, while others only do it on DAW-Project-load, but yes, either way, you should expect your plugin to go through a fair bit of execution in its lifetime, as there is no one fixed rule for this other than that the plugin has to instantiate as quickly as it can ..
