My AU plugin has always had intermittent issues being validated in Logic. The solution has always been to Reset and Rescan over and over until it validates, which it eventually does. Annoyingly, this only happens with the Release version, not the Debug version, so I’ve been reluctant to fix it.
However, I noticed that when validating the debug version the auval tool shows:
1 Channel Test: Render Test at 512 frames PASS Bad Max Frames - Render should fail 2018-12-03 15:55:49.510486-0500 auvaltool[50306:3117858] kAudioUnitErr_TooManyFramesToProcess : inFramesToProcess=8192, mMaxFramesPerSlice=512 ../../../../ JUCE/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUBase.cpp:1447 inFramesToProcess=8192, mMaxFramesPerSlice=512; TooManyFrames from AU (0x8c4821cb): 'aumu' 'Prim' 'AudG', render err: -10874 PASS
That’s also the point where the Release version fails. So it looks like this frame issues is to blame. Is there any way to prevent the number of frames from going over?