Projectile not detecting player only when spawned ue5

Hey all i have a very frustratring problem, i’m trying to make a homing projectile shot by the ai pawn that slowly going to the player. There’s a collision sphere around the projectile that disable homing and start charging an explosion when the player start overlaping with the collision sphere.
When i’m putting the projectile directly inside the level it work perfectly, however when it spawn through the ai the collision sphere doesn’t detect the overlap with the player (it detect the overlap with everything else).
I’ll throw in a few screenshot to put into context.


This one is tied to begin play inside the projectile actor. i added this in case the collision response change when fired from the ai pawn.

The begin overlap node here with a print to check with extra problems.

And lastly the fonction to spawn the projectile inside the ai pawn.

You seem to be casting to BP_FirstPersonCharacter1 on overlap are you sure that is your character?

Seems like a duplicate of BP_FirstPersonCahracter. It would be better to have your player character have an actor tag for example “Player” and then check if the other actor has the tag instead of casting.

Make sure that the sphere collider has generate overlap events ticked.

The sphere collider needs to be the first element in the hierarchy for it to register if you are using projectile movement component.