Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    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: