State Tree Transition Problem

I have a problem and cant seem to understand.
I’m using the State Tree system in Unreal Engine 5.4 for AI behavior, and I’ve run into an issue with transitioning between states using events.
Basically I have a roam task with a move to task, and I want during this if the AI perception of the AI controller sees the player to switch to chase.
Very simple, the roam state has a transition set to trigger on event with the tag chase.
The problem is If the AI is still moving (the Move To task hasn’t finished), the event transition does not trigger instantly but will trigger if the chase tag it sent at the task completion
However, if I remove the Move To task, the event transition works instantly when the AI sees the player.


Found out what was the problem for anyone with the same issue.
For some reason the Move To Location Or Actor node prevents from receiving a state event, causing not the change state instantly. I now use AI Move To.
Also in the same state, I had a generate location task before the moving task. but this task had on enter state a finish task with succeed which with AI Move To causes it to restart every frame, but worked with Move To Location Or Actor don’t know why. The solution delete the finish task after generate location enter state.