Plugin crashes Daw
-
Hi folks,
I hope someone can help me.
following problem:Win 11, Hise Develop, VS2022
I can export a FX plugin in Hise and open it in Cubase without problems but a compiled vst3 instrument crashes Cubase, Live and Reaper. Everything runs without errors when compiling.
Can someone look over the project or test if I am doing something wrong? I hope I can fix this somehow as Hise is really a mega program. If i can share my project for help else please tell me.
Thank you already!HiseSnippet 6494.3oc6c07aajjcmxdnGKNi83Y14vBDjrcDBVHsRlC6lThTwYVyuMoL+RjMko3razzjrIYK0eP0cSQRMv.NaBB1rXCxlbaODj8TNFjq4l+OHKxBDj.jCdQ.xGWB1+C1Tezcypa1MIkrGOx1RXjF2UUupdueuW8pW8phMqnpzlWSSQ02JqxNY.uuU9P+0lHq2OUeNAYe4S6akuk+ZbRCD4Y40zyx0g+nyn8kbx.NMM9N9VYka9HXCWY02yG5meyCSxIxI2leZQ97cfhPa9BBRB5SKsR7GKHJB6PVAIhVGId91JxoTDUFBXpa5OjuAbsOgqGeINXytgeeqbqLcDzUTqoyoyq4ak2KoRmI05qLRF29CDzDZIxCef1WMPGgKNqhXGHGCK0Wp9BhcpXJ7Z9.cZkoPwMwPwm5unPGAqxmBI2CUA0TJHwiUtgc16l1XOZR1KDA64BKsBAK8dXV5i8Wqspv.8o0.4mOvedYcd0tb.XmjUvs02MF964OkBnEx5Ak3NgOqJ3AKJVmNTnPaQsSnPa7f.A.XulN0YbpTCjQZGUpOmxj3d75oTjFnHCdX80pvIyKxr1FALaYPMdPwiD5n2essnBuMrCsWWedgd80gUhGMigSTQWWfGLPqEMVnfxr673XonYavlHavFIj6TLYNsQkX1UOEWkM2mMmXyp6233H74N6TorASPKUsVjyO4Q8qjHQkJMajfMSvpIN6ffp0kKrS59szGzTZTtCas2diqzNydIdjrBn7ZmNXaYo8NtTsf8NndH0JGRG43IsRxct7nACp2W5vT6WtX28kqe3AOpemyZcZAtz7spm4zBmd9jACXpKVe6F0CM9fM29ImbXuFmlq6NMOcWsJ0KVjYO8L6bhZiHJ0oOa6bI.V+62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Npca6c0LDxbYIL7kkvHWVB29xR3NWVBidYIL1hIDl9lDC0Uves3Y98RC96INzKwqoOfMLHWP0O5kXWWNPvrnAD8F3xrqwdSH9BBIibGxu9PxNTTbl1.KzQ6pcB+H3yA9a+m+Nr+2u.kED3200vx9pO8e3QvWYbfMPqJzZnN+zuiUvgTi8S3qXkL3YUqXcQ7Ak9+CTosJJK
-
The snippet in this case doesn't do much to convey your whole situation as we don't have the sample maps, graphics etc.
Here's how you can find the culprit.
Start by removing effects, one by one. Remove one, export VST, test.
Once you're done with the effects, start removing modules.
If you removed all the samplers and all the effects and you're still crashing the DAWs, the culprit is somewhere in the interface script. Remove the lottie. Remove images. Remove controls. Do it until you've stripped your project bare.
Do it all step by step. Yes, it'll be painful and fucking boring waiting for compile every time. I personally use a symbolic link to the compiled VST in the project directory so I don't have to copy it every time.
-
well just looking at the first bit of code:
//Main Fade Slider inline function onknbFaderControl(component, value) { MainFader.setValueNormalized(component.getValueNormalized()); pnlFader.setAnimationFrame(value); knbFader.setValueNormalized(component.getValueNormalized()); MainFader.changed(); }; Content.getComponent("Knob1").setControlCallback(onknbFaderControl); inline function onMainFaderControl(component, value) { knbFader.setValueNormalized(component.getValueNormalized()); Sampler1.setAttribute(Sampler1.Gain, 1 - value); Sampler2.setAttribute(Sampler2.Gain, value); knbFader.changed(); }; Content.getComponent("MainFader").setControlCallback(onMainFaderControl);
Im not sure why you are doing all of this when this will suffice:
inline function onknbFaderControl(component, value) { pnlFader.setAnimationFrame(value); Sampler1.setAttribute(Sampler1.Gain, 1 - value); Sampler2.setAttribute(Sampler2.Gain, value); }; Content.getComponent("Knob1").setControlCallback(onknbFaderControl);
Of course this is just a linear x-fade - which is not too musical - so you might want to think about using some sort of RMS approximation....
-
A big Thank you for your in Input and reply but nothing worked.
I have tryed to complie just a simple Sine Wave Generator to test if the instrument compile worked but
it doesnt.Is there some hockus pokus i have to do?
I compiled the HISE develop Version with VS2022 and no ipp. I have done it like Davids youtube video
Build 2022 on windows. I can compile FX Plugin but no working Instrument (64 or Vst3).When im compiling the only thing that come up is the warning message (See the pic below)
Thanks for your help!
-
@StephanS What about standalone?
-
Hi David,
Stanalone does not open at all after compiling.
Ich have no clue. I have the same problem on my Laptop. Both Systems seemingly compile correct but
all plugins crash the DAWs or standalone Versions doesnt open.Thanks David
-
@StephanS said in Plugin crashes Daw:
Stanalone does not open at all after compiling.
Build a debug version and run it in VS to debug it.
-
Hi David,
can you please explain the process to me and how I then proceed
I have enable the Debug Mode in Settings but wich file i have to open in VS to check?Thanks a lot for your help.
Cheers -
@StephanS Open your project's juicer file in Projucer and click Save and Open in IDE - just like when you build HISE. Once in VS click the green play button (make sure debug is selected in the drop down). Then it will build a debug version and run it, giving you output in the console at the bottom of the screen.
-
HI David,
I have compiled a debug version and it's the same Problem. Plugin is crashing the daw and Standalone Version do not open at all.
I have no idea anymore.
I have build Hise now several times and with several Versions of VS but it's all the same.
It compile right with no errors but it can not be open in the daw without crashing the daw.
I have tried it now with my laptop as well and it's the same thing.My system is: Win 11 latest version, VS2022, Hise develop latest version,
Is it possible to check the vst3 plugin after compile if anything is OK or can someone check it for me?
Thanks all for your help
-
@StephanS said in Plugin crashes Daw:
have compiled a debug version and it's the same Problem. Plugin is crashing the daw and Standalone Version do not open at all.
Did you attempt to debug the standalone version with Visual Studio?
@StephanS said in Plugin crashes Daw:
I have build Hise now several times and with several Versions of VS but it's all the same.
That won't make any difference so don't worry about doing this.
@StephanS said in Plugin crashes Daw:
Is it possible to check the vst3 plugin after compile if anything is OK or can someone check it for me?
Send me your entire project - without the samples (if there are any).