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.
If a TArray of spline components is created in code it is not possible to edit/add nodes to the spline inside a blueprint.
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.
i have this problem UE4CC-Windows-58DC12AF4B97F057BD108FBFF569B2E9_0000
Installer 4.10 failed with error code R-1603
Delay nodes occasionally don't fire the "Completed" output in a nativized build
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
UE4 Crashing when loading asset ONLY on Stand Alone
Start up error. Cant open twinmotion, UE 4.26, UE5
Head over to the existing Questions & Answers thread and let us know what's up.
6 |
Component | UE - Gameplay - Components |
---|---|
Affects Versions | 4.7.5, 4.8, 4.14 |
Created | Apr 20, 2015 |
---|---|
Resolved | Mar 26, 2018 |
Updated | Mar 26, 2018 |