Camera doesn’t open despite having the capability enabled

Hi all.

I’m having an issue with the camera.

The camera doesn’t open. I’ve activated the capabilitie ‘WebCam’ and also gave permission to the app for using the camera in the privacy settings of the tablet; but the camera dosen’t open at all and does not give any error message.

Anyone have had this issue and know how to solve it?

Thank you in advance.

Hi,

How are you opening the webcam? Are you using WebCamTexture or directly calling the WinRT APIs directly?

Did you set the ‘WebCam’ Capability directly in the appxmanifies (in your Visual Studio solution) or just in the Unity Editor? Note that Unity only writes out the UWP Capabilities to the appxmanifest when creating the VS project for the first time and won’t update it afterwards (so won’t blow away any changes you’ve made to the project).

Hi.

Sorry, I forgot to comment that I was using Vuforia, and it seems that it was a problem of Vuforia, because I updated it to a newer version and the problem was solved.

Thank you anyway for your interest.