Just as the title says. It finds the plugin, it runs, but as soon as I touch a knob or slider FL Studio gives this error and stops working:
FL Studio (184.108.40.2069) has encountered an error and need to restart.
Crash log saved to C:\Users\wolfk\Documents\Image-Line\FL Studio\Support\Logs\Crash\ folder.
Please use Ctrl+C to copy this message and report to support.
External exception E06D7363
000000000BE30000:000000000C190C6D: Fruity Wrapper_x64.dll
000000000BE30000:000000000C1BFB0F: Fruity Wrapper_x64.dll
000000000BE30000:000000000C1BCE28: Fruity Wrapper_x64.dll
000000000BE30000:000000000C1D9618: Fruity Wrapper_x64.dll
And as I said before standalone and in AudioPluginHost works well. Just wondering what the problem could be. Thanks
Instead of relying on the FL crash log, you can just run FL as your debug executable (instead of AudioPluginHost), and when it crashes your debugger should give you some insight into whats going wrong.
I think you’re on windows. Assuming FL isn’t directly scanning your build folder, before you open the plugin in FL you will need to replace the plugin in your VST folder with your latest Debug build, as well as add/replace your debug builds .Pdb file.
Hope that helps!
Thanks but I’m still a bit baffled. I did what you said about debugging through FL studio but it jjust gives me a bad function call error:
'FL64.exe' (Win32): Loaded 'C:\Program Files\Image-Line\FL Studio 20\Plugins\Fruity\Effects\Fruity Wrapper\Fruity Wrapper_x64.dll'. Module was built without symbols.
'FL64.exe' (Win32): Loaded 'C:\Program Files (x86)\Common Files\VST3\Distort.vst3'. Module was built without symbols.
'FL64.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140.dll'.
'FL64.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140_1.dll'.
'FL64.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140.dll'.
'FL64.exe' (Win32): Loaded 'C:\Windows\System32\WindowsCodecs.dll'.
'FL64.exe' (Win32): Loaded 'C:\Windows\System32\thumbcache.dll'.
'FL64.exe' (Win32): Loaded 'C:\Windows\System32\ResourcePolicyClient.dll'.
'FL64.exe' (Win32): Unloaded 'C:\Windows\System32\ResourcePolicyClient.dll'
'FL64.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nvami.inf_amd64_0c50dc64ed3c91bc\nvdlistx.dll'.
'FL64.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\nvami.inf_amd64_0c50dc64ed3c91bc\nvdlistx.dll'
The thread 0x77f0 has exited with code 0 (0x0).
'FL64.exe' (Win32): Loaded 'C:\Windows\System32\mscms.dll'.
'FL64.exe' (Win32): Loaded 'C:\Windows\System32\userenv.dll'.
'FL64.exe' (Win32): Loaded 'C:\Windows\System32\coloradapterclient.dll'.
'FL64.exe' (Win32): Loaded 'C:\Windows\System32\d2d1.dll'.
'FL64.exe' (Win32): Loaded 'C:\Windows\System32\DWrite.dll'.
'FL64.exe' (Win32): Loaded 'C:\Windows\System32\d3d10warp.dll'.
'FL64.exe' (Win32): Loaded 'C:\Windows\System32\DXCore.dll'.
Exception thrown at 0x00007FFC8C924FD9 in FL64.exe: Microsoft C++ exception: std::bad_function_call at memory location 0x00000000007DF150.
The thread 0x6504 has exited with code 0 (0x0).
Nothing else does this, Cakewalk and standalone are fine.
In case you guys need the source code, heres the repo:
The multiple assignments of empty valuetrees to state->state in the ctor look sketchy…
I actually commented those out, the vst still works in cakewalk but not FL Studio…
Anyone with FL want to get it a go on their system?
Your log looks like from a release build. Try using a debug build. Then start FL Studio first, then attach the debugger, then load the plugin. This will most likely show you what causes the crash.