AI Perception - Detect By Affilation

Hi guys

I’m having some troubles setting up the AI Perception component. When i add the component from the Blueprint editor - everything works fine.

When I am creating the component from C++ inside the constructor:

Basically i have no way to configure what affiliations are detected by the AI perception system.

I would appreciate any info on how to get around this issue.

Epic basically build this for paragon AI, so most of things are C++ side only and some stuff exposed here are not used at all if your AI controller do only blueprint.
so, either you implement your own check with the update events, or go C++ and see if you can reuse their code for your project.