Is it possible to not destroy objects instantiated in play mode when stopping

For level design purposes, i often need to place transforms here and there in my scenes (for instance to use them as destination nodes for a character).

I would love to be able to do that at runtime. Is it possible to do any of the following ?

  • tell unity via an editor script or something that I don’t want to destroy a transform instantiated by script (so I can place it in the scene and retrieve it when i hit stop)
  • tell Unity not to restore a property of a game object (for instance its world position) when I hit stop

Tks

Any changes you make in play mode won’t take effect when you stop.

Although a handy tip, you can move an object while in play mode, copy the game object or component, press stop and then paste the changes.