JUCE is an open-source cross-platform C++ application framework for desktop and mobile applications, including VST, VST3, AU, AUv3, LV2 and AAX audio plug-ins.
When I chose the first item and the second item, the parameter in processor.treeState returned 1. When I chose the 3rd, 4th ... the parameter returned 2, 3, ...
But when I switched to JUCE 5.4.7 develop branch, everything was normal. So I think that's a JUCE 6 bug.
I wrote that code using combobox attachment
When I chose the first item and the second item, the parameter in
processor.treeState
returned 1. When I chose the 3rd, 4th ... the parameter returned 2, 3, ... But when I switched to JUCE 5.4.7 develop branch, everything was normal. So I think that's a JUCE 6 bug.System: MacOS Catalina 10.15.5 Xcode 11.5 64-bit audio plugin