Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Resolved setDestination not working with multiple navmesh surfaces

Discussion in 'Editor & General Support' started by Adrian1470, May 22, 2024.

  1. Adrian1470

    Adrian1470

    Joined:
    Nov 25, 2017
    Posts:
    15
    When using more than one navmesh surface (both with different agent types) my agent doesn't set its path correctly anymore. When I disable the second navmesh surface it works again. Does anyone know why this is happening?

    EDIT: I seem to have found the issue. My 2nd navmesh agent apparently wasn't quite placed on its navmesh surface and after fixing that everything seems to be working fine. I don't know what that had to do with my other agent, but at least it has been resolved.
     
    Last edited: May 25, 2024
  2. Adrian1470

    Adrian1470

    Joined:
    Nov 25, 2017
    Posts:
    15
    Bump. Also changed the title and text in main post.