Possible to have Spawned Actors become a "permanent" part of level (in editor)?

Hi,

I’ve been asking around in the few circles I have, but haven’t come up with a solution:

I’m trying to procedurally generate levels, but since I’m working on VR-content…being able to bake the lighting (in the editor) is necessary for performance reasons.

I have a pretty decent level generator coded and working that, once Play-in-Editor is activated, it generates a room structure of prefabbed Blueprint Actors. Since these are generated at runtime, however, they don’t persist once Play-in-Editor is stopped – so I can’t then go back into the Editor and Bake the Lighting (all the generated rooms are then gone).

A solution that has been presented is to use a Save Game, but that basically re-populates the level when activated – so it still wouldn’t allow the freedom to bake the lighting and make further adjustments.

Is what I am asking not possible? :frowning:

TL;DR - Trying to procedurally populate a level with prefabbed Actor chunks, but then have them PERSIST in the level when back in the Editor (to bake the lighting, etc).

Thank you!

Have you tried using your generators while editing? Editor Utility Widgets is handy for this.

1 Like

Oh gosh, that is EXACTLY what I needed LOL – thank you SO MUCH!
I had thought I was SOL, and yet it was a simple tool that I didn’t even know was there.
Thank you again; you are a Saint! :wink: