Log in or register to post comments

Hololens2 ImageTarget World center issue

June 24, 2021 - 1:42am #1

Hi,

 

in my app, the world center seems to be off.

I'm using MRTK 2.7.0 with OpenXR 1.0.0 and Vuforia 9.8.8

On the Hololens, the Image Target gets recognized, but its position has a random fixed offset after the App initializes. The Setup is similar to the hololens2 Samples from the Asset store, but I cannot verify that the samples works as intended, because it doesn't compile.

I suspect, that the WorldCenterMode "Device" wich is enforced does not work properly? Extended Tracking and "Track Device Pose" are enabled.

the MRTK Maincamera under the Playspace has the VuforiaBehaviour and DefaultInitializationErrorHandler script attached. the Image marker are separate like in your samples.

running the app in the Editor with a Webcam works as expected. With that random offset on the Hololens, the ImageTargets are basically useless for me.



EDIT: I think I found the Culprit: OpenXR. Switching back to Windows Mixed Reality in the Project settings and using a default mixed reality profile in the MRTK solved the issue. This cost me hours! As far as I have understood, OpenXR is supposed to replace windows mixed reality in the future, which is why i opted for it. 

 

tldr: DO NOT USE OPENXR!!!!!!!!!!!!!!!!!!!!!!!!!!

br

Laurenz

Hololens2 ImageTarget World center issue

September 24, 2021 - 5:57am #11

Hey there,

 

Unless someone else knows otherwise, the latest I know is that this only happens when using OpenXR.

Hope that helps for your trials next week. Good luck! 

 

Kind regards,

Patrick Scheper

Technical Community Manager

Hololens2 ImageTarget World center issue

September 23, 2021 - 1:12am #10

Does the problem only occur with OpenXR? Or on the entire Hololens 2? That would be very important for me, since we have to do another trial this week.

Hololens2 ImageTarget World center issue

September 15, 2021 - 8:09am #9

Hey everyone,

 

Your feedback is very important, so keep it coming!

Sadly this is a deeper issue where no temporary fix has been found yet. Our R&D team has been working with Microsoft to find a solution and is still working on it.

 

Kind regards,

Patrick Scheper

Technical Community Manager

Hololens2 ImageTarget World center issue

September 15, 2021 - 6:06am #8

I also have the same problem. It can not be a setting problem? I tried it with both Vuforia 10 and 9 on a HoloLens 2. It's really messy.

When do you plan to solve the problem? Will it work this year?

Thank you very much!

Can confirm

September 7, 2021 - 11:48pm #7

Can confirm tracking offset with Vuforia and OpenXR.
The offset seems to be random or at least dependent
on when and where the image comes into sight.
Orientation seems to roughly match, but location is offset by
anywhere between a few centimeters and a couple of meters.

Setup:
Unity 2020.3.17
Vuforia 10.1.4
MRTK 2.7.2
OpenXR 1.2.8
(for Hololens 2)

Hololens2 ImageTarget World center issue

August 30, 2021 - 6:34am #6

Hey there,

 

First of all, I'm sorry that all of you are currently being affected by this issue. It's recognized and look at internally by our R&D team.

In the meantime I am trying to find out if we can provide a temporary solution for all of you working with OpenXR.

 

Kind regards,

Patrick Scheper

Technical Community Manager

Hololens2 ImageTarget World center issue

August 30, 2021 - 6:02am #5

I have the same issue and would really appreciate some reactions from PTC. The problem is probably easily fixed, it's just an offset from the original position, depending on the distance between user and target, as it seems to me. Since we have to switch to OpenXR, a quick solution would be great!

 

 

Hololens2 ImageTarget World center issue

August 6, 2021 - 8:47am #4

I am also having issues with OpenXR and vuforia, when using model targets. Since Windows Mixed Reality is not recommended for new projects I hope that this is being looked at.

Hololens2 ImageTarget World center issue

August 6, 2021 - 5:43am #3

Hey there,

Until now! I've seen multiple requests pop up and I have been seeing internally if anyone has tried integrating OpenXR. I cannot say for certain why this issue occurs, but it seems to be constantly regarding drift and offsets. Anyone else that runs into this issue, it would be helpful to comment in this same thread. Also any other findings or solutions are appreciated!

Hololens2 ImageTarget World center issue

August 5, 2021 - 8:06am #2

Hi,

I have the same issue, using OpenXR and I had to switch back to Windows Mixed Reality. As it is marked as deprecated, it is a shame, that the issue still exists and there is no answer from PTC.

Log in or register to post comments