UChildActorComponent Call a Function

I’m not entirely sure what you’re trying to accomplish by creating the component before the actor class, but part of your problem is that you’re casting a component to an actor, which shouldn’t work since they have no parent-child relationship.

Perhaps try this: WaponR = Cast(WaponRComp->GetChildActor());

Again, I’d really look into why you’re creating the component->actor relationship backwards.