Skip to content

Bug on navigation with NavigationArea2D/NavigationAgent2D and TileMapLayer since Godot 4.5: target position never reached #110567

@Datoh

Description

@Datoh

Tested versions

  • Reproduce in 4.5
  • Not reproduce in 4.4.1

System information

Windows 11 - Godot 4.5

Issue description

since Godot 4.5, the path computed with a NavigationAgent2D is not optimal (in Godot 4.4.1, the path is a straight line ) and sometimes the target position is never reached.

Steps to reproduce

  • Open the attached project with Godot 4.4.1
  • Run the project
  • The red square goes directly to the target point
  • Open the attached project with Godot 4.5 (migration)
  • Run the project
  • The red square is stucked

Minimal reproduction project (MRP)

bug-navigation.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions