I have set up my enemy AI to have the pawn sensing component and have a function run that will run when the AI sees a pawn. Right now all that happens is that, it runs some debug logs and draws a sphere. But the sensing never seems to trigger I’m not sure what I’ve done wrong, I’m following a tutorial and as far as I am aware everything lines up, but there might be something underlying that I am missing and that might be why.
the first image is my header file
the second image is the cpp file