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

3d shapes web example crashes when enabling wireframes #14371

Closed
aevyrie opened this issue Jul 17, 2024 · 1 comment · Fixed by #14402
Closed

3d shapes web example crashes when enabling wireframes #14371

aevyrie opened this issue Jul 17, 2024 · 1 comment · Fixed by #14402
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior C-Examples An addition or correction to our examples O-Web Specific to web (WASM) builds
Milestone

Comments

@aevyrie
Copy link
Member

aevyrie commented Jul 17, 2024

Bevy version

https://bevyengine.org/examples/3d-rendering/3d-shapes/

WebGL and WebGPU backends are affected.

What you did

Press space.

What went wrong

Example freezes, logs show that the app is panicking.

panicked at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.20.1/src/backend/wgpu_core.rs:2996:5:
wgpu error: Validation Error

Caused by:
    In Device::create_render_pipeline
      note: label = `prepass_pipeline`
    Features Features(POLYGON_MODE_LINE) are required but not enabled on the device
@aevyrie aevyrie added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen C-Examples An addition or correction to our examples O-Web Specific to web (WASM) builds labels Jul 17, 2024
@aevyrie aevyrie added this to the 0.14.1 milestone Jul 17, 2024
@mockersf
Copy link
Member

mockersf commented Jul 17, 2024

same as #14353, this can't work in wasm

fix would be to remove the ability to switch in wasm

github-merge-queue bot pushed a commit that referenced this issue Jul 29, 2024
…14402)

Fixes #14353
Fixes #14371

---------

Signed-off-by: Sarthak Singh <sarthak.singh99@gmail.com>
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
Co-authored-by: BD103 <59022059+BD103@users.noreply.github.com>
mockersf pushed a commit that referenced this issue Aug 2, 2024
…14402)

Fixes #14353
Fixes #14371

---------

Signed-off-by: Sarthak Singh <sarthak.singh99@gmail.com>
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
Co-authored-by: BD103 <59022059+BD103@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior C-Examples An addition or correction to our examples O-Web Specific to web (WASM) builds
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants