{"record":{"id":"fe8f966abf0e546c","repo":"bevyengine/bevy","slug":"failed-to-validate-asset-log-0","errorCode":null,"errorMessage":"Failed to validate asset log: {0}","messagePattern":"Failed to validate asset log: (.+?)","errorType":"exception","errorClass":"InitializeError","httpStatus":null,"severity":"error","filePath":"crates/bevy_asset/src/processor/mod.rs","lineNumber":1827,"sourceCode":"pub enum ProcessorState {\n    /// The processor is still initializing, which involves scanning the current asset folders,\n    /// constructing an in-memory view of the asset space, recovering from previous errors / crashes,\n    /// and cleaning up old / unused assets.\n    Initializing,\n    /// The processor is currently processing assets.\n    Processing,\n    /// The processor has finished processing all valid assets and reporting invalid assets.\n    Finished,\n}\n\n/// An error that occurs when initializing the [`AssetProcessor`].\n#[derive(Error, Debug)]\npub enum InitializeError {\n    #[error(transparent)]\n    FailedToReadSourcePaths(AssetReaderError),\n    #[error(transparent)]\n    FailedToReadDestinationPaths(AssetReaderError),\n    #[error(\"Failed to validate asset log: {0}\")]\n    ValidateLogError(#[from] ValidateLogError),\n}\n\n/// An error when attempting to set the transaction log factory.\n#[derive(Error, Debug)]\npub enum SetTransactionLogFactoryError {\n    /// The transaction log is already in use, so setting the factory does nothing.\n    #[error(\"Transaction log is already in use so setting the factory does nothing\")]\n    AlreadyInUse,\n}\n\n/// An error when retrieving an asset processor.\n#[derive(Error, Debug, PartialEq, Eq)]\npub enum GetProcessorError {\n    /// The processor of that name does not exist.\n    #[error(\"The processor '{0}' does not exist\")]\n    Missing(String),\n    /// The given short name is ambiguous between several processors.","sourceCodeStart":1809,"sourceCodeEnd":1845,"githubUrl":"https://github.com/bevyengine/bevy/blob/396ca727080776bd313bb892423b7d94e03b81b4/crates/bevy_asset/src/processor/mod.rs#L1809-L1845","documentation":"InitializeError::ValidateLogError: wrapping a ValidateLogError produced while the asset processor read and validated its transaction log during initialization. It fires when log entries are duplicated, mismatched, or unreadable, meaning prior processing state cannot be trusted.","triggerScenarios":"Thrown at crates/bevy_asset/src/processor/mod.rs:1827 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Follow the inner ValidateLogError variant for the specific cause","Delete the processed asset folder to force full reprocessing","Avoid running multiple processor instances against the same imported directory"],"exampleFix":null,"handlingStrategy":"fallback","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"}