Character movement component being null

This works for me, go to Class Settings, select for example actor and then Character again.