SplineMesh bug when doing looping

Thanks for this! I’m currently going through the same issues and this solved them.