Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MRTK 2.2 - Cant build because of error while creating certification #6905

Closed
Mt-Perazim opened this issue Dec 16, 2019 · 1 comment
Closed
Labels

Comments

@Mt-Perazim
Copy link

Mt-Perazim commented Dec 16, 2019

I updated to Mrtk from 2.1 to 2.2 and Unity from 2019.2.15 to 2019.3. In play-mode everything works fine but my build is failing because of following lines:

#1
Failed to create a file 'MRTK v2.0\SomeApp Mrtk 2.2\Assets\WSATestCertificate.pfx' 
UnityEditor.EditorUtility:WSACreateTestCertificate(String, String, String, Boolean)
#2
Error while creating certificate at 'MRTK v2.0\SomeApp Mrtk 2.2\Assets\WSATestCertificate.pfx'
UnityEditor.EditorUtility:WSACreateTestCertificate(String, String, String, Boolean)
#3
InvalidOperationException: Failed to create test certificate.
PostProcessWinRT.CreateTestCertificate () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1045)

I tried to delete my old WSATestCertificate.pfx and switched my build folder, but that didnt help. Is sb else experiencing the same behaviour?

@Mt-Perazim Mt-Perazim added the Bug label Dec 16, 2019
@Mt-Perazim
Copy link
Author

I somehow "fixed" the problem, by downgrading Unity back to 2019.2.15 and updating again to 2019.3. Or by resetting my build and project settings in unity. The only part that does not look good are the 147 Warnings about obsolete api...but my building works now and the app runs!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant