playcanvas / playcanvas/engine
Resolution Mode set to 'auto', width 12800 and height 7200 crashes tab on iPhone 8 on iOS 15
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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