I’ve been away from music software for almost two years, but now I’m updating the entirely way too many apps and plugins that I own and stumbled on a bug when going through and registering new plugin upgrades. I typically use Cantabile to do that because it’s easier to load and replace my way through them all instead of using a DAW.
The bug is that when I right-click a loaded plugin, and then click “Replace Plugin…”, I get a error popup saying “Error replacing plugin - Object reference not set to an instance of an object.”. That happens before the plugin dialog should appear.
It happens with every plugin that I try it with. I just tested both the VST2 and VST3 versions of the same plugin with the same results. It’s in a new default song when opening up Cantabile.
Another thing to note is that it is a fresh install of Cantabile. I had uninstalled v3 and v4, wiped out the AppData/Local folder and the installed only v4.
Let me know if there is anything else I can do to help track it down.
EDIT: I also relocate all folders and the background rack from the default locations.
Replace Plugin has always resulted in the error every time I attempt it. I can insert plugins all day long just fine. I can also delete them, then insert new ones.
I just noticed that if I set the plugin to the “Unloaded” state, I can then Replace Plugin. It throws the error from either “Running” or “Suspended” states. I get the same results from within an embedded rack.
I tried changing to a different audio device and that didn’t help. I’ll experiment some more after I send you the files.
I believe the issue has to do with changing the Insert Plugin dialog Default Group to “By Folder”. When I change it back to “All Plugins”, Replace Plugin works as expected.