Log in or register to post comments

HoloLens Access Violation when enabling Vuforia Augmented Reality

May 7, 2018 - 3:16pm #1

Anybody out there encountered this?  I am trying to create a hololens project in unity.  I've tried with unity 2017.2.1f1, 2017.3.1f1, and 2018.1.0f2.  I'm importing Microsoft's mixed reality toolkit, and setting up the project and a scene with just a single cube object.  At that point, I can build and deploy to my hololens, and run the app, and I can see the cube.  If I then simply turn on the Vuforia Augmented Reality option in the player XR settings, when I build/deply/run, the app just crashes with an Access Violation error.

In the debug console in visual studio, the access violation always happens right after the 'StartVuforia' message.

I tried enabling the vuforia delayed initialization option, and manually enabling things later, but with the same results.

HoloLens Access Violation when enabling Vuforia Augmented Reality

January 31, 2019 - 1:44pm #2

For anyone running into this:

make sure your Vuforia config settings are correct, in my case copying a previous project did not keep Vuforia settings, specifically:

In Vuforia Configuration >

Device Type > Digital Eyewear

Device Config > HoloLens

 

I also updated my other settings such as adding license key and set databases to load, but i believe the above is what caused the actual crash

Log in or register to post comments