Hey everyone,
Thanks to anyone who has the time to help me out here. Just for some background;
I'm trying to make a top-down shooter game and the enemies are being spawned in random intervals. After being created, they should be generating a path to the player and moving along the path.
It is working as intended when I place them manually into the level, but fails when thye're getting created as a new entity. The pathfinding behavior seems to be resetting to it's values sprites get when you're adding the behavior the first time, like a complete factory reset as to say.
Thanks again to anyone reading this.