{"record":{"id":"0913676d92533562","repo":"bevyengine/bevy","slug":"no-typeinfo-found-for-argument","errorCode":null,"errorMessage":"no `TypeInfo` found for argument: {:?}","messagePattern":"no `TypeInfo` found for argument: (.+?)","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/bevy_reflect/src/func/signature.rs","lineNumber":81,"sourceCode":"/// A wrapper around a borrowed [`ArgList`] that can be used as an\n/// [equivalent] of an [`ArgumentSignature`].\n///\n/// [equivalent]: Equivalent\npub(super) struct ArgListSignature<'a, 'b>(&'a ArgList<'b>);\n\nimpl Equivalent<ArgumentSignature> for ArgListSignature<'_, '_> {\n    fn equivalent(&self, key: &ArgumentSignature) -> bool {\n        self.len() == key.len() && self.iter().eq(key.iter())\n    }\n}\n\nimpl<'a, 'b> ArgListSignature<'a, 'b> {\n    pub fn iter(&self) -> impl ExactSizeIterator<Item = &Type> {\n        self.0.iter().map(|arg| {\n            arg.value()\n                .get_represented_type_info()\n                .unwrap_or_else(|| {\n                    panic!(\"no `TypeInfo` found for argument: {:?}\", arg);\n                })\n                .ty()\n        })\n    }\n\n    pub fn len(&self) -> usize {\n        self.0.len()\n    }\n}\n\nimpl Eq for ArgListSignature<'_, '_> {}\n\nimpl PartialEq for ArgListSignature<'_, '_> {\n    fn eq(&self, other: &Self) -> bool {\n        self.len() == other.len() && self.iter().eq(other.iter())\n    }\n}\n","sourceCodeStart":63,"sourceCodeEnd":99,"githubUrl":"https://github.com/bevyengine/bevy/blob/396ca727080776bd313bb892423b7d94e03b81b4/crates/bevy_reflect/src/func/signature.rs#L63-L99","documentation":"Panic in ArgListSignature::iter (signature computation for overload lookup): one of the arguments' values has no represented type (get_represented_type_info returned None), typically an untyped DynamicType value, so its Type cannot be determined. Ensure arguments carry represented type info.","triggerScenarios":"Thrown at crates/bevy_reflect/src/func/signature.rs:81 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Ensure every argument type implements Typed/Reflect so TypeInfo exists","Register the argument types in the type registry before calling"],"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"}