I have set both my SplineMeshComponents, my Spline, my RootComponent(Which is named Scene) all to movable and yet I keep receiving an Warning:
"Warning AttachTo: '/Game/UEDPIE_0_TestLevel.TestLevel:PersistentLevel.BP_VRMotionController_C_1.Scene' is not static (in blueprint "BP_VRMotionController"), cannot attach '/Game/UEDPIE_0_TestLevel.TestLevel:PersistentLevel.BP_VRMotionController_C_1.SplineMeshComponent_1' which is static to it. Aborting."
And I have set just about everything to movable that would affect the spline meshes' and yet it keeps giving me this warning. I would appreciate any help on why this warning keeps coming up, because when you get over a thousand warnings for this one issue its difficult to ignore.
//Creating the variable for the spline mesh
USplineMeshComponent* newSpline = NewObject<USplineMeshComponent>(this);
//Setting other default values.
//This has to occur after creating a new object in the world.
//If the spline is static then it has errors when attaching
newSpline->SetRelativeScale3D(FVector(1.0f, 1.0f, 1.0f));
//Setting the visual representation of the splineMeshes.
newSpline->SetStartTangent(FVector(100.0f, 0.0f, 0.0f));
newSpline->SetEndPosition(FVector(100.0f, 0.0f, 0.0f));
newSpline->SetEndTangent(FVector(100.0f, 0.0f, 0.0f));
newSpline->SetSplineUpDir(FVector(0.0f, 0.0f, 1.0f));
Jan 04 '17 at 07:27 PM
in C++ Programming