google-ar / arcore-android-sdk

ARCore SDK for Android Studio
https://developers.google.com/ar
Other
4.95k stars 1.22k forks source link

All camera confiurations are set to DO_NOT_USE #1575

Open maxgurka opened 1 year ago

maxgurka commented 1 year ago

SPECIFIC ISSUE ENCOUNTERED

I'm using a Samsung Galaxy A80, which has a depth sensor that according to the documentation is supported by ARCore. When calling Session.getSupportedCameraConfigs() and passing in a filter that has depthSensorUsage set to REQUIRE_AND_USE, no configurations are returned. When I don't set the depthSensorUsage in the filter I get 3 available configurations back. I'm assuming that ARCore doesn't recognize that my phone has a ToF sensor.

VERSIONS USED

ADDITIONAL COMMENTS

I had the same exact problem when using Unity instead of android studio.