"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

[Android] Requested Focus Mode not supported on this device.

Hi,

Trying to fix an issue i'm experiencing with setting the focus mode on my Google Pixel 2 XL Android Device.  Using a third party tool to output console messages on built applications on my device, it's stating that attempting to set the Focus mode to "FOCUS_MODE_CONTINUOUSAUTO" is "not supported on this device" and then it attempts to fall back and set the Focus mode to "FOCUS_MODE_NORMAL" which funny enough says that it's not supported on this device to do so.

 

Currently utilizing the "CameraSettings.cs" script that came with Vuforia.

I had attempted this with the file "core-1.3.0.aar" set in Assets/Plugins/Android which led to a failure.  Attempting with "core-1.4.0.aar" yielded similar results.

Current version of Vuforia is 7.2.24.

The version of Android running on my device is 9(Pie) but i've tested with the previous version to this and still failed to set the Focus Mode.

Version of Unity being used is 2018.2.1f1.

 

Any help would be much appreciated!

Cheers,

-azevedco

Hello azevedco,

These focus modes are not currently supported when ARCore is active with Vuforia. ARCore added autofocus functionality in version 1.4 and we will be integrating that into our SDK in the next major version of Vuforia.

Apologies for the inconvenience.

Hi Strasza,

 

Thank you for the response.  Just happy I can put my arduous research to rest, haha.  Looking forward to the update!

Just making an update to this thread incase anyone else with a similar issue comes across it...

Attachment