{"record":{"id":"2306ca24e4dfab54","repo":"bevyengine/bevy","slug":"partialreflect-reflect-clone-not-implemented-fo","errorCode":null,"errorMessage":"`PartialReflect::reflect_clone` not implemented for `{type_path}`","messagePattern":"`PartialReflect::reflect_clone` not implemented for `(.+?)`","errorType":"exception","errorClass":"ReflectCloneError","httpStatus":null,"severity":"error","filePath":"crates/bevy_reflect/src/error.rs","lineNumber":13,"sourceCode":"use crate::FieldId;\nuse alloc::{borrow::Cow, format};\nuse thiserror::Error;\n\n/// An error that occurs when cloning a type via [`PartialReflect::reflect_clone`].\n///\n/// [`PartialReflect::reflect_clone`]: crate::PartialReflect::reflect_clone\n#[derive(Clone, Debug, Error, PartialEq, Eq)]\npub enum ReflectCloneError {\n    /// The type does not have a custom implementation for [`PartialReflect::reflect_clone`].\n    ///\n    /// [`PartialReflect::reflect_clone`]: crate::PartialReflect::reflect_clone\n    #[error(\"`PartialReflect::reflect_clone` not implemented for `{type_path}`\")]\n    NotImplemented {\n        /// The fully qualified path of the type that [`PartialReflect::reflect_clone`](crate::PartialReflect::reflect_clone) is not implemented for.\n        type_path: Cow<'static, str>,\n    },\n    /// The type cannot be cloned via [`PartialReflect::reflect_clone`].\n    ///\n    /// This type should be returned when a type is intentionally opting out of reflection cloning.\n    ///\n    /// [`PartialReflect::reflect_clone`]: crate::PartialReflect::reflect_clone\n    #[error(\"`{type_path}` cannot be made cloneable for `PartialReflect::reflect_clone`\")]\n    NotCloneable {\n        /// The fully qualified path of the type that cannot be cloned via [`PartialReflect::reflect_clone`](crate::PartialReflect::reflect_clone).\n        type_path: Cow<'static, str>,\n    },\n    /// The field cannot be cloned via [`PartialReflect::reflect_clone`].\n    ///\n    /// When [deriving `Reflect`], this usually means that a field marked with `#[reflect(ignore)]`\n    /// is missing a `#[reflect(clone)]` attribute.","sourceCodeStart":1,"sourceCodeEnd":31,"githubUrl":"https://github.com/bevyengine/bevy/blob/396ca727080776bd313bb892423b7d94e03b81b4/crates/bevy_reflect/src/error.rs#L1-L31","documentation":"ReflectCloneError::NotImplemented — reflect_clone was called on a type whose TypeRegistration has no custom ReflectClone/reflect_clone implementation (e.g. a type not deriving Reflect with clone support registered). Register a clone handler or derive the appropriate support for the named type_path.","triggerScenarios":"Thrown at crates/bevy_reflect/src/error.rs:13 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Derive Reflect on the type so reflect_clone is generated","Implement PartialReflect::reflect_clone manually for the type","Clone via the concrete type instead of reflection where possible"],"exampleFix":null,"handlingStrategy":"fallback","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"}