DAWs do not recognise VST3 as same plugin after migrating to JUCE6

In the process of updating plugins from JUCE 5.2.1 to JUCE 6.0.1.
Moving to a full CMake setup but something isn’t quite right.

I’ve attempted to move all of the configuration from the .jucer project but perhaps I’ve missed something.

The filename is the same.

I checked the contents of the .vst3 directory (mac) and found a few difference:

  1. Info.plist has quite a few differences
  2. Resources dir exists in old VST3 but not the new
  3. access permissions are different

I attempted to correct all of these differences by hand (align Info.plist, copy Resources dir across, and fix permissions) but still no luck.

Any suggestions?

1 Like

Are you definitely using the same PLUGIN_MANUFACTURER_CODEs and PLUGIN_CODEs as the old Projucer-based plugins?

Yes, PLUGIN_MANUFACTURER_CODE and PLUGIN_CODE are identical (unless I’m missing some nuance).

Is it possible I’ve missed some other configuration option?

One thing you could try to check for differences is to load both plugin versions in the JUCE AudioPluginHost, and then to check the information displayed in the list of known plugins (Options -> Edit the list of available plugins…). If everything appears the same, you could stick a breakpoint on line 195 of juce_KnownPluginList.cpp and check the contents of the found OwnedArray after dragging and dropping each plugin version into the AudioPluginHost window. Ideally, the PluginDescription structures for both plugins should be identical.

Excellent advice. Thank you!

Definitely got a little bit farther with it. The VST3 type was not set and defaulted to “Fx”.
However, the pre-JUCE6 plugin has:

Category: Spatial|Fx|Ambisonics

However, when I set: VST3_CATEGORIES Spatial Fx Ambisonics
the order in AudioPluginHost becomes: Fx|Spatial|Ambisonics

I am not sure if this incorrect order is a problem (and VST3 is still not recognised as the same plugin).

Note: In CMake API.md, VST3_CATEGORIES does not include “Ambisonics”. Perhaps this is an issue?

I will try the breakpoint suggestion you made and get back to you.

You could try setting it in your extra preprocessor definitions and specify the order you want, e.g.:
JucePlugin_Vst3Category="Spatial|Fx|Ambisonics"

This is probably not a good idea. JucePlugin_Vst3Category is already set by the Projucer/CMake, so defining it again will lead to duplicated or inconsistent definitions.

Perhaps then we could be given a way to re-order the categories which have been selected.

It’s doubtful that the order of those has any importance at all.

Last time I looked into this the first you list is the only category Cubase will show your plugin in, which isn’t always the preferred category. Being able to control the order would help.

Ah, well, if that’s true, then that would be a nice improvement. But in the context of this thread, it’s not likely relevant to a VST3 plugin not being recognized at all. (Debugging the creation of the plugin might help spot where it’s failing.)

If everything appears the same, you could stick a breakpoint on line 195 of juce_KnownPluginList.cpp and check the contents of the found OwnedArray after dragging and dropping each plugin version into the AudioPluginHost window.

The only difference I could find when doing this is the category. However, I rebuild my plugin after modifying JUCEUtils.cmake to hardcode the category and this still has no impact on the plugin being recognized.

ah, perhaps I’m misinterpreting you but the plugin can be loaded without a problem (it is not “not being recognized at all”) it just isn’t recognized as the same plugin compiled with JUCE5 (and no CMake).

Which is problematic because any saved DAW sessions will break if we send out an update.

Is this affecting your VST2, AU and AAX versions too or only the VST3?

AU works correctly.
Have not yet setup VST2.
AAX fails as well (Pro Tools actually says it’s not a valid plugin and refuses to allow me to load it).