When i change some code while the editor is running, it recompiles, but Awake and Start methods don’t run, only Update does.
Is this what is supposed to do? I can’t find any info in the docs.
I believe that is what it is supposed to do. Imagine if you changed something and all your scripts’ Awake functions were called again
That is its functionality at run time when editing. It will run the functions when they are supposed to be run. So if awake and start were already called, then they will not be called again unless you reload the scene or instantiate a new object with the script attached. It is in the docs just not stated in that way. It only tells you when a method is triggered and in what order. Recompiling a script does not ‘reset’ the object during run time, only the script. The object is what controls the scripts event methods not the other way around.