# Spline mesh does not close loop when Closed Loop property set directly on Spline Component in Details panel.

**URL:** <https://forums.unrealengine.com/t/spline-mesh-does-not-close-loop-when-closed-loop-property-set-directly-on-spline-component-in-details-panel/353829>\
**Category:** Audio\
**Tags:** details-panel, unreal-engine, loop, question, Blueprint\
**Created:** [April 11, 2016, 10:14pm UTC](https://forums.unrealengine.com/t/spline-mesh-does-not-close-loop-when-closed-loop-property-set-directly-on-spline-component-in-details-panel/353829 "2016-04-11T22:14:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_bbbefa12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bbbefa12](https://forums.unrealengine.com/u/anonymous_user_bbbefa12)\
**Post date:** [April 11, 2016, 10:14pm UTC](https://forums.unrealengine.com/t/spline-mesh-does-not-close-loop-when-closed-loop-property-set-directly-on-spline-component-in-details-panel/353829/1 "2016-04-11T22:14:18Z")

</div>

It seems there is a problem in the Unreal Editor where toggling the “Closed Loop” property on a Spline Component is not detected by the owner actor’s construct script; with the value for “Closed Loop” having been set from the Details panel. This problem prevents toggling the open/closed state of a spline-based mesh during edit time.

Setting the open/closed state from the actor (as a separate variable to set directly to Spline Component’s “Closed Loop” property) allows a spline mesh to be constructed correctly. However, this is more of a work around and will not work for our intended editor plugin functionality, which works directly on Spline Components.

Is there a way to call construct on a component (from a blueprint) before the owner actor’s construct script is executed?

If not please provide a fix that will allow this. In the end the expected behavior is that setting the “Closed Loop” flag (directly on a Spline Component) will have the user defined value from the Details panel applied in the construct script of the owner actor.

The following image shows a typical flow for creating a spline mesh actor. When “Closed Loop” is toggled in the Details panel, the flow of the blueprint always follows the path for False on the branch for “Closed Loop”.

 ![86411-testsplinemeshactor.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/a/6ea1f150fdf94e5bd1c2b9d6a5c375f5df15e493.png)

Thank you for any assistance.

---

<div class="post-metadata">

**Author:** ![TJ\_V](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tj_v/32/1008648_2.png) [@TJ\_V](https://forums.unrealengine.com/u/TJ_V)\
**Post date:** [April 14, 2016, 5:11pm UTC](https://forums.unrealengine.com/t/spline-mesh-does-not-close-loop-when-closed-loop-property-set-directly-on-spline-component-in-details-panel/353829/2 "2016-04-14T17:11:15Z")

</div>

Hey ossumajor,

Thank you for the report. I was able to reproduce this behavior and after researching it, it’s actually a known issue that we have logged as JIRA UE-21838. Our developers are investigating the problem.

I will add to the report that you are also experiencing this issue and that it’s a blocker for the plugin you are creating.

Cheers,

TJ

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bbbefa12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bbbefa12](https://forums.unrealengine.com/u/anonymous_user_bbbefa12)\
**Post date:** [April 14, 2016, 5:45pm UTC](https://forums.unrealengine.com/t/spline-mesh-does-not-close-loop-when-closed-loop-property-set-directly-on-spline-component-in-details-panel/353829/3 "2016-04-14T17:45:23Z")

</div>

Thank you very much TJ. My apologies for the duplicate report. Looking forward to the fix.
