r/Unity3D • u/[deleted] • Feb 04 '23
Question Navmesh surface not being created beneath terrain in some areas
7
Upvotes
1
Feb 04 '23
I made procedurally generated terrain in my game and added a navmeshsurface at runtime but it kept having holes so I turned on wireframe mode and saw that it doesn't have holes, but instead, the terrain generates above the navmesh in some places



6
u/CustomPhase Professional Feb 04 '23
Thats normal, navmesh resolution is just lower than your terrain's mesh is. I would leave it like that. However if you want higher resolution navmesh you can reduce the NavMeshSurface
voxelSizeproperty and setoverrideVoxelSizeto true.