Description

When attempting to get the value of Is Closed on an instance of an actor's spline component, the value is always false during construction of the actor.

On Begin Play, the Is Closed value returns true as expected.

Steps to Reproduce
  1. Open the editor
  2. Create a new actor
  3. Add a spline component
  4. Add a few points to the spline to create a loop shape
  5. In the construction script, place an Is Closed Loop node and print the result
  6. Place an instance of the actor in the level
  7. Select the instance, and in the details panel set Is Closed to true
  8. Compile the blueprint and check the output log

Result: Notice that is closed is returning false, although visually you can see that the spline is closed.

Expected: Is Closed would be true, as the property is set to true on the instance of the blueprint.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

10
Login to Vote

Won't Fix
ComponentTools
Affects Versions4.124.134.20
CreatedOct 3, 2016
ResolvedAug 18, 2021
UpdatedAug 18, 2021