I'd like to create an editor script that enters play mode and creates a non-persistent GameObject in the scene. I'm having trouble finding a way to create an non-persistent object that isn't destroyed as soon as play mode begins. Here's what I've tried: Set Application.isPlay to true then immediately create a game object. The game object is permanently added to the scene even after play mode stops. If, in addition to #1, the object's HideFlags is set to DontSave, the object is destroyed before Awake is ever called. If the object is created using an EditorApplication.playmodeStateChanged callback method, the object survives into play mode, but none of Unity's built-in events (such as Update) are called on any of its components (?!) The most obvious solution would be to yield the editor script and wait for Start during play mode, then create the object, but I've found no way to yield in the editor or to pass relevant runtime information back to an editor script. The object that I'm creating is time-dependent, so I'd like to create it before or during Start, if at all possible. Thanks!