microsoft / MixedReality-UXTools-Unreal

UX tools and components for developing Mixed Reality applications in UE4.
https://microsoft.github.io/MixedReality-UXTools-Unreal/
MIT License
315 stars 87 forks source link

could not mark certificate file for add #51

Open tahoorasf1 opened 2 years ago

tahoorasf1 commented 2 years ago

Hello, I am using unreal 4.26 and mrtk. but when I try to create a certificate in "project setings>platform-hololens> packaging> add resource localization target". it gives me the error "could not mark certificate file for add". I am COMPLETELY sure I add "CN=..." at the beginning of my project.

luis-valverde-ms commented 2 years ago

Hi @tahoorasf1 , I gave that a go with UE 4.27.0 and I couldn't reproduce it. I'm not sure it has to do with the UE version though. Are you seeing the "could not mark certificate for add" error when clicking on the '+' sign to add the resource localization target?

image

Have you previously generated a certificate via the 'Generate new' button in the Signing Certificate section below the Localized Resources one?

image
tahoorasf1 commented 2 years ago

yes,I get the error when I click on Generate new.

tahoorasf1 commented 2 years ago

yes I previously I add it using generate now

luis-valverde-ms commented 2 years ago

Thanks @tahoorasf1 . Just to be clear, you get the error when clicking on "Signing Certificate > Generate new", right? I'm trying to understand how does "project setings>platform-hololens> packaging> add resource localization target" connect to that. Do you also get the error when clicking on that?

It seems that failure to mark a file for add could be related to the source control system. If you are using git or Perforce UE integration, try disabling it before generating the certificate. See here for more details: https://forums.unrealengine.com/t/could-not-mark-image-file-for-add-when-changing-icon-in-projectsettings/451444.

If that doesn't do it, could you send us your editor log?