Log in or register to post comments

Vuforia 6.2.10 + Unity 5.6 + Hololens demo sample + ObjectTracking

April 3, 2017 - 11:49am #1

1. After updating project to the new Unity version (5.6) the Y-axis transform on the ObjectTarget is inverted when app is running on Hololens.

This bug can be reproduced in 5.6 Unity + Hololens demo sample.

 

2. Also we saw, what tracking ObjectTarget was jittering in the near distance (40-50 cm)  for no apparent reason, when the target is shifting to the left and right.

But the tracking was fine at long distances (50-120 cm)

This bug can be reproduced in 5.5 Unity + Hololens demo sample.

Vuforia 6.2.10 + Unity 5.6 + Hololens demo sample + ObjectTracking

April 7, 2017 - 2:32pm #8

Hello,

I would suggest doing a performance evaluation with Extended Tracking enabled. This utilizes Vuforia for object recognition, and HoloLens for tracking. I believe you will see a performance improvement.

Thanks.

Vuforia 6.2.10 + Unity 5.6 + Hololens demo sample + ObjectTracking

April 7, 2017 - 10:54am #7

We don't use Extended tracking in this demo.

 

Our settings:

World center mode -> First Target

Camera Device -> MODE_OPTIMIZE_QUALITY

MAX Track Objects -> 1

Video Background -> Disable

Device Tracker -> Disable

Smart Terrain -> Disable

----------------------------------

Extended Tracking -> Disable

Preserve child size -> Disable

Vuforia 6.2.10 + Unity 5.6 + Hololens demo sample + ObjectTracking

April 7, 2017 - 9:53am #6

Hello,

Thanks for the helpful video. Can you confirm that Extended Tracking is enabled for the target?

Thanks.


Vuforia 6.2.10 + Unity 5.6 + Hololens demo sample + ObjectTracking

April 7, 2017 - 9:17am #5

Many thanks for your help.

About second question [ jitter ].. Here is video with reproduce bug.

https://youtu.be/l-_zN8p5XDQ

 

At first, we thought that the problem is related to infrared reflection.. But our research has not proved this.

Perhaps this is due to the accuracy and floating point operations.

Vuforia 6.2.10 + Unity 5.6 + Hololens demo sample + ObjectTracking

April 6, 2017 - 12:53pm #4

Hello,

After additional investigation we believe the issue is a Unity bug introduced in 5.6:

https://fogbugz.unity3d.com/default.asp?899019_35ajcff7iq4voloc

The previous workaround posted that involved updating the Quality Settings for a Unity project is superseded by the following:

  1. Open the Unity 5.6 HoloLens project
  2. In the Hierarchy view, select "HoloLensCamera"
  3. In the inspector, deselect the "Allows MSAA" option (see attached screenshot)

Thanks

AttachmentSize
Image icon Deselect MSAA in HoloLensCamera83.4 KB

Vuforia 6.2.10 + Unity 5.6 + Hololens demo sample + ObjectTracking

April 5, 2017 - 12:00pm #3

Hello,

After some investigation, we have found a workaround to the "Y-axis transform on the ObjectTarget is inverted when app is running on Hololens" issue you raised:

  1. Open the 5.6 HoloLens Unity project
  2. Open Edit->Project Settings->Quality
  3. Under the Windows Store build icon, deselect all Levels except "Good" (see attached image)

Now build and run your application. You should see that the object rotation now matches the rendered augmentation.

We are still looking into the source of the error (Unity 5.6 or Vuforia), and will update this thread with any additional information.

Thanks.

 

AttachmentSize
Image icon Example Quality Settings21.72 KB

Vuforia 6.2.10 + Unity 5.6 + Hololens demo sample + ObjectTracking

April 3, 2017 - 5:55pm #2

Hello,

Thanks very much for the report. I was able to recreate the issue you've observed. I'll update this thread if any new information is available.

For your second observation, I'm wondering if you have Extended Tracking enabled?

Thanks.

Log in or register to post comments