Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

without_winit example panics #8658

Closed
rparrett opened this issue May 23, 2023 · 1 comment · Fixed by #8740
Closed

without_winit example panics #8658

rparrett opened this issue May 23, 2023 · 1 comment · Fixed by #8740
Labels
A-Windowing Platform-agnostic interface layer to run your app in C-Bug An unexpected or incorrect behavior C-Examples An addition or correction to our examples S-Needs-Investigation This issue requires detective work to figure out what's going wrong

Comments

@rparrett
Copy link
Contributor

Bevy version

main df3e81c
bisected to 71842c5, but the specific panic has changed at some point between then and now.

Relevant system information

SystemInfo { os: "MacOS 13.3.1 ", kernel: "22.4.0", cpu: "Apple M1 Max", core_count: "10", memory: "64.0 GiB" }
AdapterInfo { name: "Apple M1 Max", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }

What you did

cargo run --example without_winit

What went wrong

thread 'Compute Task Pool (0)' panicked at 'Resource requested by bevy_render::render_resource::pipeline_cache::PipelineCache::extract_shaders does not exist: bevy_render::render_resource::pipeline_cache::PipelineCache', /Users/me/src/bevy/crates/bevy_ecs/src/system/system_param.rs:545:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_render::render_resource::pipeline_cache::PipelineCache::extract_shaders`!
@rparrett rparrett added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels May 23, 2023
@alice-i-cecile alice-i-cecile added C-Examples An addition or correction to our examples A-Windowing Platform-agnostic interface layer to run your app in S-Needs-Investigation This issue requires detective work to figure out what's going wrong and removed S-Needs-Triage This issue needs to be labelled labels May 26, 2023
@re0312
Copy link
Contributor

re0312 commented May 31, 2023

it's probably an issue with async render initialisation , since #8336 all plugins should call finish and cleanup before app is ready to update,But it is only executed within the winitplugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Windowing Platform-agnostic interface layer to run your app in C-Bug An unexpected or incorrect behavior C-Examples An addition or correction to our examples S-Needs-Investigation This issue requires detective work to figure out what's going wrong
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants