Negative obstacle navmesh

I have created a Navmesh for a level with some holes in the floor and I would like the holes to be treated as obstacles.

I have tried changing the navmesh step up height and agent radius and height as well as the cell size. However it seems the holes are always treated as navigable regions.

Is there a way to mark holes as obstacles automatically?

Hello!
You may apply a NavModifierVolume whit navigationArea set to null.

Hope it helps.

Okay cool that does seem to work, but that means I would have to manually block out each hole correct?

You can create a hole actor with this volume as a component, you can also add everything to this actor… a trigger volume component to fire off events, drive animations, a particle…
I think it will be the best approach

If your floor is flat you could have one large nav modifier below the level of the floor encompassing all the holes.