Download

Persist data between module reloads?

I’m looking for a way to keep some data (arbitrary C++ struct) in memory while a module is hot-reloaded in the editor. The module heap allocates and fills the structure in question - I’d like to recover a pointer to the structure when the module starts up again. Having Unreal store the pointer for me is the obvious answer, but I’m not sure where/how I’d achieve that.

1 Like