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.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice
Dismiss Notice
Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.

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: