Mesh looks weird when rendering

I’m making a video in unreal engine 5.6. My mesh and texture basically everything looks right in the viewport. But as soon as I press render this is what it looks in the render preview and the final output as well. How to fix this. Im rendering with path tracing.

looks like it just needs more samples and denoising.

r.RayTracing.Nanite.Mode 1

Use game overrides in the render settings

Are you pathtracing? If so it needs a lot more samples.