Humanoid property replication lag when set by client

There is an issue with Humanoid property replication affecting my game at the moment. Properties of the humanoid set by the client sometimes take a very long time to replicate to the server, seemingly at random.

I am attempting to set the humanoids health to 0 on the client and listen for .Died on the server. For some reason, when I try to do this, it works 9 times out of 10 but occasionally takes a very long time to replicate. Please help.

Edit: After experimenting for a bit I found that it only occurs under very select circumstances.
I first experienced this issue in a game where, whenever the player died, all of their parts would be parented to a new model instance so as to keep their avatar in the game after they died.

After testing, I found that it is only with this setup that I experience the delay issue.
Here’s the place I tested it in. It should take about 10 ish deaths until you get the bug.

humanoiddiedtestingv2.rbxl (58.5 KB)

Granted, this is quite a peculiar use case and as such this bug probably wouldn’t be experienced by most players. Also feel free to make sure it isn’t just my code doing this for some reason.

Thanks for the report! I filed a ticket in our internal database.

1 Like

Hello there,
thanks for reporting this issue.
While we’re working on the root cause of the issue,
as a workaround for the meantime, when you trigger the killing of the player on the server side, the issue seems to not happen.
I’ve attached a version of your test place where in the button script it triggers a remote event to execute the killing in the handler in your server script.

humanoiddiedtestingv4.rbxl (59.3 KB)