chgatla-microsoft / QRTracking

MRTK sample app for QRtracking
MIT License
74 stars 69 forks source link

Can't make it working in a new project #8

Closed Morgan-6Freedom closed 4 years ago

Morgan-6Freedom commented 4 years ago

Hello. I created a new Unity 2019.2 project. Added MRTK 2.2.0 Added Nugget for Unity. Added Microsoft.MixedReality.QR via Nuget for Unity. Then copied all your /Scripts/ and /Prefabs/ and /Scenes/ folders in my project Then opened the QRCodesSample.unity, deleted the two MRTK object. Then MRTK=>Configure Scene Then build on my HL2.

And the QRCode tracking does not work at all. It does not recognize my QRCode. (The build (made with the same Unity version) of the example project works perfectly with my QRCode).

Do you have an idea why ?

BertrandOustriere commented 4 years ago

Hi @Thomas-6freedom, Did you add WebCam to the project capabilities ?

Morgan-6Freedom commented 4 years ago

Oh yes I forgot to mention. Yes I did.

BertrandOustriere commented 4 years ago

And does your application ask for your authorization to access the camera at start ?

Morgan-6Freedom commented 4 years ago

Yes it did ask. And I accepted of course.

Morgan-6Freedom commented 4 years ago

I recreated an empty project and its working. My bad.