Migration, Beta to 4.0.1 Blackboard components

I used to add the Blackboard and Behavrior components to Components in my AIController class in the constructor. How are they now supposed to be added that Components is gone?

BlackboardComp = PCIP.CreateDefaultSubobject(this, TEXT(“BlackBoardComp”));
Components.Add(BlackboardComp);

Thanks

Hi . I’ve seen you asked this question a long time ago but your project is still moving quite well. If you have any idea how to answer your own question, I’d be glad to hear it.

Cheers.

For my project I switched to a Blueprint only solution, which solved the construction problem for me.

Take a look at this thread it, may help you assign behavior trees. I believe they are subobjects now.

Thanks . Will do.