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. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    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:
    32
    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:
    32
    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 :)