Does anyone have an idea what causes this spline behaviour?

Hi all,

I’m having a weird issue I can’t explain, and can’t debug, I’ll first show the screenshot :

I’m creating a temporary spline that is looped to create a track. Then I loop the temporary spline to create 3 splines, a mid section at even spline points and at the odd points I create a left and right section. It works fine except for the very annoying point that gets added where the loop closes. If I decrease my loop by 1 the mid section is okay but then the left and right section are affected. Here’s the BP code, I tried debugging but nothing ever triggers.


Just in case it ever helps anyone, this was normal behaviour as the spline added loop points after the last spline points, I didn’t notice because they happened to overlap with other points.