AIPerceptionComponent in C++ does not display "Detection by affiliation"

I added the component in the blueprint directly, and in code I call GetPerceptionComponent() instead of using directly the pointer. That is the only workaround I found