HISE would crash when compiling ScriptFX network and now when trying to load project after reinstalling to the latest version on Windows.
-
Hello.
Pretty much the title. I was ready to export my HISE project as an FX plugin but it would crash when I tried to compile the ScriptFX network as a dll, or when just trying to export it as a plugin without compiling as dll first.
So I removed the HISE source folder from documents the one from %appdata% and reinstaleld HISE with the latest developer branch. Now when I try to load my project, the xml or the preset or an autosave or whatever, it crashes when its loading it.
This sucks.How can I fix this?
Thanks in advance :) -
@Bicrome I had the same issue yesterday. What helped was that I recompiled the networks with the latest build before opening the project.
-
@tomekslesicki thanks. You mean recompiling the scriptFX network with projucer?
-
@Bicrome no, in HISE - open the project without loading the hip or xml, create a new scriptfx, load any network and then recompile all networks with the export menu
-
@tomekslesicki it still crashes
trying to load pr compile the network in any way crashes HISE... -
I've managed to copy the necessary files to a new project for testing. And I'm able to open the network and everything like before. But I still cant compile it as a dll. It crashes HISE no matter how I try.
So... can't I compile the network without using HISE? If so how?
Also could it be crashing because I'm using a couple of airwindos plugins compiled as nodes for scriptnode (work as a hardcoded effect too)? -
-
@xxx Sadly it wasnt that, since my node_templates folder is empty.
But thank you regardless :) -
also, make sure all your dsp networks are valid.
i had a few broken ones saved in the faust folder that didn’t compile, and they were causing export errors.
i deleted them, and the plugin export worked fine after that.
check: hise projects / project / dsp networks / code binaries / faust
other than that idk good luck
-
@xxx im not using faust
but im guessing that the issues are being caused by one or more of the airwindows plugins that im using as dsp networks.
so ill have to check that, but that will be in a week thoIf nothing works i can still rebuild my scriptfx network and try to compile it periodically to try to find the issue.
Spending hours trying to find the damn error isnt fun, but building stuff in HISE is!Ill update in a week, so either i find the solution or i can reverse engeneer the issue hahahha :)
-
@Bicrome the issue is your air windows nodes. Whenever you update HISE you need to recompile any nodes you are using as well. If you have air windows inside of scriptnode networks it will fail initially. You need to compile the air windows nodes first, then do another round of compiling the scriptnode networks that contain them.