I have found another problem, this time with the call to setIComponentHandler
which is done in void installAudioProcessor (const VSTComSmartPtr<JuceAudioProcessor>& newAudioProcessor)
This relies on the fact that tresult PLUGIN_API EditController::setComponentHandler (IComponentHandler* newHandler)
have been called previously, for Studio One this is not the case.