Replication
EquipmentComponent fully replicates:
- Equipped items array
- Visual updates
Authority
All equipment changes are validated on the server. Client calls automatically forward to the server via RPC:Visual Updates
Visuals rebuild from the replicatedEquippedItems array on each client automatically via OnRep_EquippedItems. If visuals are out of sync, call:
Multiplayer Helper Functions
IsLocalPlayer() to skip cosmetic-only visual work on simulated proxies.
Debugging
PrintDebugState is also a CallInEditor button on the component — click it while PIE is paused to diagnose visual sync issues without writing any code.