WASD not working anymore

Does your actor have the Character Movement Component and Is your Character Actor “Possessed” by your Player Controller?

You can also set initial possession in your game mode at the default pawn class selection.