No valid camera configuration found

Include the following details (edit as applicable):

  • Issue category: Lightship Maps / Semantic Segmentation / ARDK Documentation / Unity Example Package / ARDK Virtual Studio Tools / Developer Tools / Scanning Framework
  • Device type & OS version: Android
  • Host machine & OS version: Mac / Windows
  • Issue Environment : On Device
  • Xcode version:
  • ARDK version:
  • Unity version: 2022.3.20f1

Description of the issue:
I am using basic AR Foundation face detection and my project contains Niantic ARDK 3.11
the face detection fails, and I constantly get “NO VALID CAMERA CONFIGURATION FOUND” in device logs.

Hello Hassan,

Are you able to get face detection working if you remove ARDK 3.11? Looking to see if it’s an issue when introducing ARDK 3 into ARFoundation or if it’s an ARFoundation issue

I am able to get face detection working if I am only using AR Foundation, its pretty easy to do that.

I just tested using Unity 2022.3.57f1 and it appears to work fine for me when using AR Foundation as a dependency installed by ARDK.

Are you using any of our ARDK features when also attempting to use Face Detection? If so, which ones?

My unity version is 2022.3.20f1
I am using Niantic Lightship Maps in one scene; this scene then takes me to another scene where I am using AR Face Detection

Ok, so in this new scene, where you’re trying to use face detection, are you using any ARDK features such as semantic segmentation, object detection, etc…? Some of these features currently don’t work with the front-facing camera, so that can be what’s causing issues if you’re attempting to combine face recognition with these kinds of features. If this isn’t the case and you’re only using Face Detection, are you able to provide some of the logcat output so that I can have a look as well?

I also want to point out that Maps is separate from ARDK and isn’t a feature of ARDK; Maps can be run without ARDK. If you’re only using Maps and have no need for ARDK’s AR features then you can use Maps and AR Foundation instead.

No Sir, I am not using any ARDK features in that scene.

I am using video segmentation but that’s a separate plugin. To rule it out as a blocker, I made one new empty project in unity, Imported ARDK and AR Foundation, made one simple scene for face detection

After building APK it gave me the same error as it was giving before.
" NO VALID CAMERA CONFIGURATION FOUND "

By face detection, I mean using selfie (front-facing) camera to detect user face and create a base mesh on it that can be later used for making snap-chat like filters e.g. spiderman mask on human face

@Jesus_Niantic ???

Hello,

Sorry for the delay. Can you share logcat output of the project? I want to take a look to see what other messages are being printed out

Nvm, I fixed it.

Hi Hassan,

Thanks for the update, glad you were able to get the issue sorted out.