Download

Play in editor instantiates new objects

This has been a behavior that I’ve been dealing with for UE4 where the objects in the editor get instantiated again in the play in editor. These new objects don’t have the members that I had initialized in my editor and so I’m missing some key data structures. I know that one way to copy it all over is to use the UProperty macro but that only works with classes that have some UE4 tag at the beginning.

is there a better way to handle this kind of situation? What’s the reason for creating new objects and not having the members the same? It’s really been more trouble to deal with than its worth in my opinion.