Go to the BP_TurretAIComponent and create a new variable called PerceptionChannel, set its type to ETraceTypeQuery, then compile and set the Default Value to Camera.
Add the highlighted nodes shown in the image below, location at the top of the image.
