Closed MaxLammers closed 3 years ago
Will be fixed in an upcoming release, which makes use of a new SenseGlove communications executable. Commands will no longer be sent directly to communication lines, but will be sent through IPC.
As of Unity API 2.0, data is now exchanged via a C++ library, which doesn't require Unity to have access to System.IO.Ports.
The Unity SDK relies on a particular assembly (System.IO.Ports) to achieve communication with the SenseGlove. However, this assembly is not included in Unity's .Net 2.0 subset. If this setting is not changed to include the full .Net 2.0, the executable will crash when trying to connect due to a TypeLoadException.
This is a common problem when using outside dlls in Unity. It may be possible to include this assembly in the unityPackage, so that the .Net 2.0 Subset setting does not have to be changed.
Alternatively, we could try to find a new communication protocol with the SenseGlove. in C# as a future solution.