junkdog / artemis-odb

A continuation of the popular Artemis ECS framework
BSD 2-Clause "Simplified" License
777 stars 112 forks source link

[BUG] @EntityId pulling transient data into serialization #640

Open DaanVanYperen opened 3 years ago

DaanVanYperen commented 3 years ago

Copied from Gitter. Not verified.

Marcus Lagerström @ghroot Apr 01 13:25 Is there a concept of transient entities built in somehow? I've tried introducing a Transient component and using it to exclude on it when serializing the world, but any fields with @EntityId referencing a "transient entity" will end up pulling it into the serialization process.