Black horizontal lines and dots on landscape after packaging

So, basically I have just reinstalled windows and wanted to make a new project, but every time I package a game strange black lines will appear on the landscape material (and nowhere else). In the editor viewport it looks fine, but when I launch the game in standalone mode it says “landscape: physical material needs to be rebuilt”. I tried the “Build>Build All Landscape” but it finishes in 0.1seconds and the error still stays. For this example I didn’t change any of the project settings (I used the ue first person template, created a new map, created a default landscape, and painted with the material instance), I also included my basic material that I used for the landscape.

The first thing I did was that I installed the latest GPU driver (RTX3060 notebook version 531.79 GRD), then visual studio 2022 community edition with all the cpp and .net workloads and then UE5.2.

What am I missing? Before my windows reinstall everything worked just fine and I don’t think I did anything else differently. I found a similar issue on the ue forums while searching but there weren’t any answeres. (Issue with landscape textures after building for windows)



1 Like

Changed the SetMaterialAttributes to MakeMaterialAttributes and the balck lines were gone completely. I don’t know what caused the issue with the other one.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.