The inspector gets stuck on whatever was last selected when you make changes to code and go back to the editor while in play mode.
I noticed this I think first in 2018.4.11(not sure if earlier) and was hoping it would not happen in .14, but still is.
I have recompile after finished playing set.
Is this a new ‘feature’ or a bug?
Same issue on 2019.4.18, but only on one specific project.
Changing the setting in preferences to stop playmode befroe recompile doesn’t work.
When testing that in a different MUCH smaller project I noticed that unity secretly already starts the compilation.
I had a simple behaviour with a commented debug.log in the update() method. When I pressed play, went into the script and uncommented that debug.log line and return to unity I would see the debug.log already once! so it seems like unity does a recompile to some extent even witht that stop playmode setting.
I have tried:
a unity reinstall
reimport of all assets
library folder removal