diff --git a/plugins/vst_base/remote_vst_plugin.cpp b/plugins/vst_base/remote_vst_plugin.cpp index 50f05a225..a638ed692 100644 --- a/plugins/vst_base/remote_vst_plugin.cpp +++ b/plugins/vst_base/remote_vst_plugin.cpp @@ -927,6 +927,12 @@ VstIntPtr RemoteVstPlugin::hostCallback( AEffect * _effect, VstInt32 _opcode, SHOW_CALLBACK( buf ); #endif + // workaround for early callbacks by some plugins + if( __plugin && __plugin->m_plugin == NULL ) + { + __plugin->m_plugin = _effect; + } + switch( _opcode ) { case audioMasterAutomate: