Error CameraManagerGlobal Camera 4 is not present. Ignore physical camera status change

0 votes
asked Nov 28, 2024 by xavipow (120 points)

Hi all.

I have this error on a redmi note 12. 
Error CameraManagerGlobal Camera 4 is not present. Ignore physical camera status change

I try to change the camera by index in the editor and by code to 0, but always throws this error with camera 4 (I never accessed it in other applications...)


When i run MotionTrackerCameraDevice.isAvailable(), it returns true

It works fine in other android devices, like a samsung that i got ...

I use EasyARSenseUnityPlugin_4.6.3+3029.cb846598 and unity 2022.23.50f1

1 Answer

0 votes
answered Jan 29 by pebitech00 (220 points)

The error suggests that the Redmi Note 12 is not recognizing or properly initializing the camera with index 4. Try clearing the app's cache or resetting the camera settings on the device. You can also try setting a specific camera index (e.g., 0) directly in the code and ensure that no other apps are using the camera. Additionally, check for any device-specific camera permissions or hardware compatibility issues.

South Africa vs Sri Lanka
Sri Lanka vs Netherlands
New Zealand vs Afghanistan
Pakistan vs Bangladesh
Bangladesh vs Sri Lanka
Pakistan vs New Zealand
New Zealand Women vs Pakistan Women

Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...