do you have this in your character class?
if not you also need the inputs setup in your project settings.
which i cant easily find right now… its in the fps template game, you can export the settings as an ini and then load it in your current project.
… not sure if that helped.