03-10-2021, 11:55 AM
You are welcome
Please insert the following code just above the line 1397 that produces the exception, that will help understand what is happening once the exception happens again.
Please insert the following code just above the line 1397 that produces the exception, that will help understand what is happening once the exception happens again.
Code:
if(idx >= ApproximationDistances.Length)
Debug.LogError($"idx: {idx} ; length {ApproximationDistances.Length} ; length 2 {Approximation.Length}");
else if (idx + 1 >= ApproximationDistances.Length)
Debug.LogError($"idx + 1: {idx + 1} length {ApproximationDistances.Length} ; length 2 {Approximation.Length}");
Please consider leaving a review for Curvy Splines, this helps immensely. Thank you.

