Render fails on pixel phones
See original GitHub issueDescription of the problem
My app works on all browsers and equipment we’ve tried it on with the exception of pixel phones. On pixel phones, we get an error on the first call to render, with this stack trace:
texImage2D @ three.js:19999
setupFrameBufferTexture @ three.js:20738
setupRenderTarget @ three.js:20915
WebGLRenderer.setRenderTarget @ three.js:24430
WebGLRenderer.render @ three.js:23129
render @ RenderPass.js:51
render @ EffectComposer.js:88
I’m not sure which portions of the code would be helpful in tracking this down?
Three.js version
- r97
- r94
Browser
- All of them
- Chrome
- Firefox
- Internet Explorer
OS
- All of them
- Windows
- macOS
- Linux
- Android
- iOS
Hardware Requirements (graphics card, VR Device, …)
Pixel Phone
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Common Google Pixel 3 Problems and How to Fix Them
The Google Pixel 3 and Pixel 3 XL are a year old, and with time comes bugs, problems, and glitches that users discover....
Read more >Google Pixel Android 12 bugs, problems, & issues tracker ...
Here are all the Google Pixel Android 12 update bugs, problems, & issues that've been reported, fixed, or acknowledged (workarounds inside).
Read more >Fix a Pixel that freezes or won't respond - Pixel Phone Help
Restart your phone If your phone is frozen with the screen on, hold down the power button for about 30 seconds to restart....
Read more >The biggest Pixel 6 frustrations that Google should fix with the ...
As Google prepares to introduce the new Pixel 7 and 7 Pro, there are some hardware issues from the Pixel 6 lineup that...
Read more >Software bug could render the camera of the Pixel 3 useless
The “fatal error” camera bug is the latest issue to hit the Pixel 3. Users have reported memory management issues on their devices...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I was able to track it down to this line:
in case anyone else experiences the issue.
Definitely helps. Without that context, other users would just blindly remove
setPixelRatio()
.