diff --git a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp index 03aaa87a70..cb71927c7c 100644 --- a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp @@ -353,6 +353,9 @@ private: if (parent == nullptr || isPlatformTypeSupported (type) == kResultFalse) return kResultFalse; + if (component == nullptr) + component = new ContentWrapperComponent (*this, pluginInstance); + #if JUCE_WINDOWS component->addToDesktop (0, parent); component->setOpaque (true);