Log in or register to post comments

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

August 28, 2018 - 7:52am #1

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

AttachmentSize
Image icon LogOutput.png122.33 KB

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

August 28, 2018 - 10:55am #3

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

Removing the "core-1.x.0.aar" file fixed my issue, since with our project, we aren't using any ARCore functionality alongside Vuforia so there was no point in having it.

 

Cheers,

azevedco

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

August 28, 2018 - 10:35am #2

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.

Thanks,

Vuforia Engine Support

Log in or register to post comments