For some reason durable mode causing the camera service to die after a while. The logs shows something like this.
2022-05-08 23:00:17.743 1428-21997/? E/Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Connection timed out (-110)
2022-05-08 23:00:18.744 1428-21997/? E/Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Connection timed out (-110)
2022-05-08 23:00:19.744 1428-21997/? E/Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Connection timed out (-110)
2022-05-08 23:00:20.745 1428-21997/? E/Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Connection timed out (-110)
2022-05-08 23:00:21.148 1428-21997/? E/Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: No such device (-19)
I was on dynamic mode for a few days and when I tried durable, the face unlock no longer works until restart the device.
For now avoid using durable mode. Stay on dynamic