Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question Surface Nav mesh baking incorrectly

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

  1. jobrogi


    Sep 7, 2020
    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: