Getting ready

When you need to construct any UObject derivative that is not a derivative of the Actor class, you should always use the NewObject< > function. SpawnActor< > should be used only when the object is an Actor or its derivative.