How to keep spawned actors during gameplay after quitting the game in editor

Hi there,

currently i’m developing a stage building game. At the moment I am getting kind of frustrated on how to safe objects from the “Play in Editor” mode to “Editor Mode”. I need to adjust the placed objects after placing them during gameplay (e.g. patching dmx fixtures). All the object that I place during gameplay get deleted after I exit the game.


Is there a workaround so that i can safe those objects permanently?

Thanks in advance

In general, no, “in game” is supposed to just be playback. You’re supposed to actually “build the stage” in the editor. If you need additional tools to place the objects in the editor, you can build editor actors and editor widgets to help improve the editor.

One thing you could do is implement savegame for your game. This will let you re-load whatever work you did, when you re-play the game, so you can get back to where you were.

It may be possible to write an editor widget or utility of some sort that lets you load a savegame file into the editor world. I have never tried it, and chances are it won’t “just work” because of various editor-only modes and flags, but it might be worth a try at least.

Hi Thank you for your tipp :slight_smile: I try to make a savegame and then i can patch the lights with the spectator mode later. It`s just important for me to somehow store what I made so I don’t loose progress. It is a very experimental approach for a project for my university :slight_smile:
I go and watch some guides on how to store everything in a savegame file so i can rebuild the stage from the saved file :slight_smile:

Hope this works for you! Using the savegame system is generally pretty easy as long as it’s just for within-the-game, which sounds like it’ll work for your use case.