Some methods like Awake are executed when exiting play mode, although next scene is not fully loaded

Im loading my next scene with LoadSceneAsync and set the allowSceneActivation to false so it does not switch automatically to the next scene.

When i now exit play mode the Awake, OnEnable, OnDisable and OnDestroy methods of my scripts in the next scene are called allthough i did not fully load the next scene.

Is this intended behaviour?

Sounds like a bug to me. Unity should not be loading a not loaded scene as a result of exiting play mode. That’s crazy.

Unity insists on calling OnDestroy on objects when you leave play mode - probably in case people release file handles in OnDestroy? It might be that trying to call Destroy on them triggers Unity forcing them to get loaded first.

I submitted a bug report. Ticket: 934426_4spo6bodpeuq2seu