Developer Notes

This issue has been closed as 'Won't Fix' due to an extended period of time without updates. If this issue is important to you please let us know by posting on the AnswerHub or UDN, and Epic will re-open the ticket for further review.

Description

If a TArray of spline components is created in code it is not possible to edit/add nodes to the spline inside a blueprint.

Steps to Reproduce

1. Open UE4Editor (any project)
2. Add code to project based on actor (MyActor)
3. Add the following code the header file:

 class USplineComponent; //between include statemens and UCLASS macro()
 UPROPERTY(EditAnywhere, Instanced, Category = "Path spline")
       TArray <USplineComponent*> PathSpline;

4. Add the following code to the constructor:

RootComponent = CreateDefaultSubobject<USceneComponent>(TEXT("SceneComp"));
       PathSpline.Add(CreateDefaultSubobject<USplineComponent>(TEXT("Path")));
       PathSpline[0]->AttachParent = RootComponent;

5. Compile the project
6. Create a blueprint based on MyActor
7. In the components hierarchy, select the Spline component

Result:
The nodes for the spline cannot be moved/edited.

Have Comments or More Details?

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

6
Login to Vote

Won't Fix
ComponentUE - Gameplay - Components
Affects Versions4.7.54.84.14
CreatedApr 20, 2015
ResolvedMar 26, 2018
UpdatedMar 26, 2018
View Jira Issue