arvydas / BlinkStickDotNet

BlinkStick .NET interface to control devices connected to the computer
GNU General Public License v3.0
32 stars 28 forks source link

Unity Engine crashing when using BlinkStickDotNet.dll #8

Open AnupamChauhan13 opened 7 years ago

AnupamChauhan13 commented 7 years ago

Hi, 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".

L4D15 commented 7 years ago

I'm actually interested in using this for a crazy app made in Unity :-P

ebadier commented 3 years ago

I know it's late but this Unity implementation may be of interest to you : https://github.com/ebadier/BlinkStick-Unity