Running bevy with default features and/or "android_shared_stdcxx" as a feature makes the app freeze before any systems can run
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 171
Description
## Bevy version
0.11.3
## \[Optional\] Relevant system information
cargo 1.73.0 (9c4383fb5 2023-08-26)
Arch Linux 6.5.6-arch2-1
AdapterInfo { name: "AMD JUNIPER (DRM 2.50.0 / 6.5.6-arch2-1, LLVM 16.0.6)", vendor: 65541, device: 0, device_type: Other, driver: "", driver_info: "", backend: Gl }
## What you did
i compiled bevy with default features enabled and it froze after a window appeared almost as if it was inside an infinite loop
so compiled it again with default features disabled and it worked so i have been testing it and found if you just compile bevy with
```
[dependencies.bevy]
version = "0.11.3"
default-features = false
features = [
"android_shared_stdcxx",
]
```
and run a simple program:
```
use bevy::prelude::*;
fn main() {
App::new()
.add_systems(Update, hello_world_system)
.run();
}
fn hello_world_system() {
println!("hello world");
}
```
and then compile it with "WGPU_BACKEND=gl cargo run"
## What went wrong
it wont run any systems and will just "freeze"
last terminal message is:
`"Running `target/debug/bevy_bug_test``
i expected it to print hello world
Contributor guide
Research direction
Reproduce the issue with the shown Cargo dependency features and the minimal Bevy program, first using default features and then android_shared_stdcxx with WGPU_BACKEND=gl cargo run. Trace startup before Update systems execute and compare the two feature configurations. Done means the application starts without freezing and prints hello world.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100