How to Get Rail Spline Component

I just updated my project to 4.17 and I now get this warning message from my Camera Rig Rail class when trying to Get Rail Spline Component.

CameraRig_Rail.RailSplineComponent is not blueprint visible. Please fix mark up or cease accessing as this will be made an error in a future release.  Get RailSplineComponent

How are we suppose to Get RailSplineComponenent now in blueprints?

In case you didn’t found out. You just have to use the getter function instead of accessing the component directly.

~Dennis

1 Like