I've the S20 Ultra and the camera has vastly improved with all the latest software and security updates. Have you tried clearing the camera app cache? Might make a difference as I really have no issues whatsoever with mine. In fact it's so good that I haven't bothered upgrading to the S21 Ultra this time.