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!