Hello!
I'm somewhat new to godot and was building a project in 3.5 that involves enemy pathfinding. The code (screenshots below) works fine however I am getting several hundred of the same error: "godot least_cost_id == -1" is true. Breaking.
The way my code currently works is that every second, the game level spawns in a new enemy and also the enemies update their paths. (note that sometimes the enemies spawn outside of the rooms, however they always just fly back in). I'm using get_simple_path to path from the sprites position to the players position. Again, the code works but spams errors.
Thanks!

