There happen "PlatformNotSupportedException" when importing DLL.
Does someone know how to deal with this situation?
playerlog (output_log.txt)
PlatformNotSupportedException: Operation is not supported on this platform. at System.IO.Ports.SerialPort..ctor () [0x00000] in :0
I've tried to modify below configuration options, but the situation doesn't change. (Build Setting→Player Setting→Other Setting →Configuration)
Runtime version : 4.0 -> 3.5 (rebuild but NG)
Scripting Backend : Mono->IL2CPP ( Still NG)
Api Compatibility : 4.0 -> 2.0 (still NG)
Thank you in advance.
=======
My Environment
- Unity 2018.4.16f1 personal
- Microsoft Visual Studio Community 2019 Version 16.5.1
- Windows 10 1903
DLL information (confirmed at VS2019's property window)
- Version : 1.3.0.8
- Runtime Version: v2.0.50727
=======
↧