My pathfinding is working correctly at first but after a few moves, it stops working. I have 4 sprites pathfinding their way around a little maze (a tilemap). Two of them never move and the other two move a few times and then stop forever.
Checking in the debugger, of the two that have moved, one has 'Has Path' set to true, but isn't moving anyway. All of the others don't have a path. I'm not changing the tilemap at all, so it's not a case of obstacles changing. There are no other objects that might be blocking the paths and they have custom obstacles set (just the tilemap maze). They're moving with 'Move To' once the path is found, so that they move PacMan style (i.e along the grid).
They're all the same sprite with the same settings (i.e the cell size is set to 20 for all of them and the tilemap is 32x32 blocks). They're not blocking each other since they're not set as obstacles.
What else could be causing them not to move?