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.

Navmesh baking creating weird shapes

Discussion in 'Scripting' started by Korno, Nov 21, 2014.

  1. Korno

    Korno

    Joined:
    Oct 26, 2014
    Posts:
    518
    Hey, I am baking a navmesh and I am getting this weird Navmesh wall.



    My navmeshgent can navigate it and cross but jumps to the height of the wall when he crosses it. As my camera is tracking the player, this is causes my camera to jump up and down for a split second when it happens.

    Any ideas why the baking process is causes this? The settings are pretty standard and I dont think the geometry is really that complicated.
     
    IgorAherne likes this.
  2. IgorAherne

    IgorAherne

    Joined:
    May 15, 2013
    Posts:
    386
    Encountered similar issue, but in my case it was NavMeshSurface splitting (creating a crack) at a visually ordinary mesh. Similar to this question

    The way I've solved it (I am using NavMeshSurface unity official extention, in unity 2017.2) was to override and adjust the Tile Size by a small amount, different to the default one.

    Voxel size is also an option, but it's more resource consuming and is directed at capturing the fine details. Regardless, adjusting Tile Size worked best for me
     
    Last edited: Nov 19, 2017