Why? What is the different between CreateDefaultSubobject<> and NewObject<> ?
What about NewObject<> would cause the problems with the chain reference?
Why not?
It looks like each component needs to be attached to something, and I’d like it to be attached to the actor itself.
What’s mistaken about this assumption?
VisibleAnywhere, BlueprintReadOnly
OK, I’ll try that. Thanks! The description “has some side effects” is somewhat helpful, and more precision (or, ideally, a pointer to the documentation that actually specifies these side effects) would be great!
Do I need to RegisterComponent the root component? The documentation just says “adds to outer Actor’s Components array” but doesn’t tell me what happens if it’s not there, or whether some components are auto-registered.