"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

VuMark not detected Hololens2

Hi everyone!

For my bachelorthesis I am working with the Hololens2 and Vuforias VuMarks with Unity. I am currently simply trying to detect a Vumark and if I detect it I want to show a Cube. The problem is the VuMark does not get detected (since I see no cube) and I really don't know where the problem could be and I am really frustated. Here is my approach:

1.) I am using the example Vumarks (Chateau / MortonTuxedos) SVG files. I uploaded them in the Database, added the correct ID (for Morton Tuxedos for example "1111") and afterwards I downloaded them as PNG and printed them in the correct width I entered by uploading. I tried both example VuMarks seperatly with no success.

2.) I set up an AR camera. I think the AR camera and my setup works, because I tried implementing an ImageTarget to see if my setup is correct, and the Imagetarget always gets detected without a problem and I always see the child element. I also already set the "Max simultaneous tracked objects/images" to 5 just in case this could be the problem -> it was not. 

3.) I created a VuMark instance, added the right Database and template. I created a simple 3D cube object and moved it as a child from VuMark. I already tried it just with that setting -> did not work. Nextly I added the cube to the Default Observe Event handler to the OnTargetFound() and if it is found I enable the .SetActive() flag. -> did also not work. I also tried to "create" my own Default Ovserve Event handler, since it is mentioned in the api, and copy pasted the default observe event handler in a new class and added a Gameobject, which I set Active in the OnTargetFound Method, but it also does not work.

I also tried implementing a lot of tutorials/the official Vuforia example but they all did not work since I am using 10.3. I also tried (since I am not quite sure if I need a "VuMarkHandler" Object) to copy that from the official Vuforia example to my project, but after compiling I get alot of errors since it does not find the VuMarkTarget (but as far as I know from my research this is only for the engine 9., correct me If I am wrong).

The attachment shows my setup, which has a simple cube which is always displayed (so i know my holograms etc. work) and the VuMark.

I am really looking forward for some help since I am stuck with this problem for over 2 weeks and I don't know where the problem could be.

Thanks!

 

 

Hey there,

 

Currently there's a known issue where VuMarks might not work on UWP devices, including the Hololens 2, when the locale / language is not set to English. Can it be that your device is in another language?

 

Kind regards,

Patrick Scheper

Hi,

thanks for the hint but the hololens 2, unity and my computer are all set to english. It is just super weird since an ImageTarget is recognized but not a VuMark. Do you have any other hints? Maybe is there a best practice for the size of the vumark or something else I am missing?

pscheper

Thu, 01/06/2022 - 15:04

In reply to by sonjadorfbauer

Hey there,

 

Yes, that's very strange. You mentioned "I also tried implementing a lot of tutorials/the official Vuforia example but they all did not work since I am using 10.3.", which official examples were not up to date?

sonjadorfbauer

Mon, 01/31/2022 - 10:58

In reply to by pscheper

Hello,

yes I imported the MRTK version which i thought would be necessary but it isn't as it seems.

Now the Hololens sample is running and detects the VuMarks and based on the sample I am now able to create my own scene etc.

Attachment