-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[wasm, phone browser] Dimension Y value 5038 exceeds the limit of 4096 #7591
Comments
I did some digging on this back in April, here is what I found rust-windowing/winit#2524 (comment) For my use-case I am filling the whole page with my canvas.
This combined with the
I'm not sure if the winit change was actually required because I hadn't tried the meta tag until today. side-note: for some reason the body has a margin side by default so in my css I also add
|
@jroddev I'm trying this to no success, is this still working for you using latest tagged bevy? or main branch? |
@miketwenty1 I actually can no longer reproduce the problem with my example projects and my device. Tested with Bevy 10, 11, and 12. |
I'm on bevy main branch right now. but this was still an issue for me on 10, 11, and 12. the specific device is a pixel 6 pro with a pixel ratio of 3.5. |
I'm not sure, sorry. I tried again and cannot reproduce with or without my line anymore. Which browser are you using? and is it the stock Android OS that came with the device? Just checking that the
It's not a great solution, but if you just need to get something running you could shrink the size of the canvas on the page enough that it fits within the texture limit. I did this originally by putting a header and some extra buttons on the page until the render surface was small enough. More details on this linked comment. |
Bevy version
0.9.1
[Optional] Relevant system information
What you did
Not sure what is causing this, I'm not loading any explicit depth texture and none of my regular textures are above 4096 in size. Is this a depth texture that bevy loads somehow? Interestingly, the bevy examples from bevyengine.org do work in the same mobile browser though.
The text was updated successfully, but these errors were encountered: