In Project Settings -> Editor there’s the experimental option to not reload the domain and scene for a hugely faster time when entering play mode. However, getting rid of scene reloading results in not being able to generate a new graph in code (at least in Start()) unless you have the object with the Pathfinder component selected while going to play mode.
Yeah, reloading the scene increases the load time a lot less than the domain reloading, so it’s really no problem. Just wanted you to be aware, good that this has been addressed.