View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000490||Medieval Engineers||Bug||public||2023-07-27 20:50||2023-07-27 20:50|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Target Version||0.7.4.x (unreleased)|
|Summary||0000490: State group based components get replicated twice|
Components that define custom replicables with custom IMyReplicableSerializationData implementations get serialized twice, once by the owning entity replicable and once by the custom IMyReplicableSerializationData. Practically this means that inventory items are always sent upfront with the block entity, then are sent again as part of component replicable / state group.
There should probably be an addition to IMyReplicableSerializationData that allows for the replicable to either redact parts of the component's object builder sent via entity replicable, or just a simple flag to omit the component's object builder in the entity replicable.