Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Question Surface Nav mesh baking incorrectly

Discussion in 'AI & Navigation Previews' started by jobrogi, Jul 30, 2021.

  1. jobrogi

    jobrogi

    Joined:
    Sep 7, 2020
    Posts:
    1
    The way I am baking is through code in the script that I procedurally create the grid. I have tried changing the "Collect Objects" to Children, All, and volume. I have also tried changing the "Use Geometry" Option from Physics Colliders to Render Meshes. Everything gives this result. Also in my code it is the very last thing I call. I have played with the voxel size and the agent. The only thing that corrects it is some code i put in the update function that re builds the nav mesh when i press a key. Any help would be much appreciated!
     

    Attached Files: