Forcing VST3 rescan for shelled plug-ins

Hi,

So we’re upgrading a single-component VST plug-in to be a 2-component one. Problem: I can’t figure out how to rescan VST3 plug-ins in Cubase 8.5. The newly added shell component gets recongnized when I delete all Preferences on Mac (MacHD/Users/Me/Library/Preferences/Cubase 8.5), but I can’t figure out which single file to delete. Ideally, we would like to give the user a minimal invasive action to do this.

I guess similar action needs to be taken on Windows?

Alternatively, is there a version number or something in the plist file whatsoever that ensures a rescan of shelled plug-ins, e.g. for new components?

Cheers,

  • Urs

Hi Urs,
check out the FactoryFlags in PFactoryInfo, especially kClassesDiscardable. If this is set, the factory is asked every time the host starts up for it’s classes. But make sure that this is as fast as possible as this slows down host startup.
Another solution is to change the version number or the modification time. The modification time is cross platform.

Cheers
Arne