-
Notifications
You must be signed in to change notification settings - Fork 943
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
Dimension X value 4480 exceeds the limit of 4096 #5058
Comments
I suspect you're hitting the same thing I've been hitting for a bit. Make sure you have This will fix regular viewing on android, but will not fix "desktop site" mode on phones. See https://bugs.chromium.org/p/chromium/issues/detail?id=1517022&q=&can=8 |
I tried Note: I also have tried: |
Maybe add the same but for height? https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag |
tried adding |
Hmm, is the canvas somehow ending up vastly oversized in the height dimension when laid out by CSS? |
Unsure, i think it's a bevy issue. Closing for now and I'll track here bevyengine/bevy#7038 |
Using bevyengine/bevy to make a WASM game, and I've had this issue for a long time. Unsure if there's a work around for my error.
Description
When using certain devices specifically a Pixel 6 Pro, I'll get an error in the web console log:
Pixel 6 pro reporting back in browser these dimensions:
screen.width = 412
screen.height = 746
The device pixel ratio = 3.5
window.innerHeight = 1492
window.innerWidth = 412
Platform
Information about your OS, version of
wgpu
, your tech stack, etc.INFO /..../.cargo/git/checkouts/bevy-f7ffde730c324c74/101037d/crates/bevy_render/src/renderer/mod.rs:144 AdapterInfo { name: "ANGLE (ARM, Mali-G78, OpenGL ES 3.2)", vendor: 5045, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Gl }
Is this a bug, is there a workaround when loading my WASM file to not get this error?
The text was updated successfully, but these errors were encountered: