Ue4 c++, character movement returns null

I’ve been following a tutorial on sprinting in c++, by using the character movement component then setting max walk speed but for some reason when i sprint (binded to left shift) the editor crashes and i get an error saying character movement was null.


The problem was that for some reason the character movement inside the character header file was under public for some reason, it should have been under private

1 Like

Hay hi, i really don’t understand how do i change character movement from public to private can u show me an image. PLS and thank you