I originally tried to create an app for the HoloLens in which it would detect an ImageTarget and I could interact with a menu to choose from a series of images to overlay on top. I added a UI "status text" which would tell the user whether the ImageTarget was found or not. When I deployed it to the HoloLens and tested it, everything worked except for the holograms I wanted to overlay, and the status text would correctly indicate whether the ImageTarget was being tracked. I then simplified my app to the same ImageTarget but with a single sphere overlaid on top of it. The same problem persisted; I could not get the sphere to show up. I then tried the simplified app just with the Unity Editor and a webcam, and it worked completely fine. Is this a problem with HoloLens compatibility or with some error in my build or scene settings that I am unaware of?
Scene Setup:
>HoloLensCamera (Default settings from HoloToolKit)
>ARCamera (Default settings from Vuforia)
>ImageTarget (Width of 0.12, Height of 0.1137, everything else default from Vuforia)
>Sphere (Scale of 0.5 for all, Position of 0.3)
Player Settings (Windows):
Other Settings:
- Scripting Runtime Version: .NET 3.5 Equivalent
- Scripting Backend: IL2CPP
Publishing Settings:
- Internet Client, Microphone, Webcam, and SpatialPerception checked off
XR Settings:
- Virtual Reality Supported (Windows Mixed Reality)
- Vuforia Augmented Reality Supported
Vuforia Configuration:
- CAMERA_DEFAULT
- Digital Eyewear - HoloLens
- Track Device Pose - Optimize for ImageTargets and VuMarks
Any help would be appreciated. I have been trying to fix this problem for a while now and have found no solutions online.
You don't need two cameras in
You don't need two cameras in your scene, just add the Vuforia scripts to the HoloToolkit camera and tag it with "MainCamera".
Make sure your AR objects are on a layer, that is actually rendered by a camera.
I tryed to tag ARCamera as
I tryed to tag ARCamera as MainCamera. But my HoloLens still didn't turn on the camera.
Do you get the solution? I
Do you get the solution? I face the same problem and no solution come up.. :(
Hey, I had a similar issues
Hey, I had a similar issues initially that the Hololens didn't activate the camera.
Hello,
Hello,