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
I'm doing a game with big map, so I need to load/unload (Entity + Components) by the distance to the Player.
I find that I can de/serilaize entity with components by EntitiesSerializer/SceneEntitiesDeserializer,
but when de/serialize and load to world, the Entity not stable, Entity changes.
also in the doc of Entity.
In particular, directly serializing with Serialize and Deserialize make zero guarantee of long term wire format compatibility. Changes in behavior will cause serialized Entity values persisted to long term storage (i.e. disk, databases, etc.) will fail to deserialize upon being updated.
Is there a plan for stable Entity? or any crate helps?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm doing a game with big map, so I need to load/unload (Entity + Components) by the distance to the Player.
I find that I can de/serilaize entity with components by
EntitiesSerializer
/SceneEntitiesDeserializer
,but when de/serialize and load to world, the Entity not stable, Entity changes.
also in the doc of Entity.
Is there a plan for
stable Entity
? or any crate helps?Beta Was this translation helpful? Give feedback.
All reactions