Skip to content

Most bevy_refactor examples/ui do not work #1034

@bendavidsteel

Description

@bendavidsteel

When I run:
cargo run --release --features="nannou/egui" --example simple_ui

I get

Finished `release` profile [optimized] target(s) in 0.33s
     Running `target/release/examples/simple_ui`
2026-01-18T04:25:22.806492Z  INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce GTX 1650 with Max-Q Design", vendor: 4318, device: 8081, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "565.77", backend: Vulkan }
2026-01-18T04:25:22.994172Z  WARN bevy_egui: The `bevy_egui/picking` feature is enabled, but `PickingPlugin` is not added (if you use Bevy's `DefaultPlugins`, make sure the `bevy/bevy_picking` feature is enabled too)
2026-01-18T04:25:23.043150Z  INFO bevy_render::batching::gpu_preprocessing: GPU preprocessing is fully supported on this device.
2026-01-18T04:25:23.049290Z  INFO nannou::window: No camera provided for window, creating a default camera

thread 'main' panicked at nannou/src/app.rs:709:18:
No egui context
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `nannou::app::update<simple_ui::Model>`!
Encountered a panic in system `bevy_app::main_schedule::Main::run_main`!

This is on ubuntu. I get the same errors for tune_colour and circle_packing, but inspector_ui works.

By the way, is it still likely that bevy_refactor will be merged? What is the current status of nannou? I'm keen to use it (as a previous processing/open frameworks user) FYI!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions