Masked Material & Nanite lead to hole artefacts in 5.4.3

Having problems with masked materials that are used on nanite objects in 5.4.3. I am getting hole artefacts inside my meshes. Here is how it looks like:




In my particular case, I am using masked materials on tree trunks from various content creator.

To be sure, the problem is not coming from specific materialfunctions, I created a completely blank material which is set to masked & has a constant value of 1 plugged into the “opacity mask”-input. When putting that material on a nanite-enabled object, the hole-artefacts start happening from various distances.

Does anybody has an idea why that is happening? Is it even an engine bug? Because in 5.3.2 that artefact is not appearing.

Hi !

Fix available here :
https://github.com/EpicGames/UnrealEngine/commit/53e0e97e5ecb4e820b24f0b441cafba99220c485

You’ll need to update the shader manually though as it was not deployed in release.

by Regards,
Greg