{"record":{"id":"5e241ac462868f97","repo":"bevyengine/bevy","slug":"encountered-a-duplicate-process-asset-transaction-5e241a","errorCode":null,"errorMessage":"Encountered a duplicate process asset transaction: {0}","messagePattern":"Encountered a duplicate process asset transaction: (.+?)","errorType":"exception","errorClass":"LogEntryError","httpStatus":null,"severity":"error","filePath":"crates/bevy_asset/src/processor/log.rs","lineNumber":276,"sourceCode":"/// An error that occurs when validating the [`ProcessorTransactionLog`] fails.\n#[derive(Error, Debug)]\npub enum ValidateLogError {\n    /// An error that could not be recovered from. All assets will be reprocessed.\n    #[error(\"Encountered an unrecoverable error. All assets will be reprocessed.\")]\n    UnrecoverableError,\n    /// A [`ReadLogError`].\n    #[error(\"Failed to read log entries: {0}\")]\n    ReadLogError(BevyError),\n    /// Duplicated process asset transactions occurred.\n    #[error(\"Encountered a duplicate process asset transaction: {0:?}\")]\n    EntryErrors(Vec<LogEntryError>),\n}\n\n/// An error that occurs when validating individual [`ProcessorTransactionLog`] entries.\n#[derive(Error, Debug)]\npub enum LogEntryError {\n    /// A duplicate process asset transaction occurred for the given asset path.\n    #[error(\"Encountered a duplicate process asset transaction: {0}\")]\n    DuplicateTransaction(AssetPath<'static>),\n    /// A transaction was ended that never started for the given asset path.\n    #[error(\"A transaction was ended that never started {0}\")]\n    EndedMissingTransaction(AssetPath<'static>),\n    /// An asset started processing but never finished at the given asset path.\n    #[error(\"An asset started processing but never finished: {0}\")]\n    UnfinishedTransaction(AssetPath<'static>),\n}\n","sourceCodeStart":258,"sourceCodeEnd":285,"githubUrl":"https://github.com/bevyengine/bevy/blob/396ca727080776bd313bb892423b7d94e03b81b4/crates/bevy_asset/src/processor/log.rs#L258-L285","documentation":"Raised when validating the asset processor transaction log reveals duplicate 'end process asset' entries: an EndProcessAsset transaction was encountered for an asset whose processing had already ended, so the paired begin/end bookkeeping is inconsistent. Typically caused by a crash during logging or manual edits to the log file.","triggerScenarios":"Thrown at crates/bevy_asset/src/processor/log.rs:276 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Remove the processed asset directory to force a fresh transaction log","Check for concurrent processor instances writing to the same processed asset folder"],"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-14T00:17:10.932Z"}