dioxus icon indicating copy to clipboard operation
dioxus copied to clipboard

bevy-example panic when click "Show cube" in v0.7.0-rc.3

Open guzuomuse opened this issue 6 months ago • 1 comments

Problem

Steps To Reproduce dx serve --package bevy-example click hide cube and then click show cube got panic message:

12:19:25 [windows] 2025-10-28T04:19:25.544158Z INFO bevy_app::terminal_ctrl_c_handler: Skipping installing Ctrl+C handler as one was already installed. Please call TerminalCtrlCHandlerPlugin::gracefully_exit in your own Ctrl+C handler if you want Bevy to gracefully exit on Ctrl+C. 12:19:25 [windows] 2025-10-28T04:19:25.682051Z INFO bevy_render::batching::gpu_preprocessing: Some GPU preprocessing are limited on this device. 12:19:25 [windows] thread 'Compute Task Pool (2)' panicked at C:\Users\cao.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\bevy_render-0.17.2\src\render_resource\bind_group_layout.rs:73:10: 12:19:25 [windows] init_empty_bind_group_layout was called more than once: BindGroupLayout { id: BindGroupLayoutId(4091), value: WgpuWrapper(BindGroupLayout { inner: Core(CoreBindGroupLayout { context: ContextWgpuCore { type: "Native" }, id: Id(258,2) }) }) } 12:19:25 [windows] note: run with RUST_BACKTRACE=1 environment variable to display a backtrace 12:19:25 [windows] Encountered a panic in system bevy_render::render_resource::bind_group_layout::init_empty_bind_group_layout! 12:19:26 [windows] libpng warning: iCCP: cHRM chunk does not match sRGB 12:19:26 [dev] Application [windows] exited with error: exit code: 101

Steps to reproduce the behavior:

Expected behavior no panic

Screenshots

Environment:

  • Dioxus version: dioxus 0.7.0-rc.3 (was built without git repository)
  • Rust version: rustc 1.90.0 (1159e78c4 2025-09-14)
  • OS info: windows10
  • App platform: desktop

Questionnaire

guzuomuse avatar Oct 28 '25 04:10 guzuomuse

Got similar issue in mac

Environment:

  • Dioxus version: dioxus 0.7.0
  • Rust version: rustc 1.91.0 (f8297e351 2025-10-28)
  • OS info: macos 15.6.1
  • App platform: desktop

Yiozolm avatar Nov 04 '25 05:11 Yiozolm