Search code examples
c#unity-game-enginecertificatewindows-10-mobile

Error certificate build in unity for windows phone applications


How can I fix that errors when I try to build my aplication with unity3d for windows phone 10.

The type or namespace name 'X509Certificates' does not exist in the namespace 'System.Security.Cryptography' (are you missing an assembly reference?)

The type or namespace name 'X509Chain' could not be found (are you missing a using directive or an assembly reference?)


Solution

  • Go to your settings from File->Build Settings. Select Windows Store and click Player Settings. On the right side, Change Scripting Backend from .NET to IL2CPP.