Hi there. This kinda works but, if you do this and try to manipulate your spline created earlier the engine crashes with this error message:
Assertion failed: SplineComp != nullptr [File:D:\build++UE5\Sync\Engine\Source\Editor\ComponentVisualizers\Private\SplineComponentVisualizer.cpp] [Line: 1716]
UnrealEditor_ComponentVisualizers
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_Engine
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
InkObj
atlthunk
user32
user32
UnrealEditor_ApplicationCore
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
ntdll