Simple Move to Location

Create a new player controller
In that controller do your move to location code
and don’t forget to add nav mesh in your level
And after that assign your newly created controller in gamemode
this will work