{"record":{"id":"bbc76a7590c53f44","repo":"bevyengine/bevy","slug":"failed-to-deserialize-minimal-asset-meta-0","errorCode":null,"errorMessage":"Failed to deserialize minimal asset meta: {0:?}","messagePattern":"Failed to deserialize minimal asset meta: (.+?)","errorType":"exception","errorClass":"DeserializeMetaError","httpStatus":null,"severity":"error","filePath":"crates/bevy_asset/src/loader.rs","lineNumber":370,"sourceCode":"    RequestedSubasset(AssetPath<'static>),\n    /// A general [`AssetLoadError`] for an asset dependency.\n    #[error(\"Failed to load dependency {dependency:?} {error}\")]\n    LoadError {\n        /// Which dependency failed.\n        dependency: AssetPath<'static>,\n        /// The original error for that dependency.\n        error: Box<AssetLoadError>,\n    },\n}\n\n/// An error that occurs while deserializing [`AssetMeta`].\n#[derive(Error, Debug, Clone, PartialEq, Eq)]\npub enum DeserializeMetaError {\n    /// Failed to deserialize the asset metadata.\n    #[error(\"Failed to deserialize asset meta: {0:?}\")]\n    DeserializeSettings(#[from] SpannedError),\n    /// Failed to deserialize the minimal asset metadata.\n    #[error(\"Failed to deserialize minimal asset meta: {0:?}\")]\n    DeserializeMinimal(SpannedError),\n}\n\n/// A context that provides access to assets in [`AssetLoader`]s, tracks dependencies, and collects asset load state.\n///\n/// Any asset state accessed by [`LoadContext`] will be tracked and stored for use in dependency events and asset preprocessing.\npub struct LoadContext<'a> {\n    pub(crate) asset_server: &'a AssetServer,\n    /// Specifies whether dependencies that are loaded deferred should be loaded.\n    ///\n    /// This allows us to skip loads for cases where we're never going to use the asset and we just\n    /// need the dependency information, for example during asset processing.\n    pub(crate) should_load_dependencies: bool,\n    populate_hashes: bool,\n    asset_path: AssetPath<'static>,\n    pub(crate) dependencies: HashSet<ErasedAssetIndex>,\n    /// Direct dependencies used by this loader.\n    pub(crate) loader_dependencies: HashMap<AssetPath<'static>, AssetHash>,","sourceCodeStart":352,"sourceCodeEnd":388,"githubUrl":"https://github.com/bevyengine/bevy/blob/396ca727080776bd313bb892423b7d94e03b81b4/crates/bevy_asset/src/loader.rs#L352-L388","documentation":"DeserializeMetaError variant for minimal meta deserialization: even the minimal (header-only) form of the asset's .meta data failed to parse. Bevy first tries a minimal read of meta files; when that also fails the meta is unusable at any level.","triggerScenarios":"Thrown at crates/bevy_asset/src/loader.rs:370 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the .meta file — it may be truncated or corrupted","Delete/regenerate the .meta file to restore a valid minimal meta","Check that custom AssetMetaDyn implementations serialize a valid minimal form"],"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-14T05:17:10.506Z"}