drlight-code / osccontrol-light

An audio plugin that speaks OSC.
GNU General Public License v3.0
29 stars 3 forks source link

Ableton crashes when using headless build #46

Open IsaacMAllen opened 6 months ago

IsaacMAllen commented 6 months ago

image

Not sure how to replicate this issue in the debugger when running the JUCE Audio Plugin Host as it appears to not occur in that context. Only happens in Ableton, is there something I can do to fix this?

the lc4 yaml: image

cmake options used: image

OSCCONTROL_PRESET_PATH was set to F:\Users\Melborpon\Documents\Ableton\Plugins\osccontrol-light\Presets before building.

drlight-code commented 6 months ago

Hi Isaac,

could you try to disable the EMBED_PRESETS setting and make sure that OSCCONTROL_PRESET_PATH is set during runtime, specifically in the context where Ableton is run? Easiest way to make sure is to run Ableton from a command prompt and check with SET beforehand that the variable is properly set.

Also where do the presets reside? If they are below the osccontrol-light directory listed above, it might be a quoting issue due to the whitespace in the folder name. I haven't done a ton of testing on Windows yet, but let's see if we can work this out.