1. What model phone do you have specifically? Is it the S20 FE you're talking about?
2. FYI Try submitting and error report through the Samsung Members app for software issues
3. Have you tried clearing your gallery / camera app cache and data? Press and hold the app > more info > storage > Clear data / Clear cache
Sent an error report, but was curious if anyone else is experiencing this.