Hello,
I wrote a plugin that references the System.Device.dll assembly. When I put the plugin into the Assets/x64 folder I get this error:
Assembly 'Assets/Plugins/x64/GpsPlugin_Net4.dll' will not be loaded due to errors:
Unable to resolve reference 'System.Device'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
I have also added a csc.rsp file to the Assets/Editor directory and it includes the line:
-r:System.Device.dll
I’ve tried using both Mono and IL2CPP scripting backend. The Api Compatability Level is .NET 4.x.
The System.Device namespace was introduced in .Net 4.0 so doesn’t IL2CPP support .Net up to 4.6?
Is there some restriction for certain libraries such as System.Device.dll ? Trying to access the Windows GPS sensor data from Unity? Since this isn’t a mobile device I can’t use Input.Location.
Can you help @JoshPeterson ?