When an Actor Component blueprint has a variable exposed to spawn, the Owner is incorrect.
In this example, I made a new Third Person Project. Added a projectile Actor that has no code. Then added an Actor Component (which prints the name of its owner). Finally, added a keypress event to the Third Person Character blueprint so it can spawn a projectile and add the custom component to it. This correctly reports that the owner of the actor component is the projectile it is attached to.
However, if you add any variable to the actor component and expose it to spawn, the owner now reports as the Third Person Character.
The ‘Owner’ is the Actor to which the component belongs (normally the one that created it), not the one it is attached to. It is valid to attach one of your components to another actor, but that does not transfer ‘ownership’.
Hmm well in that case the bug appears when you attach an actor component without any variables to an actor. I’m curious then, is there a variable that’s GetActorThisComponentIsAttachedTo or something to this effect?