Queue entries store paths as plain Array (nested in an untyped Array). GDScript cannot implicitly upcast Array → Array[Vector2i] on pop_front. Keep path variables untyped while building; use Array.assign() to produce a typed Array[Vector2i] only at the final return point. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>