Log in or register to post comments

Ground Plane not working on device with AR Core installed

May 19, 2021 - 6:12am #1

Hello,

My ground plane app shows an error that device was unable to start positional device tracker and that Ground plane is not supported. The device is Samsung A51 and Google Play services for AR is installed and updated to the latest version. I am using Unity 2019.4.26 and Vuforia version 9.3.3. I have also set device tracker to Optional and checked include AR Core under Vuforia Configuartion. I am building for Android 11.

I then installed the apk on redmi 7 pro and there was no issue. How do I check in the build if Vuforia has included ARcore library? I used a script on the Redmi device to detect if Platform Sensor Fusion is enabled :

FusionProviderType trackerType = VuforiaRuntimeUtilities.GetActiveFusionProvider();

  Debug.Log(VuforiaRuntimeUtilities.GetActiveFusionProvider());

  if (trackerType == FusionProviderType.PLATFORM_SENSOR_FUSION)

  {

   textObject.text = "ARCore is used";

  }

  else

   if (trackerType == FusionProviderType.VUFORIA_SENSOR_FUSION)

  {

   textObject.text = "VSLAM is used";

  }

  else

  if (trackerType == FusionProviderType.VUFORIA_VISION_ONLY)

  {

   textObject.text = "Vision Only is used";

  }

The script showed that Vuforia had enabled Platform Sensor Fusion. Why is it that the app fails on Samsung A51 when it is in the list of ARcore supported devices?

Is there any method to get rid of the Ground Plane not supported error message and activate positional tracker? Our app is ready for publishing and not getting Ground Plane on AR core supported devices is a cause for concern.

 

Thanks in advance.

Rajeev

Ground Plane not working on device with AR Core installed

May 25, 2021 - 4:40am #5

Hello Rajeev,

thanks for your feedback!

One point will be to identify if a device is supported. There was a suggestion from dev team

you can do two things (pseudo-code):

if your experience relies on a DeviceTracker, or you'd like to use features that demand for a platform-provided DeviceTracking (such as Area Target), you can enforce a specific Fusion-tracker, by setting: setAllowedFusionProvider(FUSION_PROVIDER_PLATFORM_SENSOR_FUSION);, try to call Vuforia::init(), if it fails - you know it's not available and you may inform user that this device is not compatible, OR

you do it the discovery way: you call Vuforia::init() with setAllowedFusionProvider(FUSION_PROVIDER_ALL); (which is the default), and after successful initialization you figure out what Fusion-provider could be activated in practice using getActiveFusionProvider(). Depending on that your app could follow different paths, provide different experiences based on device capabilities.

Both ways are valid, it really depends what you are trying to achieve. If your app cannot live with the platform tracker #1 is straight-forward. If you'd like to provide the comfort of graceful degradation - #2 is the way to go.

So, this above should check if the device will be capable to use  FUSION_PROVIDER_PLATFORM_SENSOR_FUSION -where the ground plane should work , or not

- Your mentioned the Samsung Galaxy A51 device.  Are there other devices where where you have an issue with the ground plane?

-What I could do - I will report this issue to the vuforia dev team. Unfortunately no all possible world wide used devices are available for  development  and QA tests. Therefore I am not sure when the dev team will be able to test this issue on A51 and respectively  to fix it - if problem could be reproduced e.g. with the Vuforia Core Examples

BR

 

Ground Plane not working on device with AR Core installed

May 21, 2021 - 2:07am #4

Hello Roland,

Thanks a lot for taking the trouble to look into my issue. I created a scene for Image Targets and tested it on the Samsung A51, and it worked just fine. I have tested Vuforia Image Targets on several devices over the years and have faced issues with very few devices. The list of Vuforia Recommended Devices is mostly focused on Samsung and it seems that I will be unable to use Ground Plane in my app, given the vast number of Android devices that are being used the world over.

I have put in a lot of time and effort in developing an app using Ground Plane as I believed that AR Core supported devices would also work. 

Thanks for your inputs,

Warm Regards,

Rajeev

Ground Plane not working on device with AR Core installed

May 20, 2021 - 8:25am #3

One significant test on this device could be to test a sample Google ARCore app like ARCore HalloAR.app . This will ensure that on this device tthe ARCore native api is working. Example - test with ARCore GR app on Samsung S9+. Here on this example we can verify that plane detection for the ARCore API is working. Could you verify that ARcore app is working correct?

AttachmentSize
Image icon 2021-05-20_17-19-21.jpg57.46 KB

Ground Plane not working on device with AR Core installed

May 20, 2021 - 7:04am #2

Hi ,

he samsung Galaxy A51 A515F/XX - https://en.wikipedia.org/wiki/Samsung_Galaxy_A51 and https://www.samsung.com/uk/smartphones/galaxy-a/galaxy-a51-black-128gb-sm-a515fzkveua/ )

First I checked in Supported devices for Vuforia Engine  and the device seems not to be mentioned there- possibly it was not vaidated yet   Status not officially supported - means it could work abut it could cause some issues e.g. as your mentioned

So according to metion above Supported devices for Vuforia Engine :"Advanced features, such as Model Targets, Area Targets, and Ground Plane require support for the positional Device Tracker using Vuforia Fusion. Below is a list contains recommended devices that are enabled via Vuforia Fusion, either by supporting their respective platform provided device tracking technology ARKit/ARCore, or they have been calibrated by Vuforia to support VISLAM."

Yes , checking the ARCore supported devices  tARCore supported devices  the A51 is supported which is an important requirement but not equivalent for support. ->other related links Supported Versions and Ground Plane

On the  A51 - I s the issue related only for the Ground plane issue or  it occurs with other vuforia features and is a general  problem with Vuforia on this device? As reference could be a test with the Vuforia Core examples -  when you test on this device the Vuforia Core examples  scene - 3-Ground Plane is the issue reproducible?  but also you can test other scenes e.g. 3-ImageTargets to see if there is also an issue with other features. 

I could check with R&D team if there any know issues.

BR

Vuforia Engine Support

Log in or register to post comments