PathfindingLink fails when using detached attachments

When using a PathfindingLink on attachments whose parent is not a BasePart (detached attachments), calling ComputeAsync will always result in a NoPath. Enabling or disabling PathfindingUseImprovedSearch does not change this behavior.

Additionally:

  • Circles do not render on the attachments when visualizing Pathfinding links.
  • The PathfindingLink completely disappear when going in run-mode inside studio.

Attachments parented under a part:

Detached attachments:

Reproduction steps

  1. Turn on Navigation mesh and Pathfinding links under Visualization modes.
  2. Create two attachments under workspace, one on an elevated surface that is not reachable through jumping.
  3. Create a PathfindingLink using those attachments.
  4. Call ComputeAsync from a point that would normally traverse the link.

Repro file: pathlink.rbxl (69.9 KB)

Expected behavior

ComputeAsync produces a path that includes the PathfindingLink, or at least provide a warning/error that detached attachments are unsupported.

1 Like