gdquest-demos/godot-open-rpg

Point not found error when tapping on an obstacle

NathanLovato opened this issue · 0 comments

From @razcore-art :

The following gets triggered when clicking on obstacles. It might be related with the crashes, but I'm not sure what triggers it.

E 0:01:22:0465   Condition ' !points.has(p_to_id) ' is true. returned: PoolVector<Vector3>()
  <C Source>     core/math/a_star.cpp:339 @ get_point_path()
  <Stack Trace>  Pathfinder.gd:61 @ find_path()
                 GameBoard.gd:51 @ find_path()
                 PawnLeader.gd:61 @ _unhandled_input()