Cubase 13 Stuck in "Loading Channel: Stereo In"
-
Hi!
When I save a project in Cubase 13 (with Windows 11) with one of my plugins and then attempt to reopen it, it freezes during the loading phase at "Loading Channel: Stereo In." It doesn't crash, preventing Cubase from generating a crash report, but it remains frozen indefinitely. A user mentioned that they don't encounter this issue with Cubase 11, but they do with versions 12 and 13.
This problem is exclusive to one of my plugins. Any idea what might be causing it?
-
@bendurso you'll probably have to debug with your IDE and DAW. That should point you to the code that's hanging up the plug.
-
@Dan-Korneff How do I open my plugin in Cubase with Visual Studio?
-
@bendurso Oh I just realized that activating "Debug Mode" creates the IDE folders when exporting it.
-
@bendurso I had no success debugging Visual Studio with Cubase :(
But I found the problem manually (I suspected that might be the problem). I have several linked knobs. The linking is only activated when a button is pressed. When the link button is activated, Cubase crashes.
Should I apply "isMetaParameter" to all the knobs that are linked? Or maybe just activate isMetaParameter to the knobs when the button is activated?
In the past I had some automation problems (with Ableton I think) when using this parameter that's why I'm a little afraid of it.
-
@bendurso said in Cubase 13 Stuck in "Loading Channel: Stereo In":
I had no success debugging Visual Studio with Cubase :(
What process did you use to debug? I think you still need to hook Cubase up to VS and then make it crash. That should point you to the line of code that is failing.
-
@Dan-Korneff I know I probably did it wrong.. I used the sln file to open the project in Visual Studio, then opened Cubase with my plugin, and then attached the Cubase process to Visual Studio.
However, the DAW project only has problems opening when the linking button is active. I can open the DAW normally with the plugin if the link button is inactive.
I have a lot of linked knobs like these:
const var btnLinkLayerFX = Content.getComponent("btnLinkLayerFX"); inline function onknbSaturation1Control(component, value) { Saturator1.setAttribute(Saturator1.PreGain, value); if (btnLinkLayerFX.getValue()) { knbSaturation2.setValue(value); knbSaturation2.changed(); } }; Content.getComponent("knbSaturation1").setControlCallback(onknbSaturation1Control); inline function onknbSaturation2Control(component, value) { Saturator2.setAttribute(Saturator2.PreGain, value); if (btnLinkLayerFX.getValue()) { knbSaturation1.setValue(value); knbSaturation1.changed(); } }; Content.getComponent("knbSaturation2").setControlCallback(onknbSaturation2Control);
Is there a better way of linking knobs to avoid problems?