I have some plugins (midi only no audio), they are pure JUCE and are using VST wrapper. I wanted to build the same plugins
but with AU wrapper, i got the build to work, but. I get assertions from JUCE all around the place, first from Timer and second
anywhere i try to create any UI components, i get assertions from line 2017 in juce_Component.cpp. The same code works perfectly
with VST but AU causes those assertions.
I create my UI class in the filter code, and it stays there so i don’t have to re-create the editor each time it’s closed/opened, i just add
it to a wrapper editor that get’s recreated. Theese assertions happen when the plugins are scanned, and later when i try to open the UI
in the host. Is there something that might be causing this ? Are there any special considerations when using AU. I used the JuceDemoPlugin
project and just added my sources, so the build parameters are the same, i just added the ObjC prefix stuff as a global define for the project
and the JucePlugin_Build_AU.
I tried removing the UI creation from the filter code, and made it run only when the editor is requested, but i still get the assertions when
opening the plugin editor.