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

Game fails to run on larger resolution screens #4

Open
FentonA opened this issue Dec 23, 2023 · 0 comments
Open

Game fails to run on larger resolution screens #4

FentonA opened this issue Dec 23, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@FentonA
Copy link
Owner

FentonA commented Dec 23, 2023

This seems more of an issue with the bevy game engine instead of anything in our code. But essentially, when attempting to run

cargo run on screens with larger resolutions the build fails and returns the following error:
Running target/debug/doodlebob
2023-12-22T23:49:52.679443Z INFO bevy_render::r
enderer: AdapterInfo { name: "Apple M2 Pro", ven
dor: 0, device: 0, device_type: IntegratedGpu, d
river: "", driver_info: "", backend: Metal }
2023-12-22 17:49:53.029 doodlebob[20012:1235179]
CAMetalLayer ignoring invalid setDrawableSize w
idth=4294967295.000000 height=4294967295.000000
2023-12-22T23:49:53.030730Z ERROR log: Handling
wgpu errors as fatal by default
thread 'main' panicked at 'wgpu error: Validatio
n Error

Caused by:
In Device::create_texture
note: label = main_texture_a
Dimension X value 4294967295 exceeds the lim
it of 16384

', /Users/alffenton/.cargo/registry/src/index.cr
ates.io-6f17d22bba15001f/wgpu-0.14.2/src/backend
/direct.rs:2403:5
stack backtrace:

This specifically seem to happen in macos only and relates to the following issue posted on the bevy github here:
bevyengine/bevy#9389

@FentonA FentonA pinned this issue Dec 23, 2023
@FentonA FentonA added the bug Something isn't working label Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant