DioxusLabs / DioxusLabs/dioxus
bevy-example panic when click "Show cube" in v0.7.0-rc.3
- Dominant language
- Rust
- Stars
- 39.1k
- Forks
- 1.9k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
**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**
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.