Log in or register to post comments

Unity - Android - Image Target - World drift and rotate

November 9, 2018 - 5:10am #1

Using Unity 2018.2.5f1.

VuforiaConfiguration: tracking mode positional, optimize for Image target, track device pose ON.

Since we upgrated Vuforia to 7.5.26, we have a new serious issue on Android only, iOS still working as a charm.

It looks like the extended tracking sometime fall into a weird state after moving/rotating the mobile quickly. Instead of losing the tracking as usual, the 3d world slowly rotate and drift even if the mobile isn't moving a bit. At this point, I have to really make sure I lose the tracking and look at the image target closely to fix it. We do not have any code that would move/rotate the world like that.

I was about to downgrade to 7.2.24 but since Unity announced that they are upgrading to 7.5 themselves from ~2018.2.13, I don't know what to do. Our devs/QAs are reporting the issue and I can't give them any ETA.

Please help!

 

Unity - Android - Image Target - World drift and rotate

November 9, 2018 - 7:37am #2

TIL that even if you have

- Vuforia platform support

- Vuforia 7.5.26

- VuforiaConfiguration properly configured

- An ARCore compatible device

- Unity 2018 and +

 

* You do not have ARCore enabled yet *

 

You MUST download the ARCore library and put it in Assets/Plugins/Android.

ARCore lib link: https://library.vuforia.com/content/vuforia-library/en/articles/Solution/arcore-with-vuforia.html

Note that even if the page refers to Vuforia 7.2, it also apply to 7.5. The provided library link in the page refers to ARCore 1.3 but to this day, you should get at least ARCore 1.4 ( https://dl.google.com/dl/android/maven2/com/google/ar/core/1.4.0/core-1.4.0.aar )

 

Log in or register to post comments