Adding DoNotCreateDefaultSubobject to a class after placing an instance of that class in the viewport will fail to be recognized when duplicating the placed instance. This is not a hot reload issue, behavior also occurs if the editor is closed when compiling.
Regression:
No- Behavior also occurs in 4.14.3 binary (CL 3249277)
public: AMyPlayerStart(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer.DoNotCreateDefaultSubobject("Arrow")) { }
Result:
Duplicated copy still have arrow component showing
Expected:
Duplicated instance follows code rule of not creating default components when set
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-43019 in the post.
0 |
Component | UE - Foundation - Core |
---|---|
Affects Versions | 4.14.3, 4.15, 4.16 |
Target Fix | 4.16 |
Created | Mar 17, 2017 |
---|---|
Resolved | Apr 13, 2017 |
Updated | May 6, 2017 |