Why does the editor player continue playing after a new compilation?

Always wondered this - maybe once you could edit and continue with a playing scene but every time you do a new build it will more than likely throw up crazy warnings and errors and then pause a currently playing scene.

So why does Unity not just auto-stop any playing scene after a new compile is complete?

It’s a good question that I am also curious about. You can stop it from auto-compiling new saved code while play mode is active, although that feature was broken for me in the versions of Unity I was using when I tried.

Still, there is some value to compiling changes to editor window code, even in play mode. I just wish it wouldn’t compile the game code during play. I can’t wrap my head around why anyone would want that.