Face ID is not Available
After e recent iOS update on iPhone X Face ID stopped working all of a sudden. Whenever I try to set Face ID I get to the screen that opens the camera and says "Position your face" and then it says "Face ID is not Available, Try setting Face ID later".
Also the problem shows in the front camera, specifically in Portrait Mode it keeps saying: "Move farther away" and is also very dim compared to the regular photo mode.
I tried resetting the settings, factory resetting the device and even full iTunes restore.
Any ideas what could be causing this?
iPhone X