Camera won't work in Unity

On my raspberry pi I am running android 10, I have Nuitrack installed and the camera is found and works fine. I have built an android game in unity and when I downloaded the app to the pi the camera won’t turn on or activate for the game. I have tested the game in the unity editor and it runs fine as well. Does anyone have a solution? Is there something in my settings I need to change to allow the game to pick up the camera’s presence?

Is it the fact that I need to use Android 8 or earlier?