GainPlugin example - Logic Pro 10.7.9 Crashes on play-pause-play

I’ll take a look again but I only loaded up some of our plugins yesterday in the latest version of Logic. This looks remarkably like an issue we had with workgroups some time ago. Are you 100% sure you’ve built the plugin against JUCE version 7.0.9? IIRC the commit that fixed the issue I’m thinking of is this one.

There was another commit that follows it that fixes another crash that for me at least was much less common.

Maybe just check that the code in those files looks like it matches the code from those commits?