We’ve had some discussion about that in another thread, seems like an issue with GCam in low-light situations. It’s working fine if the environment is well lit.
There might be a setting in GCam that needs to be changed
It’s working without issues in OpenCamera, so it seems to be GCam specific. You might want to switch to OC in the meantime, if you often use it in low-light conditions.