Artifacts in my render but not in viewport

The clue lies in the warning message on the top left corner of your editor window:

You’ll need to look into optimization and/or virtual textures. There are many resources available here and elsewhere online. Perhaps, start here:

Texture streaming pool over budget - Platform & Builds / Debugging, Optimization, & Profiling - Epic Developer Community Forums