You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Including the entity generation instead of just the index within the component event used by FlaggedStorage.
Motivation
When an entity is deleted removal events are generated for its components in FlaggedStorages. If another entity is created at the same index there is no way to tell if the removed components are from the old entity or the new one. When using this for network syncing the means we end up sending useless component removed events (since we can't be sure they don't apply to the new entity).
Drawbacks
This would be a breaking change and would increase the size of ComponentEvent
Unresolved questions
I would be happy to implement this if approved.
The text was updated successfully, but these errors were encountered:
Description
Including the entity generation instead of just the index within the component event used by
FlaggedStorage
.Motivation
When an entity is deleted removal events are generated for its components in
FlaggedStorage
s. If another entity is created at the same index there is no way to tell if the removed components are from the old entity or the new one. When using this for network syncing the means we end up sending useless component removed events (since we can't be sure they don't apply to the new entity).Drawbacks
This would be a breaking change and would increase the size of
ComponentEvent
Unresolved questions
I would be happy to implement this if approved.
The text was updated successfully, but these errors were encountered: