AI chase sequence bugs out; AI moves back and forth on the spot while trying to cross navlink (a doorway)

Figured out why:

  1. The AI moves back and forth because of interference with the NavLink. May not be a solution but i resolved it by removing Navlinks altogether and using nav mesh modifiers.
  2. AI switches from moving to random position to move to last known location because of incorrect conditions in my behavior tree.