Setting RootComponent in C++ constructor doesn't actually change the root component
The root component (at least when viewing in the components tab of a derived BP) is always the subobject i created first in the constructor with FObjectInitializer::CreateDefaultSubobject. Changing the order of these around changes what the root component ends up being. All that setting RootComponent variable or using SetRootComponent method in the constructor does is remove the dummy 'Root Component' that shows up in the blueprint components tab when you forget to set it.
asked Dec 06 '14 at 01:16 PM in Bug Reports
Sorry for not getting back to you on this issue sooner. I was able to reproduce the results that you described, and I have submitted a report about this issue to have it investigated further (UE-6769).
answered Dec 16 '14 at 08:37 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here