AiPerception or PawnSensing?

I use Pawn Class for my Enemys and I using AiPerception for it and I slow down with many problems, for example, I notice first some times Enemy pawn don’t detect my FirstPlayer in its sight and after its detect, FirstPlayer its don’t lose the first player with hiding behind objects! and some other problems :

now my question is even its correct way to use AiPerception for Pawn ? or this only designed for Character?

pawn sensing is for basic ai stuff and AiPerception is newer and for more advanced tasks related to Ai. you can just choose whatever works for you

and I think you got way too deep way too soon so try following some basic tutorials and build upon that

The problem here is for some reason I using Pawn class for my project, not Character class and it seems AiPerception made for Character class so AiPerception works for Pawn class , yes but with some minor issues.

For example, when the NPC detects first player it is not losing sight when the First player hides behind, objects. in a simple word, it’s not losing sight of NPC’s only way NPC loos the player is by passing from SightRadius, this only cases NPC lose sight of the target.

right now I success to detect the player is behind object but NPC not losing sight! by looking in engine code I find out AiSense_Sight store result of sighted enemies in SightQueryQueue but I couldn’t find a proper way to find out which array belongs which sited enemy so I can clear it and tell to the engine lose sight of the target.

Thanks again for the replys.

hmm, if pawn sensing is working fine and you need only sight sensing than just go ahead with it. It might take a while to solve the problems with aiperception