# My splines are missing links and has no material

**URL:** <https://forums.unrealengine.com/t/my-splines-are-missing-links-and-has-no-material/463693>\
**Category:** Asset Creation\
**Tags:** spline-mesh-componen, unreal-engine, Spline, question\
**Created:** [April 12, 2020, 7:05pm UTC](https://forums.unrealengine.com/t/my-splines-are-missing-links-and-has-no-material/463693 "2020-04-12T19:05:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![NoobsDeSroobs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NoobsDeSroobs](https://forums.unrealengine.com/u/NoobsDeSroobs)\
**Post date:** [April 12, 2020, 7:05pm UTC](https://forums.unrealengine.com/t/my-splines-are-missing-links-and-has-no-material/463693/1 "2020-04-12T19:05:43Z")

</div>

I have a spline to which I added spline mesh components. These are added for the most part successfully, but some end up missing, and a few are twisted into a point at certain areas. You can see these if you look carefully. Further, no matter how many times I try to apply a material to the spline meshes they stay the default checker pattern.

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/a/c/dacb7ab8106671d4d071b2739034c64623263140.jpeg)

The missing parts are to the top right and to the top left. I have noticed that only splines with more than two VERTICAL links are missing. The pink material is being applied in the code below:

 ![299617-splinebp.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/9/f/c9fb73d0d58477dfc59a1b5d782b36a82ba8320f.png)

EDIT:  
It might be of interest to see the problem in a gif. The white lines are the missing segments and the spline is not pink, as the material I applied should be.

> **[Gyazo](https://gyazo.com/835659cfaf24b7d9baf3a2f3b606c16c)**
>
> Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 12, 2020, 7:28pm UTC](https://forums.unrealengine.com/t/my-splines-are-missing-links-and-has-no-material/463693/2 "2020-04-12T19:28:39Z")

</div>

You need an AttachToComponent node in there. Am using this recently:

 ![299618-spline.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/5/e/45e6e4ede4868cf259214c8474f5f9771962b8cc.jpeg)

---

<div class="post-metadata">

**Author:** ![NoobsDeSroobs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NoobsDeSroobs](https://forums.unrealengine.com/u/NoobsDeSroobs)\
**Post date:** [April 12, 2020, 9:14pm UTC](https://forums.unrealengine.com/t/my-splines-are-missing-links-and-has-no-material/463693/3 "2020-04-12T21:14:11Z")

</div>

I only found an AttachComponentToComponent, but that did not work. Nothing changed.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 12, 2020, 9:24pm UTC](https://forums.unrealengine.com/t/my-splines-are-missing-links-and-has-no-material/463693/4 "2020-04-12T21:24:31Z")

</div>

So you pull the pin from AddSplineMeshComponent, it’s there. What engine do you have? ( 4.24.3 )

---

<div class="post-metadata">

**Author:** ![NoobsDeSroobs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NoobsDeSroobs](https://forums.unrealengine.com/u/NoobsDeSroobs)\
**Post date:** [April 12, 2020, 9:41pm UTC](https://forums.unrealengine.com/t/my-splines-are-missing-links-and-has-no-material/463693/5 "2020-04-12T21:41:04Z")

</div>

4.25 is what I am using. They changed it so now there are only three: Actor to actor, Actor to comp, comp to comp.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 12, 2020, 9:49pm UTC](https://forums.unrealengine.com/t/my-splines-are-missing-links-and-has-no-material/463693/6 "2020-04-12T21:49:15Z")

</div>

Meh, sorry, will bail at that point. It basically looks ok, maybe something with 4.25?..

EDIT: Although the code is different in other aspects…

---

<div class="post-metadata">

**Author:** ![NoobsDeSroobs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NoobsDeSroobs](https://forums.unrealengine.com/u/NoobsDeSroobs)\
**Post date:** [April 12, 2020, 10:27pm UTC](https://forums.unrealengine.com/t/my-splines-are-missing-links-and-has-no-material/463693/7 "2020-04-12T22:27:17Z")

</div>

Ok, so after a lot of headache and a lot of frustration I managed to find the solution thanks to the great UE4 community.

To break it down, there are two simple fixes.

First, the breaks:  
Vertical splines are broken due to the rotation matrixes or quaterions. I dont know the details, but all problems went away as soon as I laid it flat. All I did was move Y and Z to X and Y.

Second, the colour:  
The material one applies has to be made for splines. Or rather, the setting to use it with splines must be checked. Once I did that all issues vanished.

Result:

> **[Gyazo](https://gyazo.com/41043f8ca723ba0359c7347d03402c6c)**
>
> Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 12, 2020, 10:48pm UTC](https://forums.unrealengine.com/t/my-splines-are-missing-links-and-has-no-material/463693/8 "2020-04-12T22:48:41Z")

</div>

Jolly good 🙂

---

<div class="post-metadata">

**Author:** ![Kaspi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kaspi](https://forums.unrealengine.com/u/Kaspi)\
**Post date:** [May 13, 2023, 6:36pm UTC](https://forums.unrealengine.com/t/my-splines-are-missing-links-and-has-no-material/463693/9 "2023-05-13T18:36:18Z")

</div>

> Second, the colour:  
> The material one applies has to be made for splines. Or rather, the setting to use it with splines must be checked. Once I did that all issues vanished.

Thanks!
