vovacooper / Unity3d_MQTT

MQTT protocol running on Unity3d
141 stars 38 forks source link

System.Security.Cryptography.X509Certificates in .NET 4.6 #4

Open alborzs opened 6 years ago

alborzs commented 6 years ago

Hi,

Have you tried this library recently?

I am missing X509Certificates. I guess X509Certificatesis not part of System.Security.Cryptography i newer .NET versions 4.6. (This is the latest version for at the moment).

Is there a world-around for this issue?

RobinFischer commented 6 years ago

Yes, there's a work-around: This project actually never worked when building it for .NET using UWP as target plattform. But you just have to change around the scripting backend to IL2CPP and the errors should go away. Also, be sure to delete the old building target folder you've used when generating the .NET project! Unity will not overwrite it porpperly when switching to IL2CPP. changescriptingbackend