Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

Question Artifacts when baking Navmesh

Discussion in 'Navigation' started by LootlabGames, Jan 5, 2024.

  1. LootlabGames

    LootlabGames

    Joined:
    Nov 21, 2014
    Posts:
    343
    Hello, I am getting artifacts when baking a Navmesh.
    It mostly happens with stair and ramps.
    Here is a screenshot of what I mean.
    It is very common. I mean like 70% or more of the stairs/ramps have problems.
    I even get it if I use cube shapes(it don't get much simpler than that.)
    How are you guys handling this?

    Before:
    upload_2024-1-4_20-0-46.png

    After:
    upload_2024-1-4_20-1-33.png

    upload_2024-1-4_20-2-6.png
    upload_2024-1-4_20-14-45.png
     
  2. LootlabGames

    LootlabGames

    Joined:
    Nov 21, 2014
    Posts:
    343
    So I found a workaround(fix?).
    Setting the Override Tile Size true and Tile Size to 64 got rid of the artifacts.
    But not sure how this will affect performance though.