Log in or register to post comments

Vuforia 8.3.8 can't detect multiple plane surfaces?

August 30, 2019 - 12:00pm #1

Unity version: Unity 2019.2.2f1

Vuforia version: Vuforia 8.3.8

Test Device: Google Pixel 2 XL

I've set up a simple scene in Unity to test out the ground plane detection on my device. In the editor I got it to work by printing out the ground plane image and positioning it on the ground, Vuforia had no problem detecting that image and emulating the ground plane based on that. However when making a build to my device, it does detect the ground plane, but then if I aim the camera at another flat surface, let's say a table, then tracking is completely lost and it can't detect any other surface, but then pointing back at the ground would work again. So it only works on the first surface it detects, and then it just looks for that surface only. If I pointed it at the table first, then I wouldn't be able to detect the ground because it would remember the table as the ground. I'm not sure if this is the intended way for this to work or if I am implementing something wrong.

Sometimes I would launch my test app and right on launch, it would quickly detect a surface (the wrong surface) based on a zoomed in view of the table, but then if I move the camera around and try to aim at the ground to get that detected, it wouldn't detect it at all, it's as though it thought the first (false) planar detection is the right detection and then it would only look for that, and even pointing at the table again wouldn't work, I would completely lose tracking...

I played around a bit with the ARCore requirement setting, it had no apparent effect on this.

I am also facing another weird issue, when I can actually detect the ground plane and then place an object on it, sometimes the plane detection flickers and starts jumping back and forth between 2 positions, making the placed object start jumping around as well and growing/shrinking in size randomly. This is an AR-breaking issue for me and my project, I hope someone here can help.

View video demo here: https://streamable.com/7tm0s

This is a video that shows everything I explained here, I've pretty much followed Vuforia ground plane detection tutorial, nothing more. At the end of the video you can see how the placed object suddenly gets much bigger, due to the plane detection flickering and either moving the anchor much closer to the camera, or moving the camera much closer to the anchor, not really sure what's happening here but I know for a fact that the objects scale is not changing, it is simply its distance from the AR camera that is changing.

Looking forward to hear your answers, thanks!

Vuforia 8.3.8 can't detect multiple plane surfaces?

September 3, 2019 - 5:28am #3

Hi,

I've used the same setup as you. Unity 2019.2.2 with Vuforia 8.3.8.

In order to test the Groundplane feature with 8.3.8 I have downloaded the Vuforia Core Samples apps from the unity asset store. In my test, plane detection worked as expected switching automatically from ground to table.

Could you please test the feature on your device with the Core sample app?

Thank you.

Vuforia Engine Support

 

Vuforia 8.3.8 can't detect multiple plane surfaces?

August 30, 2019 - 12:39pm #2

I managed to fix these issues by downgrading to Vuforia 8.1.12 - it seems these are issues directly related to 8.3.8

Log in or register to post comments