I don't know if this is a known problem or a bug. I use the newest release (r184) and have an enemy sprite with pathfinding in my first layout. After the player passes through a door I use the system -> go to next layout event. But it always stops working at this point and an error message appears. If I delete the enemy sprite everything works normal how it should.