Log in or register to post comments

SmartTerrain cannot be initialized when Vuforia Fusion uses the vision-only provider

February 22, 2021 - 11:11pm #2

Hi,

      I have Unity 2019.4.3f1 and installed Vuforia Engine AR(9.4.6) via Unity Package Manager.

 

When the application runs on Google pixel 4(Android version 11)and start the ground plane, i get following exception on Android Logcat:

"Smart Terrain cannot be initialized when Vuforia Fusion uses the vision-only provider"

 

I understand that Google pixel 4 is not available in Vuforia supported devices list. But google pixel 4 has AR core support. I dont know why i'm not able to initialize ground plane(smart terrain).

As per vuforia fusion documentation:

"In cases where the parameter flag does not modify the FUSION_PROVIDER_PLATFORM_SENSOR_FUSION bitwise value, the setAllowedFusionProvider can be set after Vuforia Engine initializes but before any trackers are initialized. In cases where the flag does modify FUSION_PROVIDER_PLATFORM_SENSOR_FUSION, the setAllowedFusionProvider must be set before Vuforia initializes."

 

I  set the VUFORIA_FUSION_PROVIDER_TYPE to FUSION_PROVIDER_ALL before and after vuforia initialization.

I'm trying the below code before vuforia initializes

"Vuforia.VuforiaRuntimeUtilities.SetAllowedFusionProviders(Vuforia.FusionProviderType.ALL);"

But I don't understand, why the FusionProviderType is always "Vuforia_Vision_Only".

Why is not FUSION_PROVIDER_ALL set by default?

Please reply me with a solution, so that ground plane works on all ARCore supported android devices.

 

 

 

SmartTerrain cannot be initialized when Vuforia Fusion uses the vision-only provider

February 23, 2021 - 2:04am #1

Hi,

Indeed very strange, I agree with you that it should work as Pixel 4 is supported by ARCore.

Unfortunately I do not have the device, could you please let me know if this is reproducible with the core sample apps? Try running the GroundPlane scene.

Thank you.

Vuforia Engine Support

Log in or register to post comments