-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
A-UIGraphical user interfaces, styles, layouts, and widgetsGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behavior
Description
Bevy version
0.6
What you did
use bevy::prelude::*;
use bevy::ui::UiPlugin;
fn main() {
App::new()
.add_plugins(MinimalPlugins)
.add_plugin(UiPlugin)
.run();
}
What actually happened
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', C:\Users\Alice\.cargo\registry\src\github.com-1ecc6299db9ec823\bevy_ui-0.6.0\src\render\mod.rs:62:70
This panic is in
bevy/crates/bevy_ui/src/render/mod.rs
Line 61 in 458cb7a
pub fn build_ui_render(app: &mut App) { |
Additional information
Related to #3155.
This is essential for headless integration testing of UI logic.
Metadata
Metadata
Assignees
Labels
A-UIGraphical user interfaces, styles, layouts, and widgetsGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behavior