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. Unity 2022.2 is now available as the latest Tech release.
    Dismiss Notice
  3. We are making some changes to the DOTS forums.
    Dismiss Notice
  4. 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

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.