uint8 Doesn't Replicate / Trigger OnRep function if Zero
This seems like it should be a bug, but it may be intentional so posting here just in case. This issue effects a LOT of UE4's replication, especially serialized rotators. In my case it affects quantized floats.
Essentially, if a Replicated uint8 is changed on the server to be zero from a previous value - it either doesn't replicate to clients, or it doesn't trigger the OnRep function on a client.
To get around this, I have had to add a value of '1' to my packed uint8, and remove it again on the client side. This instantly fixes the problem - but of course this limits some of the useful range of the uint8, so this needs to be resolved.
asked Nov 20 '15 at 10:06 PM in Bug Reports
I have investigated this issue further, and have discovered that this is a known issue in our system with OnRep functions not firing on the client (UE-11876).
Have a great day
answered Jan 05 '16 at 06:23 PM
Sean L ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here