Download

BP "Get Children Components" expected/unexpected behavior with ChildActorComponents

Had to word it ‘expected/unexpected’ behavior as I can’t really tell myself. This is what is going on with this function - when used on an actor that contains ChildActorComponents then resulting array will include all components of the children actors in addition to all components of the actor itself. Which is a neat feature but it’s not so obvious that this is how it works. Adding this information into a tool-tip could help elevating a bit of confusion. Or adding another option just under “Include All Descendants” to disable/enable such behavior.
I didn’t tested if Get Components by Class / by Tag behaves the same.