Advanced Zombie Enemy that attacks anyone with BPI Human with behevior trees

I’m using Unreal Engine 5.7.4. I’ve worked with Pawn Sensing before, but only for some basic guard-type AI.

My goal for my current project is to use AI Perception to create a zombie that can hear noises, investigate where they came from, remember a target’s last known location, and chase any actor with my Human Interface. Rather than using actor tags, I’d prefer to use a Blueprint Interface so that any actor implementing that interface can be detected and targeted, while actors that don’t implement it are ignored.

I’ve spent a lot of time trying to get this working with AI Perception, but I’ve had a pretty rough experience so far. I originally had sight working, but after making some changes it stopped. Since then, I’ve rebuilt the setup multiple times, including versions that only used sight, and I still couldn’t get any perception events to fire. On the occasions where I did get sight to trigger, hearing never got triggered.
At this point I’m basically back to square one because I ended up removing the whole code, behavior tree and all and starting over. I’m mostly looking for advice on how others would set up hearing, last known location, and detecting human actors through a Blueprint Interface rather than tags, and behavior tree setup.

Adding an interface to check whether another actor implements it seems like a colossal waste of time unless you want to expand it later to get other info from the actor. If you’re just doing a boolean comparison, checking if other actor has tag is much easier and likely more performant. Gameplay tags are fast af.

If you want to use an interface for targeting logic, is probably better to implement it on all pawns. amd have a message/function that returns more than one relevant piece of info. EG, a GetPawnInfo message could return whether target is human/zombie/an animal (either as tag or an enum) and whether it’s dead, and the ai controller would decide whether to attack (if alive) or eat/ignore (if dead).