playcanvas / playcanvas/engine

Resolution Mode set to 'auto', width 12800 and height 7200 crashes tab on iPhone 8 on iOS 15

Open
#3,592 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: graphics
Dominant language
JavaScript
Stars
16.8k
Forks
2k
Avg merge
4h 32m
Merged PRs (30d)
222

Description

Example project: https://playcanvas.com/editor/scene/1253664
Launch: https://launch.playcanvas.com/1253664?debug=true

As far as I know, the width and and height should be ignored if the Mode is set to 'auto'. However, it seems to crash the Safari tab on iPhone 8 as though they are used somehow. Setting it to 1280 and 720 and the app runs as normal.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue from the provided PlayCanvas example or launch link on an iPhone 8 running iOS 15. Compare Resolution Mode set to auto with width and height set to 1280×720, then trace how the 12800×7200 values are handled. Done means the auto mode no longer crashes the Safari tab while preserving the expected resolution behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.