Call Function failed i multiplayer game

Hey, I have a question.

I spawn a “Pea Shooter” which is set “run on server” when my chatactor created.


Then I want to judge whether it can shoot locally so I set “Shoot” Event no replicated.

In BP_PeaShooter, interface function can run properly until “Spawn Bullet”.

In client, why it can not execute? It looks like this event has been skipped. I have set PeaShooter、Bullet_Pea replicated.

the client likely doesnt Own the bullet so cant call server RPCs,

switch your IA_Shoot->Shoot call to RunOnServer

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.