I have a save game system that uses Queries to grab all the relevant entities I need to save (units, items, etc) and then creates a dynamic scene builder that extracts all those entities, as well as any children.
Once I try to serialize the scene, it errors out and says that “Type ‘bevy_ecs::entity::Entity’ did not register ReflectSerialize”. These type of errors are the reason why I moved away from the idea of saving the entire world into a scene in one go, but now it’s still happening even when I am only extracting very specific entities. Any idea why this might be happening?
Entity is not a component or resource, so I can’t just .deny(Entity) on the DynamicSceneBuilder.
Thanks