Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    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