# Can someone explain this extremely weird behavior?

**URL:** <https://forums.unrealengine.com/t/can-someone-explain-this-extremely-weird-behavior/474525>\
**Category:** World Creation\
**Tags:** weird, unreal-engine, Spline, UE4, question\
**Created:** [November 15, 2020, 10:12pm UTC](https://forums.unrealengine.com/t/can-someone-explain-this-extremely-weird-behavior/474525 "2020-11-15T22:12:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mooltee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mooltee](https://forums.unrealengine.com/u/Mooltee)\
**Post date:** [November 15, 2020, 10:12pm UTC](https://forums.unrealengine.com/t/can-someone-explain-this-extremely-weird-behavior/474525/1 "2020-11-15T22:12:04Z")

</div>

Hello there. Recently Ive faced this random issue which I cannot seem to find any explanation for it. I am using a spline to create procedural static meshes . I have a blueprint derived from my C++ class. In C++ I create a scene component as my Root Component and also a Spline Component. The weird issue happens with spline’s length. If I change spline component relative scale in the editor and print out the length , the length seem to increase based on the X scale; However, If I add my spline component manually from the blueprint instead of creating it in C++ (construction), the spline length doesn’t change when I change it’s relative scale. Is there any explanation for this? I would appreciate it if someone can help me.
