A Plugin for bevy that creates a popup and logs to error on panic.
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.
| Bevy | bevy-panic-handler |
|---|---|
| 0.16.0 | 5.0.0 |
| 0.15.0 | 4.0.0 |
| 0.14.0 | 3.0.0 |
