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

$ ./rust-invaders.exe wgpu error: Validation Error Caused by: In Device::create_texture Dimension X is zero #2

Closed
ltp456 opened this issue Aug 8, 2021 · 2 comments

Comments

@ltp456
Copy link

ltp456 commented Aug 8, 2021

I am a new player, there is an error;

$ ./rust-invaders.exe
wgpu error: Validation Error
Caused by:
In Device::create_texture
Dimension X is zero

@sunwukonga
Copy link

sunwukonga commented Oct 16, 2021

Can you describe your steps to reproduce the problem?

For instance, I did the following and had no problem:

cargo build --release
cd target/release
ln -s ../../assets ./assets
./rust-invaders

Using origin/main at commit 58766b9. Current HEAD.

rustup show gives

active toolchain
----------------

nightly-x86_64-unknown-linux-gnu (default)
rustc 1.57.0-nightly (e1e9319d9 2021-10-14)

Linux archlinux 5.13.0-rc3-1-drm-tip-git-g7f5eac3354e9 #1 SMP PREEMPT Sun, 30 May 2021 10:38:23 +0000 x86_64 GNU/Linux
Two core Intel(R) Pentium(R) CPU G3420 @ 3.20GHz
Onboard gfx: VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)

Seems to be a known problem with Windows: bevyengine/bevy#2299

@jeremychone
Copy link
Contributor

@abortrao Can you let me know if you still get the issue with the latest main branch (I updated to bevy v0.6 with edition 2021). So, those issues might be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants