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. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Bug (Case 1355606) NavmeshLink / NavmeshSurface (Volume-Based) bugs

Discussion in 'AI & Navigation Previews' started by stiverm, Aug 4, 2021.

  1. stiverm

    stiverm

    Joined:
    Apr 27, 2013
    Posts:
    16
    https://fogbugz.unity3d.com/default.asp?1355606_bfikuf19bs3e0ktc

    I've found what appears to be 2 or more bugs in the NavMeshSurface and its surrounding systems. The details of each issue can be observed in the scene and the attached video.

    Odd behavior with regard to traversing over a NavmeshLink
    1) Does not always go directly toward the closest point on the NavmeshLink
    2) When attempting to move to a location where a NavmeshLink and NavmeshSurface are overlapping the agent must first exit the link before going to the proper location. Sometime even teleporting.

    Issue with including all of the terrain in a NavmeshSurface using 'volume'
    3) When the edge of a NavmeshSurface (using the volume method) is on a particular line it will not fully include the volume of the terrain. This seems to have something to do with the relationship to the terrain size itself. In the project provided the terrain is 250x250 and the issue occurs and 125, it can also occur at 31.25 but not all multiple seem to work.

    https://www.dropbox.com/s/67ht9ea5l5sv9rf/NavMeshSurfaceBug.zip?dl=0
    https://www.dropbox.com/s/890jvs7albwu453/NavMeshSurfaceBug.mp4?dl=0