Window gets stuck when no camera is spawned
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## Bevy version and features
- 0.18.0 and 0.18.1 no default features
## \[Optional\] Relevant system information
- cargo 1.94.0 (85eff7c80 2026-01-15)
SystemInfo { os: "Linux (Arch Linux)", kernel: "6.19.6-arch1-1", cpu: "AMD Ryzen 9 7950X 16-Core Processor", core_count: "16", memory: "30.4 GiB" }
AdapterInfo { name: "AMD Radeon RX 6650 XT (RADV NAVI23)", vendor: 4098, device: 29679, device_type: DiscreteGpu, driver: "radv", driver_info: "Mesa 26.0.1-arch1.1", backend: Vulkan }
## What you did
create a empty bevy project, and run
## What went wrong
If camera not set, window seems stuck. setup camera fix the problem
```
use bevy::prelude::*;
fn main() {
App::new()
.add_plugins(DefaultPlugins)
//.add_systems(Startup, setup_camera)
.run();
}
fn setup_camera(mut commands: Commands) {
// ui camera
commands.spawn(Camera2d);
}
```
- what were you expecting?
when camera not setup, popup window
- what actually happened?
window stuck
## Additional information
0.18.1, not set camera, window stuck, setup camera, window popup
https://github.com/user-attachments/assets/ba2b3a54-07ff-465e-a149-f34c69d8ab4f
0.17.3 not set camera, window popup
https://github.com/user-attachments/assets/1c6b4deb-8f71-4cda-8982-90c1c2941074
Contributor guide
Assessment
This issue has not been assessed yet.