{"record":{"id":"61aa718b7f007c76","repo":"bevyengine/bevy","slug":"summary-ticks-are-only-supported-for-components-wi","errorCode":null,"errorMessage":"Summary ticks are only supported for components with table storage.","messagePattern":"Summary ticks are only supported for components with table storage\\.","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/bevy_ecs/macro_logic/src/component.rs","lineNumber":170,"sourceCode":"                }\n            } else if attr.path().is_ident(RELATIONSHIP) {\n                let relationship = attr.parse_args::<Relationship>()?;\n                attrs.relationship = Some(relationship);\n            } else if attr.path().is_ident(RELATIONSHIP_TARGET) {\n                let relationship_target = attr.parse_args::<RelationshipTarget>()?;\n                attrs.relationship_target = Some(relationship_target);\n            }\n        }\n\n        if attrs.relationship_target.is_some() && attrs.clone_behavior.is_some() {\n            return Err(syn::Error::new(\n                attrs.clone_behavior.span(),\n                \"A Relationship Target already has its own clone behavior, please remove `clone_behavior = ...`\",\n            ));\n        }\n\n        if attrs.summary_tick && matches!(attrs.storage, Some(StorageTy::SparseSet)) {\n            return Err(syn::Error::new(\n                ast.span(),\n                \"Summary ticks are only supported for components with table storage.\",\n            ));\n        }\n\n        Ok(attrs)\n    }\n\n    /// Generates a new `Component` trait implementation from this specification.\n    ///\n    /// Note that this will add Send + Sync + 'static to the where clause\n    pub fn impl_component(\n        self,\n        ast: &mut DeriveInput,\n        bevy_ecs: &Path,\n        default_storage: StorageTy,\n    ) -> Result<TokenStream> {\n        // We want to raise a compile time error when the generic lifetimes","sourceCodeStart":152,"sourceCodeEnd":188,"githubUrl":"https://github.com/bevyengine/bevy/blob/396ca727080776bd313bb892423b7d94e03b81b4/crates/bevy_ecs/macro_logic/src/component.rs#L152-L188","documentation":"Compile-time error from the Component derive: #[component(summary_tick)] (or a related summary-tick feature) was requested on a component whose storage is not table (sparse-set storage), but summary ticks are only implemented for table storage.","triggerScenarios":"Thrown at crates/bevy_ecs/macro_logic/src/component.rs:170 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Remove the summary_tick attribute","Change the component to table storage (remove storage = \"sparse_set\"])"],"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"}