"Your First Game in Unreal Engine 5" tutorial, painting texture layers makes the texture go away

I was following the “Your First Game in Unreal Engine 5” tutorial. I got to the part where I create a landscape material, add the layer blend and create layer info for the Sand and Grass layers. After that I am supposed to paint the Grass, but when I try to paint that entire section completely loses texture.

Hey there @Svartidauthi! Welcome to the community! Does the tutorial go over setting the materials sampler source to shared:wrap? As this is usually the cause of this issue.

1 Like

Thank you very much for your help.

When I googled for solutions to my issue, this solution kept coming up, but I couldn’t for the life of me find where to set that option. So I open up the editor to try to orient myself by the screenshot you posted and then I saw what the issue was.

At the point I was in the tutorial it was not using actual textures, just a Constant3Vector. I accidentally created a Constat4Vector instead for the layer I was trying to paint. When I replaced it with the Constant3Vector it worked.

1 Like