Closest position on a Spline to a Player

I tried this approach, and my camera is stuck at the origin of the world. After recreating the blueprint functions posted, i went ahead and set the camera location using those values. But the values are not updating. Not sure if i set this up right.