Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. 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

Navmesh link and NavMeshModifier issues

Discussion in 'AI & Navigation Previews' started by AndresSepulveda, Feb 9, 2017.

  1. AndresSepulveda

    AndresSepulveda

    Joined:
    Mar 12, 2014
    Posts:
    52
    1-
    if i use NavMeshModifier override area,
    any navhit.mask on the overrided area returns a wrong Area ID

    2-I placed NavMeshLink and when i try to find out what kind of link is(for animation and transition purposes) i can't get it read because agent.currentOffMeshLinkData.offMeshLink is always set as null.
    I guess that is trying to access to legacy off mesh link and that's why it get null, because other vars from currentOffMeshLinkData delivers correct information.