Material with odd square artifacts

Hey Unrealers!

I’m encountering a strange issue with my material—it shows odd square artifacts (as seen in the attached image), which seem to appear and change randomly depending on the distance.

I believe the problem started after upgrading the project to Unreal Engine 5.1 or 5.2.

Details about the issue:

  • No Overlapping Meshes: Only one mesh is used, so Z-fighting isn’t the cause.
  • No Decals: The issue isn’t related to decals.
  • Material Complexity: The material uses multiple textures and depends on virtual texturing.
  • Nanite Enabled: Nanite is enabled on the mesh.
  • Virtual Texturing: Virtual texturing is enabled.

Has anyone experienced a similar issue or have any insights into the possible causes and solutions? Any help would be greatly appreciated!

Thanks in advance!

Have you checked r.VT.Borders 1 if it is a streaming issue?

Hey Pixel_Punk

Thanks, It seems to be related to virtual textures. I tried converting all maskmaps and multimaps texture back to regular textures, and that worked — it’s functioning now. However, I don’t think that’s a proper solution. I’d prefer to use 100% virtual textures in this project, but that will have to wait for now. I’ll update this post if I find a proper solution in the future.