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
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.