# Assertion comment in VST3 code

**URL:** <https://forum.juce.com/t/assertion-comment-in-vst3-code/17679>\
**Category:** General JUCE discussion\
**Created:** [May 11, 2016, 4:25pm UTC](https://forum.juce.com/t/assertion-comment-in-vst3-code/17679 "2016-05-11T16:25:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimc](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jimc/32/16067_2.png) [@jimc](https://forum.juce.com/u/jimc)\
**Post date:** [May 11, 2016, 4:25pm UTC](https://forum.juce.com/t/assertion-comment-in-vst3-code/17679/1 "2016-05-11T16:25:52Z")

</div>

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!
}

```

---

<div class="post-metadata">

**Author:** ![jrlanglois](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jrlanglois/32/21372_2.png) [@jrlanglois](https://forum.juce.com/u/jrlanglois)\
**Post date:** [May 11, 2016, 7:18pm UTC](https://forum.juce.com/t/assertion-comment-in-vst3-code/17679/2 "2016-05-11T19:18:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![fr810](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/fr810/32/841_2.png) [@fr810](https://forum.juce.com/u/fr810)\
**Post date:** [May 13, 2016, 10:52am UTC](https://forum.juce.com/t/assertion-comment-in-vst3-code/17679/3 "2016-05-13T10:52:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jimc](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jimc/32/16067_2.png) [@jimc](https://forum.juce.com/u/jimc)\
**Post date:** [May 13, 2016, 11:08am UTC](https://forum.juce.com/t/assertion-comment-in-vst3-code/17679/4 "2016-05-13T11:08:43Z")

</div>

lost?? 🙂

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.
