# Spline mesh generating additional geometry

**URL:** <https://forums.unrealengine.com/t/spline-mesh-generating-additional-geometry/2150730>\
**Category:** Asset Creation\
**Tags:** unreal-engine\
**Created:** [November 25, 2024, 7:10pm UTC](https://forums.unrealengine.com/t/spline-mesh-generating-additional-geometry/2150730 "2024-11-25T19:10:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aliss-hntb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aliss-hntb](https://forums.unrealengine.com/u/aliss-hntb)\
**Post date:** [November 25, 2024, 7:10pm UTC](https://forums.unrealengine.com/t/spline-mesh-generating-additional-geometry/2150730/1 "2024-11-25T19:10:04Z")

</div>

Hey all, I’m using a Spline Mesh Blueprint to generate some train tracks. It works for smaller segments, but starts generating additional geometry as it gets bigger. For example, here’s a small one:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/6/1/e615756b241d6bbddf8c1f64495151b04897395f.jpeg)

At a certain part it starts freaking out:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/f/f/effe51c1a477af81dc8ee59eb89915e609239b3c.jpeg)

And then it gets really weird:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/2/f/52f802dac2200317086ec56333518ecde742b4d2.jpeg)

Any idea why it’s doing this? I’m basing my Blueprint off this tutorial: [https://www.youtube.com/watch?v=eKIiWa19EMI](https://www.youtube.com/watch?v=eKIiWa19EMI)

EDIT: After doing some experimenting, with just a beginning and end point it seems the issue pops up when the length of the spline is \> 2x the length of the object being instantiated. If I add a third point, the issue appears when it’s 3x the length of the object, with a fourth it becomes 4x etc. Still not really sure what’s going on, but making some progress…

---

<div class="post-metadata">

**Author:** ![aliss-hntb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aliss-hntb](https://forums.unrealengine.com/u/aliss-hntb)\
**Post date:** [November 25, 2024, 11:04pm UTC](https://forums.unrealengine.com/t/spline-mesh-generating-additional-geometry/2150730/2 "2024-11-25T23:04:55Z")

</div>

Ugh, so turns out there’s a section at the end of the video about limiting the length of the tangent and doing that fixed everything. I guess the lesson here is always finish the video, even if you think you’ve got it 😂
