{"record":{"id":"a6fa8558b0bf06bf","repo":"bevyengine/bevy","slug":"no-reflectbundle-registration-found-for","errorCode":null,"errorMessage":"no `ReflectBundle` registration found for `{}`","messagePattern":"no `ReflectBundle` registration found for `(.+?)`","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/bevy_ecs/src/reflect/bundle.rs","lineNumber":296,"sourceCode":"        );\n    } else if let Some(reflect_bundle) = registry.get_type_data::<ReflectBundle>(type_id) {\n        reflect_bundle.apply_or_insert_mapped(\n            entity,\n            field,\n            registry,\n            mapper,\n            relationship_hook_mode,\n        );\n    } else {\n        let is_component = entity.world().components().get_id(type_id).is_some();\n\n        if is_component {\n            panic!(\n                \"no `ReflectComponent` registration found for `{}`\",\n                field.reflect_type_path(),\n            );\n        } else {\n            panic!(\n                \"no `ReflectBundle` registration found for `{}`\",\n                field.reflect_type_path(),\n            )\n        }\n    }\n}\n","sourceCodeStart":278,"sourceCodeEnd":303,"githubUrl":"https://github.com/bevyengine/bevy/blob/396ca727080776bd313bb892423b7d94e03b81b4/crates/bevy_ecs/src/reflect/bundle.rs#L278-L303","documentation":"Thrown by apply_or_insert_field_mapped when a reflected field is neither a component registered in the World nor has ReflectBundle type data in the TypeRegistry, so reflection has no way to apply or insert it.","triggerScenarios":"Thrown at crates/bevy_ecs/src/reflect/bundle.rs:296 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Register the type with app.register_type::<T>() and derive Reflect on it","If it is a bundle, ensure it derives Reflect (which provides ReflectBundle data) and is registered","Verify the correct TypeRegistry is being passed to the reflective apply/insert call"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"396ca727080776bd313bb892423b7d94e03b81b4","analyzedAt":"2026-08-20T16:12:39.808Z","contentChangedAt":"2026-08-20T16:12:39.808Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}