[Fixed] Replication not working on client owner, need help

hello, i’m staring my journey into multiplayer/replication using UE4, back in the days of UDK i made a small multiplayer game, but don’t remember too much all the network stuff.

i’m working with the alsv4, i got the replicated version from github and i’m starting from there, i’m trying to attach a weapon to the player, the issue is that, if i pick up the weapon with the client, the server shows the client picked the weapon and also show the gun in the player’s hand, but in the client the weapon is in the location 0,0,0 for the player.

i’m calling the spawn weapon event in this way:


don’t know why is not working, i saw a tutorial on youtube that used this same way to spawn on multiplayer.

here is the result

any ideas on what can be the cause for the issue ?

thanks in advance for all the help.

2 Likes

i found the solution, if someone faces this issue, uncheked the “replicates” ooption in the weapon blueprint, like this

hopes this will help someone

2 Likes