@oskarsh i was having this same issue (and a lot of others when testing a hardcoded Faust FX swapping/reordering plugin idea lol) but what worked for this same DAW crashing bug (with Claude's help) was in the Hise source code changing this line in the "/HISE-develop/hi_core/hi_modules/hardcoded/HardcodedModuleBase.cpp" file from
HardcodedSwappableEffect::~HardcodedSwappableEffect()
{
jassert(shutdownCalled);
jassert(disconnected);
factory = nullptr;
}
to
HardcodedSwappableEffect::~HardcodedSwappableEffect()
{
if (!shutdownCalled)
shutdown();
factory = nullptr;
}
then rebuilding HISE and compiling the plugin again
i want to also clarify i am definitely not an expert at this stuff , but maybe this can help someone in the right direction or for @Christoph-Hart to fix this bug ! the creative potential in easy reordering of is so huge im excited to see it grow