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

Crash after load a DDS texture. #8615

Open
AllenDang opened this issue May 15, 2023 · 1 comment · May be fixed by #17890
Open

Crash after load a DDS texture. #8615

AllenDang opened this issue May 15, 2023 · 1 comment · May be fixed by #17890
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior S-Needs-Review Needs reviewer attention (from anyone!) to move forward

Comments

@AllenDang
Copy link

Bevy version

0.10

What you did

Use asset server to load this DDS texture (Tex_0012_0.dds.zip)

What went wrong

Bevy crashed with following error:

thread 'Compute Task Pool (0)' panicked at 'wgpu error: Validation Error

Caused by:
    In Device::create_bind_group
    texture binding 1 expects dimension = D2, but given a view with dimension = D1

', /Users/allen/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.15.1/src/backend/direct.rs:3024:5
@AllenDang AllenDang added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels May 15, 2023
@nicopap nicopap added A-Rendering Drawing game state to the screen 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 21, 2023
@Kanabenki
Copy link
Contributor

Are you sure your DDS file is valid ? I just checked and its dimensions are 1x1, so it is being picked up as a 1D texture since the height is 1.

@alice-i-cecile alice-i-cecile added S-Needs-Review Needs reviewer attention (from anyone!) to move forward and removed S-Needs-Investigation This issue requires detective work to figure out what's going wrong labels Feb 17, 2025
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 S-Needs-Review Needs reviewer attention (from anyone!) to move forward
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants