Custom Movement Component 4.18

Hello! I have been beating my head against a wall for an entire week trying to get a basic sprint script to compile. There is so little documentation about custom movement modes that it is driving me crazy. I am following [this tutorial][1] right now and I think I am close to making it work.

The only problem left that I can see (besides the complete lack of documentation or instruction) is that FNetworkPredictionData_Client_Character defaults to a non-copyable class, which is a problem since I want to make a copy and call it. Is there any way to do this?

My current error

All of the tutorials I can find are ages old, and I have been looking for weeks for something updated. I didn’t even want to dive into the c++ of the engine, I just wanted to use Blueprints.

[Here is my CustomMovement.cpp][3]

[Here is my CustomMovement.h][4]

I believe if I can get this function to become copyable then I would be in the clear. If you have any other tips on getting custom movement (like sprinting, teleporting, ect) networked properly that would be a huge help. I noticed some Blueprint nodes such as this one:

But I can’t figure out how to get networking to work with this. The best I could do was set it on the client and server at the same time and hope that the clients have a good enough connection not to get corrected. Also I couldn’t figure out how to add custom movement logic to this node, even using Event UpdateCustomMovementI could not get it to work. So any tips either on the c++ side or Blueprint side about how to properly get custom movement working would be great! Like I said I have consumed every custom movement tutorial I have found and most of them don’t work on the current engine version.

I did see [this wiki page][6] but, I couldn’t figure out how to turn that into a sprint function, changing max walk speed while in the custom mode doesn’t work. Which makes sense because there is no movement logic to take advantage of that variable.

Anyway sorry for the long read and thank you in advance for any help you can give me. I have been struggling with this for a while now!