Closed
Description
When trying to serialise a type that contains an Entity
reference, outside a World
, I get a panic with the error "No entity serializer set". Serializing an Entity
reference requires run_as_context
to be called in order to provide the thread-local variable containing the Canon
. This function is private, which means it's not possible to serialize/deserialize any type that contains Entity
if it's not in a component in the World
.
Could something be added to allow serde of Entity
outside a World
?
Metadata
Metadata
Assignees
Labels
No labels