Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[Unity 5.6.0b3] agent.currentOffMeshLinkData.offMeshLink == null always

Discussion in 'Navigation' started by AndresSepulveda, Jan 17, 2017.

  1. AndresSepulveda

    AndresSepulveda

    Joined:
    Mar 12, 2014
    Posts:
    52
    I placed manual off mesh links and when i try to find out what kind of link is(for animation and transition purposes) i can't get it read because it 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.

    PS:
    When you use the off link it becomes red. can be used only once. But this behaviour happens too on legacy nav mesh. I cant find info about it. Why this happens?
     
    Last edited: Jan 17, 2017