bevyengine / bevyengine/bevy

[wasm, phone browser] Dimension Y value 5038 exceeds the limit of 4096

Open
#7,591 5 comments 0 reactions 0 assignees View on GitHub
A-Rendering A-Windowing C-Bug O-Android O-iOS O-Web
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version
0.9.1

## \[Optional\] Relevant system information

- WASM build
- Running in Mobile Chrome on a Samsung Galaxy S20 phone

```ignore
AdapterInfo { name: "Adreno (TM) 650", vendor: 20803, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Gl }
```

## What you did

- Running my game in a desktop browser (Chrome) works fine
- Running it on a mobile browser (Chrome) from the Samsung Galaxy S20 phone fails with
```
game-902f20548b71ecb7.js:627 panicked at 'wgpu error: Validation Error

Caused by:
In Device::create_texture
note: label = `view_depth_texture`
Dimension Y value 5038 exceeds the limit of 4096

', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.14.2/src/backend/direct.rs:2403:5
```

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.