What I'm trying to do is to make an edit-mode script that gets all off-mesh links and makes some of them bi-directional(depends whether a jump is possible).

My (obvious) attempt was:


However, it returns only the links I have created manually.

My question is the following: how to access the off-mesh links generated by unity in the baked NavMesh?

Any help would be greatly appreciated.

  • \$\begingroup\$ I'm not sure you can. Baked stuff are generally in a separate file. If you do manage to find a way though, please let us know here :) \$\endgroup\$ – John Hamilton Dec 2 '16 at 18:05
  • \$\begingroup\$ @JohnHamilton I've got an answer at Unity forum that it's not possible to modify data of the baked NavMesh. Still hoping to find a way to read it, though. \$\endgroup\$ – mnxoid Dec 4 '16 at 12:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.