{"record":{"id":"b44c90f3d85cbcb5","repo":"bevyengine/bevy","slug":"a-transaction-was-ended-that-never-started-0","errorCode":null,"errorMessage":"A transaction was ended that never started {0}","messagePattern":"A transaction was ended that never started (.+?)","errorType":"exception","errorClass":"LogEntryError","httpStatus":null,"severity":"error","filePath":"crates/bevy_asset/src/processor/log.rs","lineNumber":279,"sourceCode":"    /// 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":261,"sourceCodeEnd":285,"githubUrl":"https://github.com/bevyengine/bevy/blob/396ca727080776bd313bb892423b7d94e03b81b4/crates/bevy_asset/src/processor/log.rs#L261-L285","documentation":"LogEntryError variant signalling that the transaction log contains an 'end' entry for an asset whose 'begin' entry was never written, so the log's transaction pairing is broken. The whole log is considered invalid and assets are reprocessed from scratch.","triggerScenarios":"Thrown at crates/bevy_asset/src/processor/log.rs:279 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Delete the processed/imported assets folder so the log is recreated","Ensure the processor is not killed abruptly between begin and end transactions (graceful shutdown)"],"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"}