I was (finally) trying to make a VST3 version of a an effect plugin (now that Steinberg decided to immediately stop supporting VST2 in Cubase on Apple Silicon-based Macs).
So I added the VST3 target in the Projucer, re-saved the project, built, and got my .vst3 alright (the magic of JUCE, still grateful for that!).
But when I load the VST3 plugin in Cubase (11 and 12, for now testing on Windows), I’m not seeing any of the preset programs I do see for the VST2 version. The same happens in Live 11: no presets.
Reaper and FLStudio however do show the preset programs correctly, and I can switch between them.
All the program-related methods are implemented (getNumPrograms returns 127, getProgramName returns the name of the program, etc…).
All 4 state-related methods are also implemented (get/setStateInformation and get/setCurrentProgramStateInformation).
This has worked fine for years for VST2 and AU (not for AAX, where there is only ever 1 program).
So: how does one setup/handle built-in presets correctly for VST3 in JUCE these days?
(I found a few old posts suggesting the use of discrete preset files on disk, but then why does it seem to work with Reaper and FLStudio, as expected?)
Thanks for any insights!
