Log in or register to post comments

Unity - Android - Camera permission denied error message

January 14, 2019 - 8:44am #1

Using Unity 2018.2.5f1 + Vuforia 7.5.26 on Samsung Galaxy S9+

When starting my app, I deny the camera permission request. The class DefaultInitializationErrorHandler.cs receives the error -1 which mean "INIT_ERROR".

The vuforia documentation (this) clearly says: -3 -  "INIT_NO_CAMERA_ACCESS" - App does not have camera access permission

This is not yet a blocker for our next build but our QAs are asking questions on that matter.

 

Bug: when denying camera permission, i get error code -1

Expected result: when denying camera permission, i should get error code -3 as mentionned in the vuforia documentation.

 

edit: I just saw that this is an actual known issue in the latest Vuforia 8.0.10 release notes

"Initialization fails to return INIT_NO_CAMERA_ACCESS code when camera permissions are denied on Android and UWP."

Log in or register to post comments