{"record":{"id":"6ce4e70680d177be","repo":"bevyengine/bevy","slug":"path-not-found","errorCode":null,"errorMessage":"Path not found: {}","messagePattern":"Path not found: (.+?)","errorType":"exception","errorClass":"AssetReaderError","httpStatus":null,"severity":"error","filePath":"crates/bevy_asset/src/io/mod.rs","lineNumber":52,"sourceCode":"use bevy_tasks::{BoxedFuture, ConditionalSendFuture};\nuse core::{\n    mem::size_of,\n    pin::Pin,\n    task::{Context, Poll},\n};\nuse futures_io::{AsyncRead, AsyncSeek, AsyncWrite};\nuse futures_lite::Stream;\nuse std::{\n    io::SeekFrom,\n    path::{Path, PathBuf},\n};\nuse thiserror::Error;\n\n/// Errors that occur while loading assets.\n#[derive(Error, Debug, Clone)]\npub enum AssetReaderError {\n    /// Path not found.\n    #[error(\"Path not found: {}\", _0.display())]\n    NotFound(PathBuf),\n\n    /// Encountered an I/O error while loading an asset.\n    #[error(\"Encountered an I/O error while loading asset: {0}\")]\n    Io(Arc<std::io::Error>),\n\n    /// The HTTP request completed but returned an unhandled [HTTP response status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status).\n    /// - If the request returns a 404 error, expect [`AssetReaderError::NotFound`].\n    /// - If the request fails before getting a status code (e.g. request timeout, interrupted connection, etc), expect [`AssetReaderError::Io`].\n    #[error(\"Encountered HTTP status {0:?} when loading asset\")]\n    HttpError(u16),\n}\n\nimpl PartialEq for AssetReaderError {\n    /// Equality comparison for `AssetReaderError::Io` is not full (only through `ErrorKind` of inner error)\n    #[inline]\n    fn eq(&self, other: &Self) -> bool {\n        match (self, other) {","sourceCodeStart":34,"sourceCodeEnd":70,"githubUrl":"https://github.com/bevyengine/bevy/blob/396ca727080776bd313bb892423b7d94e03b81b4/crates/bevy_asset/src/io/mod.rs#L34-L70","documentation":"AssetReaderError::NotFound: the configured AssetReader could not find any asset at the requested path in its source. The path (as displayed in the error) does not exist in the asset source the reader is backed by.","triggerScenarios":"Thrown at crates/bevy_asset/src/io/mod.rs:52 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the asset path for typos and correct file extension","Confirm the file exists under the asset root for the active asset source (default assets/ or a named source)","Verify the processor output exists when reading from a processed source"],"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"}