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

Skinned mesh examples show blank screen and shader error #8409

Closed
rparrett opened this issue Apr 16, 2023 · 1 comment · Fixed by #8412
Closed

Skinned mesh examples show blank screen and shader error #8409

rparrett opened this issue Apr 16, 2023 · 1 comment · Fixed by #8412
Assignees
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior P-Regression Functionality that used to work but no longer does. Add a test for this!
Milestone

Comments

@rparrett
Copy link
Contributor

Bevy version

main
bisected to 8df014f

Relevant system information

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

What you did

cargo run --example gltf_skinned_mesh
cargo run --example custom_skinned_mesh

What went wrong

2023-04-16T21:49:39.028460Z ERROR bevy_render::render_resource::pipeline_cache: failed to process shader:
error: invalid field accessor `uv`
     ┌─ wgsl:1578:17
     │
1578 │     var uv = in.uv;
     │                 ^^ invalid accessor
@rparrett rparrett added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled A-Rendering Drawing game state to the screen and removed S-Needs-Triage This issue needs to be labelled labels Apr 16, 2023
@JMS55
Copy link
Contributor

JMS55 commented Apr 16, 2023

@nicopap looks like you accidentally wrote var uv = in.uv before the #ifdef VERTEX_UV.

@alice-i-cecile alice-i-cecile added the P-Regression Functionality that used to work but no longer does. Add a test for this! label Apr 16, 2023
@alice-i-cecile alice-i-cecile added this to the 0.11 milestone Apr 16, 2023
@nicopap nicopap self-assigned this Apr 17, 2023
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 P-Regression Functionality that used to work but no longer does. Add a test for this!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants