Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question nav mesh AI agent stuck sometime in the edge of map bake

Discussion in 'Navigation' started by Stefanos97x, Sep 27, 2022.

  1. Stefanos97x

    Stefanos97x

    Joined:
    Jul 15, 2020
    Posts:
    14
    Hi everyone :)

    i got a problem with Ai nav mesh agent [enemy], it sometime stuck in the edge of the nav bake map
    [most of them keep "patrolling" [yellow] but after some time they want to go to the edge too.

    quick note : i got gorund layermask but the problem is the agents spawn in random genereted rooms

    (maybe its the issue i dont know xP)
     

    Attached Files:

    • f1.PNG
      f1.PNG
      File size:
      56.4 KB
      Views:
      119
    • f4.PNG
      f4.PNG
      File size:
      1.1 MB
      Views:
      118