Debug Degenerate Geometry

Hello, I’ve recently begun experiencing this error appearing consistently in my project:

I’m using a pretty standard setup utilizing the FollowerEntity. Is there a good way to debug where this degenerate geometry is? Or which entity is experiencing this issue?

I’ve removed all instanced of NavmeshCuts from my scene, so the graph shouldn’t be updating at runtime to create any bad geometry.

I’m using v5.1.1 and Unity 2022.3.21f1.

Hi

That’s strange. If it happens, it should happen consistently around a single location in the mesh? Are you seeing that?

Unfortunately my level was big and had a lot of units, so I couldn’t really determine where it was happening. That’s why I was hoping to log some additional information to figure that out.
Since then I reduced the size of my mesh and reduced the number of units and the error has gone away for now.

I have seen the degenerate geometry warnings a number of times but just got the infinite loop error today. It caused my FollowerEntity to be unable to pass through an area until I removed the navmeshcut that caused it.

It was in a consistent location, but I can’t see why that one location has the issue since the whole scene is flat. Are there any ways to avoid or handle this problem?

I’m working on an update to make navmesh cutting much more robust. Hopefully this will be resolved by that update.

1 Like