Hello everyone,
im currently trying to save some entities to a scene. I looked at the scene example but that left some questions unanswered.
Primarily: do I always have to save every entity in a world?
Can I only save some entities (for example: from one or multiple queries). Or can I have multiple "active" worlds at the same time (for example, a editor would have 2 worlds, one for the editor itself (UI and stuff) and one for the currently open scene).
I also ran into some problems while playing around with the example. Here I try to save or load a world based on a index/number. I removed the world parameter from the system and instead use the AppTypeRegistry-Resource (it was the only thing that the example needed) as well as my on resources and stuff.
However It always crashes at let serialized_scene = scene.serialize_ron(&type_registry).unwrap(); with the following error:
Any guidance / resources on this topic are appreciated.