-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Index out of bounds error #3124
Comments
@evanshabsove were you able to put together a workaround? Right after posting this, I found a solution to the problem: https://github.com/janos-r/rusty-woods/blob/161403c14184b14f27981a58e1ba4f06650b22a3/Cargo.toml#L18 |
On GLES, we force cube compatible textures to be cube textures since we need to infer the view type at creation time. Lines 328 to 334 in 9dc834a
A possible solution for this is tracked by #1614. |
I think for now this can be worked around in Let's track progress on this front in #1614. |
Description
Hi there, I am trying to compile a bevy app I've built for wasm. When I run the file in the browser I get the following error in the console
I'm just trying to figure out what could be going wrong, I've made a discussion thread in the Bevy github group as well
bevyengine/bevy#6302
Which has some additional information
Repro steps
You could try running my game (it's pretty basic and poor lol)
https://github.com/evanshabsove/chat_platformer
running
bash run-wasm.sh
should generate the fileExpected vs observed behavior
Game runs in browser as expected
Extra materials
Screenshots to help explain your problem.
Validation logs can be attached in case there are warnings and errors.
Zip-compressed API traces and GPU captures can also land here.
Platform
MacOS Monterey V 12.6, Graphics AMD Radeon Pro 5300M
The text was updated successfully, but these errors were encountered: