The quality decreases significantly when building.

We’re experiencing issues when building our project. The quality of the project decreases significantly, and we want to achieve the same quality as when we’re in the Unreal Editor. We suspect the issue may be related to anti-aliasing. We don’t have much experience in configuring it, as this is our first project. Thank you in advance for any help.
The building:


Unreal engine 5.3 Preview: