Garbage Collection and Dynamic Memory Allocation
In wiki I show you how you can prevent your runtime-spawned UObjects from getting garbage collected prematurely!
includes things like spawned emitters / Particle System Components, decals, and your own custom UObject systems!
I also go over how to allocate memory yourself and also free it, so you can do your own memory management.
Enjoy!
Garbage Collection and Dynamic Memory Management
https://wiki.unrealengine./Garbage_Collection_%26_Dynamic_Memory_Allocation