I call createPluginInstance from AudioPluginFormatManager object 3 times to load another plugin. But they have strange work. 2 times it called from AudioProcessor::setStateInformation and from the GUI menu are both ok. But when i reload preset it also call createPluginInstance but the PT hangs.
I debugge. With the time calling from preset createPluginInstance -----> format->createInstanceFromDescription -----> createPluginInstanceAsync (desc, initialSampleRate, initialBufferSize, eventSignaler.release()) ------------> (new InvokeOnMessageThread (this, description, initialSampleRate, initialBufferSize, callback))->post(); but it never call back void messageCallback() override to create plugin object handle. Then the PT on window hangs.
Do you have any solution with this case.
If you like you can remote my pc(via teamviewer) to check it.