I am using the latest version of both to the best of my knowledge.
My confusion lies in the "Visible" flag. According to the docs, this flag means "Only consider objects visible to the camera."
However if I have it set to TRUE, then my routine will not work, because Find Closest will ignore all my stars, even though they are clearly visible to the camera because I can see them in the game view. If I set this to FALSE then the routine considers the Stars as I need, and everything works. Why I need to set it to FALSE when the stars are visible to the camera is what is confusing me.