AI can't detect actor that attached to player or object

Hi, I have this problem for awhile now. I have a weapon with AI stimulus source component for my character which can be drained out energy if it flying around enemy. AI can see it if it was flying, but when it was attached to some actor or object, it can’t be detected by AI perception anymore. I don’t know why this happen. Please help me, thank you in advance.