Chris-TopherW / UnityVSTHost

VST plugin host for Unity engine. Supports 64bit VST2 plugins on Windows only. Does not support Midi input to plugins at this stage.
GNU General Public License v3.0
47 stars 2 forks source link

Does not support Win32 VST plugins #3

Open QuantumLeap opened 4 years ago

QuantumLeap commented 4 years ago

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

Chris-TopherW commented 3 years ago

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 commented 3 years ago

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 😅