AI Perception Death Issue

Hi folks,

I’ve been using the AI Perception component in behaviour trees and it works quite nicely apart from when a Target dies.

I’ve attached the blueprint I’m using to this post,

Basically what happens is that if the target dies, the successfully sensed bool is triggered as true but the target value is naturally none so my AI just sits still.

This logic works fine if I move in and out of detection range and the bool goes between true and false.

I have tried clearing the sensed stimuli array on target / player death but I still can’t get the bool to be false on target death.

So for the moment I’ve written my own math blueprint for perception but would love to use AI Perception and it looks soooooo nice.

Have I done something stupid?

Cheers for your time and help

Greg