I'm working up a game built off of the pathfinding demo. When creating a new level I duplicate level 1 and work up a new map, enemies, etc. I have a text object on Layout 1 that once clicked takes the player to the next level. The pathfinding breaks when the new level is loaded.
I've tested on the pathfinding demo itself and the same problem occurs. I simply duplicated Layout 1 to create Layout 2 and changed nothing else. I then placed a text object on layout 1 so that when clicked it loads layout 2. When layout 2 loads the pathfinding is broken.
If I load my level 2 directly it runs fine. If I tweak my code to load level 2 directly from the welcome screen it works fine also. The pathfinding only breaks if a previous level with pathfinding has been loaded.