Hi guys, I am trying to follow along the video tutorial and am now trying to call the GetName function on the Pointer to the AActor retrieved through GetObject().
However, as soon as I type “GetObject()->” no autocomplete pops up (as it does in the video) and when I add “GetName()” manually, I get the compiler error “pointer to incomplete class type is not allowed”.
What am doing wrong? Am I missing an import or so? I already compared my code to Ben’s git repo but can’t find any differences. I am on unreal editor 4.16.0!
Thanks,
chris