Any solutions for Error : 'X509Certificates' does not exist in the namespace 'System.Security.Crypt

Hey guys I have recently begun working on a Windows 10 universal project. When I try to make a builld I am having issues with the encryption classes not being found using the current . net subset even when I changed it to .net 4.6 . The errors express the title text . Has anyone else necountered this issue?

One offered solution was to simply switch the back end to IL2CPP but unfortunately when I try to do that I am met with an error that says "Currently Selected Scripting backend ( IL2CPP) is not installed.

I began going down the road of figuring out how to install IL2CPP but the heart of the issue has to do with the missing encryption class libraries for building with .Net

Has naybody encountered/ solved these issues ?

Those classes are simply not available when targeting .NET. It’s not our decision (Microsoft controls that).

Using IL2CPP is the right way to go. To install it, just run the Unity installer again and tick “Windows Store (IL2CPP scripting backend)” component.

1 Like

Thank you, I just wanted to make sure I wasn’t overlooking something with this error I will focus on using IL2CPP then.

Sounds great! Let us know if you run into any issues with it.

1 Like

No issues whatsoever I was able to build fine with IL2CPP . I am getting weird FOV issues with my cameras/ eyes while in the headset but I will open up a new post to address those if I feel like I need more help diagnosing that. thank you !