EQS: How to find the AI that is the closest to the player

Yes it stops at the “Is valid Index”, I’ll also take a look at the update version!

EDIT:

I updated it. Sorry didn’t see it before.

Now it stops here:

image

And it doesnt print anything still. I hooked the “compare bb entries” node to the root too, to check if something else in my code was interfering, but still doesnt print