You trying to get location of player controller which does not have location, you should get pawn possessed by that controller first which should be player pawn/character (ACharacter is extended version of APawn and APawn is most basic form of character in the game)