Issue With LineTraceSingle

I’m using the LineTraceSingle function from UKismetSystemLibrary and I can visualize the debug trace in my application.

I see a line going through the a character in the world and it changes color on the other side indicating that a collision has been detected.

However, the function returns false and the FHitResult information doesn’t have the actor hit, the bone name or the blocking hit set correctly.

Any idea what I could be missing here?

Well first of all, Are you making an if statement that you hit the component?

We say if it hit an actor :

if (HitResult.GetActor())
{
// And then what here if its valid etc
}