bevyengine / bevyengine/bevy

WebGPU with 3D example is failed on Android Chrome

Open
#23,266 0 comments 2 reactions 0 assignees View on GitHub
C-Bug O-Android S-Needs-Investigation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## Bevy version and features
On bevy's browser example.
https://bevy.org/examples-webgpu/3d-rendering/split-screen/

## Relevant system information
Device: Nothing phone 3a, Android
Browser: Brave, Chrome (same bug)

## What you did
I run Bevy example.
## What went wrong

If it's not clear, break this out into:

- what were you expecting?
Success
- what actually happened?
called `Result::unwrap()` on an `Err` value: JsValue(RangeError: Failed to execute 'createBuffer' on 'GPUDevice': createBuffer failed, size (4) is too large for the implementation when mappedAtCreation == true
RangeError: createBuffer failed, size (4) is too large for the implementation when mappedAtCreation == true

## Additional information

Image
WbGL2 is succeed.

Contributor guide

Open the contributing guide

Research direction

Start with the browser WebGPU 3D split-screen example at the linked Bevy URL and reproduce the failure on Android Chrome or Brave, comparing it with the successful WebGL2 path. Trace the createBuffer error involving mappedAtCreation and verify that the example runs successfully on the affected devices without the unwrap error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.