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. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    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.