Preserve Area Bug - any solutions?

When I enable nanite and preserve area (UE5.2) on some dense foliage assets, I notice dark surface spikes or triangles when viewed from a distance. Switching off preserve area clears the issue, so I assume it is related to that. Just wondering whether anyone knows of a work around where I can still use preserve area?

Screenshot 2023-12-12 103522

1 Like

I’m having the same issue. Did you ever resolve it, by any chance?

edit: okay, I believe I actually solved this. So this issue seems to happen with bits of the mesh that are especially dense or where lots of geometry is intersecting. There is a setting within the Nanite settings of the mesh that is called “Max Edge Length Factor”. This value can be used to define the max pixel distance between vertices in the Nanite mesh. The default value for this is set to “0,0”, which means it is inactive, but by dialing it up to 2 or 3 we can force the Nanite mesh to always make sure that there are at least 2 pixels of distance between each vertice. This in turn means that all of the oversimplified triangles should be gone.
It fixed the issue in my case. :slight_smile:

2 Likes