Under certain circumstances, the weight of an entity (EntityAI.m_Weight) on client diverges from the server, causing a desync in other potential features that rely on the weight.
I've been able to reproduce the problem particularly with Entities with Attachments and/or a Cargo container.
Some examples of when it happens:
- When taking items into hands, the Player weight (PlayerBase::GetWeight) updates only on server
- When attaching/detaching items to another item attachment slot or player clothing slot, Player weight doesn't update on client
- When logging into a server, player weight remains 0 on client; the server correctly computes the weight in PlayerBase::AfterStoreLoad
- more ?