Assertion comment in VST3 code

It would be helpful to others I think, and certainly my sanity, if the comment below also said “This assert can be triggered by attempting to open a 64-bit plugin in a 32-bit host or vice versa”.

IPluginFactory* JUCE_CALLTYPE getPluginFactory()
{
//...
    jassert (factory != nullptr); // The plugin NEEDS to provide a factory to be able to be called a VST3!
}
1 Like

Isn’t the effect you’re describing different than the symptom you’re encountering?

OK I’ve added a more detailed comment to that part of the code.

1 Like

lost?? :slight_smile:

The symptom is hitting that assertation. The cause seems to be no factory function with the right architecture … rather than no factory function at all.