aTarget has to be assigned to something before you try to get its location. The UPROPERTY statement you listed is empty, so how are you setting aTarget to something in the game?
Then in the editor you click on an instance of your AHunter class, then go to ‘Details’, find the ‘aTarget’ parameter under the category ‘MyVars’ and set it to an existing instance of AMyActor class.