0.13 error (in desc) but v 0.12 works
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## Bevy version
The release number or commit hash of the version you're using.
0.12.1 - This version works.
0.13.0 - Does not work. Terminal shown below.
## \[Optional\] Relevant system information
If you cannot get Bevy to build or run on your machine, please include:
- the Rust version you're using (you can get this by running `cargo --version`)
1.77.2 on Windows 11
## What you did
I tried to run the Bevvy examples for version 0.13.. but no luck. Everything runs fine on Bevvy Version: 0.12.1
I have the latest drivers.
## What went wrong
```
C:/Users/user/.cargo/bin/cargo.exe run --color=always --package jasons_caravan --bin jasons_caravan
Finished dev [unoptimized + debuginfo] target(s) in 1.05s
Running `target\debug\jasons_caravan.exe`
2024-04-22T16:46:17.914135Z INFO bevy_winit::system: Creating new window "App" (0v1)
2024-04-22T16:46:19.304258Z ERROR wgpu_hal::vulkan::instance: enumerate_adapters: A return array was too small for the result
thread 'main' panicked at C:\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_render-0.13.2\src\renderer\mod.rs:141:10:
Unable to find a GPU! Make sure you have installed required drivers!
stack backtrace:
0: std::panicking::begin_panic_handler at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library\std\src\panicking.rs:647
1: core::panicking::panic_fmt at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library\core\src\panicking.rs:72
2: core::panicking::panic_display at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library\core\src\panicking.rs:196
3: core::panicking::panic_str at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library\core\src\panicking.rs:171
4: core::option::expect_failed at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library\core\src\option.rs:1988
5: enum2$ >::expect at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04\library\core\src\option.rs:894
6: bevy_render::renderer::initialize_renderer::async_fn$0 at C:\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_render-0.13.2\src\renderer\mod.rs:138
7: bevy_render::impl$3::build::async_block$0 at C:\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_render-0.13.2\src\lib.rs:292
8: futures_lite::future::block_on::closure$0,enum2$ > at C:\.cargo\registry\src\index.crates.io-6f17d22bba15001f\futures-lite-2.3.0\src\future.rs:99
9: std::thread::local::LocalKey > >::try_with >,futures_lite::future::block_on::closure_env$0,enum2$ > >::with >,futures_lite::future::block_on::closure_env$0,enum2$,enum2$ > at C:\.cargo\registry\src\index.crates.io-6f17d22bba15001f\futures-lite-2.3.0\src\future.rs:78
12: bevy_render::impl$3::build at C:\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_render-0.13.2\src\lib.rs:312
13: bevy_app::app::impl$5::add_boxed_plugin::closure$0 at C:\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_app-0.13.2\src\app.rs:657
14: core::ops::function::FnOnce::call_once > at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04\library\core\src\ops\function.rs:250
15: core::panic::unwind_safe::impl$23::call_once,bevy_app::app::impl$5::add_boxed_plugin::closure_env$0> at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04\library\core\src\panic\unwind_safe.rs:272
16: std::panicking::try::do_call,tuple$<> > at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04\library\std\src\panicking.rs:554
17: hashbrown::map::make_hash >
18: std::panicking::try,core::panic::unwind_safe::AssertUnwindSafe > at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04\library\std\src\panicking.rs:518
19: std::panic::catch_unwind,tuple$<> > at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04\library\std\src\panic.rs:142
20: bevy_app::app::App::add_boxed_plugin at C:\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_app-0.13.2\src\app.rs:657
21: bevy_app::plugin_group::PluginGroupBuilder::finish at C:\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_app-0.13.2\src\plugin_group.rs:182
22: bevy_app::plugin::sealed::impl$1::add_to_app at C:\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_app-0.13.2\src\plugin.rs:147
23: bevy_app::app::App::add_plugins at C:\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_app-0.13.2\src\app.rs:756
24: jasons_caravan::main at .\src\main.rs:9
25: core::ops::function::FnOnce::call_once > at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04\library\core\src\ops\function.rs:250
26: core::hint::black_box at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04\library\core\src\hint.rs:334 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. error: process didn't exit successfully: `target\debug\jasons_caravan.exe` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)
Process finished with exit code -1073741819 (0xC0000005)
```
Contributor guide
Assessment
This issue has not been assessed yet.