Closed
Description
openedon Jul 19, 2024
Bevy version
0.14 Release
[Optional] Relevant system information
- Rust version: cargo 1.79.0 (ffa9cf99a 2024-06-03)
- os: "Windows 11 Pro", kernel: "22631", cpu: "AMD Ryzen 9 7900X3D 12-Core Processor", core_count: "12", memory: "31.1 GiB"
- "NVIDIA GeForce RTX 4090", vendor: 4318, device: 9860, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "536.99", backend: Vulkan
What you did
I run the following setup
use bevy::prelude::*;
fn main() {
App::new()
.add_plugins(DefaultPlugins.set(WindowPlugin {
primary_window: Some(Window {
visible: false,
..default()
}),
..default()
}))
.add_systems(Update, make_visible)
.run();
}
fn make_visible(mut window: Query<&mut Window>, mut frames: Local<u32>) {
*frames += 1;
info!("count {}", *frames);
if *frames == 3 {
window.single_mut().visible = true;
}
}
What went wrong
I'm not seeing the app Window showing up, and the log was like
2024-07-19T18:21:46.423720Z INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Windows 11 Pro", kernel: "22631", cpu: "AMD Ryzen 9 7900X3D 12-Core Processor", core_count: "12", memory: "31.1 GiB" }
2024-07-19T18:21:46.666424Z INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 4090", vendor: 4318, device: 9860, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "536.99", backend: Vulkan }
2024-07-19T18:21:46.817481Z INFO bevy_winit::system: Creating new window "App" (Entity { index: 0, generation: 1 })
2024-07-19T18:21:46.827137Z INFO scene_viewer: count 1
The app doesn't exit and it stuck with frame count 1. No more output.
This is not the case on Mac 0.14, or Windows 0.13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
Platform-agnostic interface layer to run your app inPlatform-agnostic interface layer to run your app inAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorSpecific to the Windows desktop operating systemSpecific to the Windows desktop operating systemThis issue requires detective work to figure out what's going wrongThis issue requires detective work to figure out what's going wrong