But; in my experience this does not always register.
Let’s say, you duplicate a prefab with a script attached in the scene, not adding a prefab from Assets to scene.
Script contains OnEnable → subscribe to some event
When you then press Play to run scene, the object that was duplicated does not register to event until:
-You restart Unity. Then OnEnable functions as expected when running scene.
This can cause some frustration if you’re not aware of this, or you forget that you “have to restart Unity” to get your OnEnable script to function properly on newly added object to scene.