Android 10 Unity Game

Can anyone help me on figuring out why the camera won’t turn on. I created a unity game for android and it runs fine in the editor. I’m running Android 10 on a raspberry pi 4 and have nuitrack working on the pi. When I launch the game however, the camera won’t turn on.

Dear Tyler Do.

For Android 10, you need to add permission for the Camera.
Unity must explicitly request permission for the camera.
Also add this Permission to Manifest.xml.

Sample script for getting all the necessary permission:

1 Like