We’re having an issue where our plugins occasionally crash while initializing in ProTools, specifically in AudioSuite. They don’t crash in other DAWs or while running in non-AudioSuite PT situations.
While trying to debug this issue, we’ve stumbled upon the fact that JUCE AAX plugins seem to be initializing twice when they are opened in AudioSuite. If we add a logger to the default JUCE plugin, we see that any time an AudioSuite instance is created, a “ghost” instance of the plugin is created and destroyed a split second before the real one pops up.
Maybe this is expected AAX behavior in order to validate the plugin before showing it or something, but we wanted to point it out in case it’s not expected and could be contributing to our crash more generally. Also, if anyone has seen this type of AudioSuite-only bug in the past, please let me know. We’ve been pulling our hair out trying to find anything that should actually cause a crash to no avail. Thanks.