ForLoop to find actor in the array

Maybe your array contains empty elements?

I’ve updated my answer. Forgot to add null check. (marked with red rectangle)