In the latest develop JUCE in AudioProcessor::setParameterTree, paramIDs
and groupIDs
get cleared but the new trimmedParamIDs
doesn’t. This means assertions are hit in checkForDuplicateTrimmedParamID
if the tree changes as it thinks duplicates are being added.
2 Likes
I’m bumping this as I’ve hit it again and just started typing out the same bug report.
For reference here’s the code that needs changing:
void AudioProcessor::setParameterTree (AudioProcessorParameterGroup&& newTree)
{
#if JUCE_DEBUG
paramIDs.clear();
groupIDs.clear();
#if ! JUCE_DISABLE_CAUTIOUS_PARAMETER_ID_CHECKING
trimmedParamIDs.clear();
#endif
#endif