Casting failed on blueprint

Hi friends,

I’m trying to do a cast to primaryWeapon_BP, where the function ScrapGunProjectile is located.
However, I keep getting a cast failed and I can’t seem to figure why. I’ve tried a bunch of different things already including plugging the get player character in the object, but still not casting.

Any help would be very appreciated !

Hey there,

I need some information:

  1. What Blueprint am I seeing on your Screenshot?
  2. What is the “Owner” of the Blueprint? Seems like you expect it to be the PrimaryWeapon
  3. Have you tried printing the DisplayName of “GetOwner” to see who/what the Owner really is?

(: If you can give me these, I might be able to find the mistake.

Cheers!