My Unreal Engine StateTree AI incorrectly clears its player target while the player is still within sight, causing the AI to leave Chase and return to Patrol.

Hello, I am working on state tree AI and i am having a issue with the states. The ai patrols and when it sense the player it should chase the player and get back to patrol if the chase fails(when the player is out of sight) but im facing issue
i am using ai perception component and added 3 senses, sight, hear and damage
so when the player is within the sight radius of the ai it stores the player ref as target actor and then the chase fucntion calls here and the ai should follow the target
and when the player is not within the sight radius the target actor ref is cleared but in my game when the player is within the sight radius it first detects the player and stores the actor but within few seconds or after sometimes it gets cleared even tho the ai is in chase and seeing the player and it gets back to patrol
so i need help with it
so like even if the player is within sight it fails to detect in chase
I have attached the video clip here: https://drive.google.com/file/d/15O_kqP9VuQM7DgkdL690p0ST1hLh5Mel/view?usp=sharing