UnityVSTHost icon indicating copy to clipboard operation
UnityVSTHost copied to clipboard

Does not support Win32 VST plugins

Open QuantumLeap opened this issue 5 years ago • 2 comments

First of all, amazing work. Thanks for finally making a VST2 host for Unity. However Unity crashes when the VST2 plugin is 32 bits and not 64. Did you ever try to do a 32 bits version? What should be changed, your dll? Would it be straightforward to compile it for win32?

Thanks

QuantumLeap avatar Sep 19 '20 18:09 QuantumLeap

Hey @QuantumLeap :) I started looking into 32bit back when I was working on this lib but honestly I never worked out how to open 32 bit dlls from a 64 bit executable. Afaik Unity only runs at 64 bit so you'd have to do some fancy windows business to coax the VST dll into loading.

Chris-TopherW avatar Nov 06 '20 15:11 Chris-TopherW

I'm pretty sure Reaper achieves this by literally sticking the 32 bit DLL in a different process to the 64 bit main application and then they send the audio inter-process but I could be wrong 😅

Chris-TopherW avatar Nov 06 '20 15:11 Chris-TopherW