Search Unity

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

  2. Unity 2022.1 is now available as the latest Tech release.
    Dismiss Notice
  3. Improve your project's performance with our new guide on profiling in Unity.
    Dismiss Notice

NavMesh is badly carved by the obstacles

Discussion in 'Navigation' started by PROE_, Nov 23, 2019.

  1. PROE_

    PROE_

    Joined:
    Feb 20, 2016
    Posts:
    31
    Hi, I'm using obstacles with stationary carving for my game but sometimes when I add obstacle weird thing like this happens and agents can't go behind these lines... Is there any solution to this? Haven't tried changing voxel resolution yet (gonna do it tommorow cuz it's 1:30 AM here) but I'm not sure if it will help.

    Thanks in advance!

    BTW - I'm using the latest Unity 2018.4.12

    UnityCarvingProblem.png
     
  2. PROE_

    PROE_

    Joined:
    Feb 20, 2016
    Posts:
    31
    So I found the solution - I used a mesh to bake NavMesh data and it was working bad as seen on the screenshot in the first post, but rebaking it using colliders repaired carving so now it's working properly :)
     
unityunity