{"record":{"id":"97ee42e6ca6a35ff","repo":"bevyengine/bevy","slug":"no-assetloader-found","errorCode":null,"errorMessage":"no `AssetLoader` found{}","messagePattern":"no `AssetLoader` found(.+?)","errorType":"exception","errorClass":"MissingAssetLoaderForExtensionError","httpStatus":null,"severity":"error","filePath":"crates/bevy_asset/src/server/mod.rs","lineNumber":2318,"sourceCode":"    /// The error the loader reported when attempting to load the asset.\n    ///\n    /// If you know the type of the error the asset loader returned, you can use\n    /// [`BevyError::downcast_ref()`] to get it.\n    pub fn error(&self) -> &BevyError {\n        &self.error\n    }\n}\n\n/// An error that occurs while resolving an asset added by `add_async`.\n#[derive(Error, Debug, Clone)]\n#[error(\"An error occurred while resolving an asset added by `add_async`: {error}\")]\npub struct AddAsyncError {\n    error: Arc<dyn core::error::Error + Send + Sync + 'static>,\n}\n\n/// An error that occurs when an [`AssetLoader`] is not registered for a given extension.\n#[derive(Error, Debug, Clone, PartialEq, Eq)]\n#[error(\"no `AssetLoader` found{}\", format_missing_asset_ext(extensions))]\npub struct MissingAssetLoaderForExtensionError {\n    extensions: Vec<String>,\n}\n\n/// An error that occurs when an [`AssetLoader`] is not registered for a given [`core::any::type_name`].\n#[derive(Error, Debug, Clone, PartialEq, Eq)]\n#[error(\"no `AssetLoader` found with the name '{type_name}'\")]\npub struct MissingAssetLoaderForTypeNameError {\n    /// The type name that was not found.\n    pub type_name: String,\n}\n\n/// An error that occurs when an [`AssetLoader`] is not registered for a given [`Asset`] [`TypeId`].\n#[derive(Error, Debug, Clone, PartialEq, Eq)]\n#[error(\"no `AssetLoader` found with the ID '{type_id:?}'\")]\npub struct MissingAssetLoaderForTypeIdError {\n    /// The type ID that was not found.\n    pub type_id: TypeId,","sourceCodeStart":2300,"sourceCodeEnd":2336,"githubUrl":"https://github.com/bevyengine/bevy/blob/227d3a6c661b3bdf3020d3e8290b5a6ffd0226f7/crates/bevy_asset/src/server/mod.rs#L2300-L2336","documentation":"MissingAssetLoaderForExtensionError — no registered AssetLoader handles the given file extension(s); format_missing_asset_ext appends the missing extension list to the message. Register a loader for the extension (or check for typos in the path) before loading.","triggerScenarios":"Thrown at crates/bevy_asset/src/server/mod.rs:2303 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Register an AssetLoader that handles the extension (e.g. via init_asset_loader)","Check the file extension for typos","Use a format whose loader is already registered"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"227d3a6c661b3bdf3020d3e8290b5a6ffd0226f7","analyzedAt":"2026-08-20T16:12:39.808Z","contentChangedAt":"2026-08-20T16:12:39.808Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}