Just for the test:
Make a complete TWRP backup.
Wipe all and install miui 12.5.5 again. Just test fingerprint sensor. If it works, then you have to make new install and restore apps. If not, bad may be defective camera.
After tests, wipe and restore backup