diff --git a/crates/bevy_scene/src/scene.rs b/crates/bevy_scene/src/scene.rs index db9f7fae7d..afb178eb19 100644 --- a/crates/bevy_scene/src/scene.rs +++ b/crates/bevy_scene/src/scene.rs @@ -63,7 +63,11 @@ impl Scene { let type_registry = type_registry.read(); // Resources archetype - for (component_id, _) in self.world.storages().resources.iter() { + for (component_id, resource_data) in self.world.storages().resources.iter() { + if !resource_data.is_present() { + continue; + } + let component_info = self .world .components()