UE5: “Landscape Physical Material Needs to be Rebuiltׂ 1024ׁ”

Hi .
Ue5.0.3
I get this error Landscape physical material need to be rebuilt(1024objects).

I can’t fix it. I’ve already tried a lot of things.
Rebuild doesn’t help either. I couldn’t find anything on the internet.
Can someone help please?

Screenshot 2022-09-11 180433

Hello michaelmagic97, than you for posting your question.

Would you mind elaborating on what you rebuilt exactly? I was a little confused, I apologize. Generally when I need to rebuild landscape-related materials, I would go to Build>Build All Landscape. I noticed that once I paint (even a little more) I would have to rebuild again.

I look forward to your reply.

1 Like

Thank you for your reply. I don’t know why but when I click to Build>Build All Landscape, it doesn’t do anything and it shows me the map check. And it does not perform the Build itself.

Does anyone know how to solve this please?

Hello,
I am having the same exact issue. Can SOMEBODY PLEASE solve this?

1 Like

I have fixed the issue by changing engine code
follow is the solution

Lnadscape.cpp

you will find the code below

LastBakedTextureMaterialGuid = BakedTextureMaterialGuid;
LastSavedPhysicalMaterialHash = PhysicalMaterialHash;

this two valuable only set in giseditor, not with editor

Hi, I’ve found these 2 lines of code, but what exactly should I do about it? Thanks.