HISE Sampler VSTs Crash? Across multiple brands (FL Win)
-
@HISEnberg Guys you were right the webview is the thing that crashes Lunacy audio Cube and also my plugin...
Pluginval shows no error all working fine there.
In order to NOT crash i had to remove (not only hide+deactivate) the webview panel + its code.
Seems like something thats not fixible from my side - and that a more "famous" vst has this issue gives me less hope that i will be able to solve this ðŸ«
-
@Straticah I think Mndala is also using webview, does that crash for you?
-
@David-Healey it does yes:

-
@Straticah I'll let them know
-
@David-Healey thank you :)
If anybody gets some insight on this - it will probably help a dozen HISE + WV plugins.
-
@Christoph-Hart a good candidate for the your new Claude/Ralph system? This one is a bit over my head unfortunatley... Maybe just confirming the Webview is always running on the right thread and it is properly addressing race conditions in FL? Just a reminder the issue sounds very similar to this one: https://forum.juce.com/t/br-webview-freezes-daw/64917
-
@HISEnberg @Christoph-Hart So the only solution right now is to remove webview from my VST?
I mean its possible to rebuild the browser in HISE, but want to check before i do.
There is more than 1000 people using the VST right now - getting a fix/workaround from my side is kind of expected from me.

-
@Straticah It will require some careful edits to the HISE source code to properly fix. I haven't had time to investigate it personally. You could try deferring any callbacks to your Webview before it is launched. If you use
Content.callAfterDelay(int milliSeconds, var function, var thisObject), it may give the host time to respond to multiple instances of the webview loading simultaneously. If this does work it will only act as a sort of bandaid to the root issue. -
@Straticah Can you try to make a minimal example that crashes FL Studio? You can start with the webview examples in the hise_tutorial.
Ripping out the webview for your preset browser would be the wrong move, let's see if we can fix that.
-
@Christoph-Hart This already happens with any of the examples from the hise_tutorial actually. Just export one of them on a Windows machine, load it in FL Studio, and click on it a bunch of times. You'll receive the same crash report (why users click on it a bunch of times is beyond me, but this is FL Studio we are talking about).
-
@HISEnberg ah ok and it‘s still happening on the current dev branch? The cube plugin is quite old so it might be fixed in the meantime.
-
@Christoph-Hart Yes, as of a week ago it is still happening.