BlinkStick with Unity


I am using BlinkStickDotNet.dll
as a managed plugin in Unity after switch the framework to 3.5 from 4.0(as Unity won’t support beyond 3.5).
The problem is that the tool is crashing whenever the methods like “FindAll” or “FindBySerial” are being called at runtime. In the crash log it is mentioned-“Native extension for WindowsStandalone target not found”.

Moreover, whenever trying to build an executable file, i get the message-“ArgumentException: The Assembly System.Windows.Forms is referenced by BlinkStickDotNet (‘Assets/Plugins/BlinkStickDotNet.dll’). But the dll is not allowed to be included or could not be found.”

Note-For now , I am not using any BlinkStick device but just checking the presence/absence of the device with the help of serial number or “FindAll”.



I know it’s late but this Unity implementation may be of interest to you :