# \[4.8\] Assert fails when closing spline loop

**URL:** <https://forums.unrealengine.com/t/4-8-assert-fails-when-closing-spline-loop/318022>\
**Category:** World Creation\
**Tags:** UE4-8, unreal-engine, Spline, question\
**Created:** [May 9, 2015, 5:44pm UTC](https://forums.unrealengine.com/t/4-8-assert-fails-when-closing-spline-loop/318022 "2015-05-09T17:44:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![VictorMoneratto](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VictorMoneratto](https://forums.unrealengine.com/u/VictorMoneratto)\
**Post date:** [May 9, 2015, 5:44pm UTC](https://forums.unrealengine.com/t/4-8-assert-fails-when-closing-spline-loop/318022/1 "2015-05-09T17:44:32Z")

</div>

When ticking _Closed Loop_ in the editor, it crashes due to an assert on USplineComponent::RemoveLoopEndpoint() [splinecomponent.cpp:247]

> Assertion failed: NumPoints == 0 || (NumPoints \>= 2 && SplineInfo.Points[0].OutVal == SplineInfo.Points[NumPoints - 1

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b666e59e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b666e59e](https://forums.unrealengine.com/u/anonymous_user_b666e59e)\
**Post date:** [May 12, 2015, 2:49pm UTC](https://forums.unrealengine.com/t/4-8-assert-fails-when-closing-spline-loop/318022/2 "2015-05-12T14:49:06Z")

</div>

Hi VictorMoneratto,

Thank you for letting us know about this. I was able to reproduce the issue, and have submitted a report to have it investigated further (UE-15436).
