Vuforia on HoloLens 2
Hi!
I want to develop an application for the HoloLens 2 that recognizes pictures and overlay it with a button. I found a few tutorials and instructions on the internet, but it doesn't work yet.
I am working with unity 2019.4.11f1, MRTK 2.4.0 and Vuforia 9.4.6.
Whenever I open an application on the HoloLens 2, just a blank screen opens up. I am not able yet to get the HoloLens 2 camera work as the ARCamera. When I create a project I import the MRTK and Vuforia assets and change the build platform to UWP. I set the target device to HoloLens and the Architecture to ARM. I have also enabled the Virtual Reality Supported in the player settings. In the publishing settings are the InternetClient, Microphone, WebCam and SpatialPerception enabled. In the scene I added and configured the Mixed Reality Toolkit and set the profile to DefaultXRSDKCameraProfile and I added the Vuforia Behaviour to the main camera.
After I build the project I open de .sln file and Visual Studio 2019 starts up. In VS2019 I set the solution configurations to debug and solution platform to ARM. This ensures the installation of my app, but if I open the app after the build, only a blank page shows up.
I am a beginner in Unity so I hope that I am clear in my explanation and someone can help me!
Tnx!
Answer by taimoor901 · Oct 28, 2021 at 08:08 AM
I am also a starter but I figured out to work with it. -Get the Vuforia Hololens package 2020.3 on asset store and also unity version 2020. -Import the project, this comes along MRTK so no need to get it seperately. -It already has some sample scenes in it so maybe you can edit them and make some of your own. -For building, after opening the .sln file change the platform to ARM64 (in case hololens 2 but I worked with hololens 1). I am sure this will help