/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h
Get a direct reference to the Components set rather than a copy with the null pointers removed. WARNING: anything that could cause the component to change ownership or be destroyed will invalidate this array, so use caution when iterating this set!
const [TSet](API\Runtime\Core\Containers\TSet)< [UActorComponent](API\Runtime\Engine\Components\UActorComponent) * > & GetComponents() const