AR camera lost after Android device use front-camera to authorize my face to unlock phone

  • Device type & OS version: Android/ iOS
  • Host machine & OS version: Mac
  • ARDK version: 2.5.2
  • Unity version: 2022.3.4f

I open AR camera in unity app to using meshing scanner. Then, I let the app to background, lock my Android device

After a few seconds, I unlock by faceId authentication of my Android device, then, open unity app again. I recognize the AR camera was not opened, just leave a black screen with no signal, other game objects is still working.

I guess the AR camera was deprived by system camera to use in authentication when I unlock device.

I take time to find the way to resolve this but did not yet.
Anyone who face with same issue, can you help me to clear this situation?

Thanks for help

Hey Khang,

Let me have a look into this and get back to you. I want to clarify what you mean by meshing scanner. Are you referring to the Scanning Framework or our actual meshing feature?

Hi Jesus,

Yes, I’m using your meshing feature (ARMeshManager)

Hey Khang,

Thank you for your patience. I tested this out on ARDK 2.5.2 as well as ARFoundation and ARDK 3 which integrates with ARFoundation and found that this only happens with 2.5.2 so it’s likely a bug which I will be reporting.

In both ARFoundation and ARDK 3 the ARSession would either resume or restart after attempting to reproduce the issue rather than freezing.