And you clicked Save in the material editor afterwards? Works for me. See screenshot below, which is from a brand new 4.25.3 project.
What version are you using of UE?
Does clicking Build result in any useful information about it?
Can you provide another screenshot of the buildings and the Details tab so I can see which roof type has the problem?