15 releases (7 major breaking)
| 7.0.0 | Jan 26, 2026 |
|---|---|
| 6.0.0 | Oct 31, 2025 |
| 5.0.0 | Apr 25, 2025 |
| 4.0.1 | Feb 21, 2025 |
| 0.1.0 | Sep 25, 2023 |
#421 in Game dev
37 downloads per month
73KB
115 lines
A wrapper for panics using Bevy's plugin system.
On supported platforms (windows, macos, linux) will produce a popup using the msgbox crate in addition to logging through bevy_log if the log feature is enabled.
Bevy Panic Handler
A Plugin for bevy that creates a popup and logs to error on panic.
Usage
use bevy::prelude::*;
fn main() {
App::new()
.add_plugins(bevy::log::LogPlugin)
.add_plugins(bevy_panic_handler::PanicHandler::new().build())
// Normal bevy code...
}
Check examples for more usages.
Example
Version Compatibility
| Bevy | bevy-panic-handler |
|---|---|
| 0.18 | 7.0.0 |
| 0.17 | 6.0.0 |
| 0.16 | 5.0.0 |
| 0.15 | 4.0.0 |
| 0.14 | 3.0.0 |
Dependencies
~21–42MB
~708K SLoC
