bevyengine/bevy · error · BrpError
-23402
-23402
Error message
Unknown component type: `{}` What it means
BRP error from the component-mutation builtin method: the requested component type name was not found in the app's TypeRegistry, so the component cannot be reflected or mutated remotely. Use a registered component or register its type.
Solutions
- Use the exact fully-qualified component type name
- Ensure the component type is registered in the AppTypeRegistry
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at crates/bevy_remote/src/builtin_methods.rs:1185 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of bevyengine/bevy@a62cce8c05 (2026-08-20).
Data as JSON: /api/errors/baae6ce218e14200.
Report an issue: GitHub.
Appendix: source
Thrown at crates/bevy_remote/src/builtin_methods.rs:1248
/// component.
pub fn process_remote_mutate_components_request(
In(params): In<Option<Value>>,
world: &mut World,
) -> BrpResult {
let BrpMutateComponentsParams {
entity,
component,
path,
value,
} = parse_some(params)?;
let app_type_registry = world.resource::<AppTypeRegistry>().clone();
let type_registry = app_type_registry.read();
// Get the fully-qualified type names of the component to be mutated.
let component_type: &TypeRegistration = type_registry
.get_with_type_path(&component)
.ok_or_else(|| {
BrpError::component_error(anyhow!("Unknown component type: `{}`", component))
})?;
// Get the reflected representation of the component.
let mut reflected = component_type
.data::<ReflectComponent>()
.ok_or_else(|| {
BrpError::component_error(anyhow!("Component `{}` isn't registered", component))
})?
.reflect_mut(world.entity_mut(entity))
.ok_or_else(|| {
BrpError::component_error(anyhow!("Cannot reflect component `{}`", component))
})?;
// Get the type of the field in the component that is to be
// mutated.
let value_type: &TypeRegistration = type_registry
.get_with_type_path(
reflectedView on GitHub (pinned to a62cce8c05)