Spline Generated Mesh can't handle loops and other weirdness

I have a BluePrint construction script that generates a track along a spline. I first built my own, then tinkered with another ( ) and then tested the Epic track tutorial ( ) files. I’ve been attempting to make a track that can make vertical 90 degree turns, loops, etc. But when ever I try I get really weird twists in the track. In the attached image youll see a very simple spline and these gaps. Has anyone discovered a solution to this error?

Hoping to figure it out soon. Thanks for any help.