Damages Server to Client Replication

jdgfkf
Sun, 10 Oct 2021 08:54:18 +0000
Multiplayer & Networking

Hi everyone,

So I have a “simple” replication problem, damages are not replicated.

When client is firing, the fire event is called in the weapon BP. It’s a event that runs on owning client, with a line trace and if it hits another player, it calls the next event called ApplyDamageServer.

The ApplyDamageServer is an event that runs on server.

I think it should work, at least all examples I’ve seen are done this way, but it doesn’t and I can’t get my head around to why .

It only works when playing with the server character, not with the other clients.
Tried to change the ApplyDamageServer to multicast, it’s not working either.
Weapon BP is set to replicated.

Thanks

2 posts - 1 participant