There is an error in the length of the straight spline?UE5.4

What code are you using to place the ball?