-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Safari v15 (on desktop) -> threejs bug #22582
Comments
Better to report this to Apple directly: |
@mrdoob I feel like dad just told me to go ask my mother. ;P |
One more update here. With |
@walpolea Rollback to |
done :) |
@mrdoob Could this be reopened? Even with the latest version of THREE and the WebGL: GPU Process enabled, it now seems that webcam textures are not being rendered. Example from official site: https://threejs.org/examples/?q=webcam#webgl_materials_video_webcam Try that in Safari 15 (with GPU process off, because if it's on, it crashes): |
@willmorgan We just can't do anything about it. This is a regression in Safari. |
@mrdoob Alright, I get you. @nicholaswagner What's your bugs.webkit ticket ID? Mine was: https://bugs.webkit.org/show_bug.cgi?id=231423 |
@willmorgan I actually just posted it to the apple developers bug reporting page.
|
@walpolea That fixes the error. |
And somewhat unfortunately once you enable/disable that feature, I am no longer able to replicate the issue, even after restarting Safari. Luckily I have Safari Technical Preview installed so I can continue looking for a workaround for my production site. Has anyone found a viable code-based workaround? I'm on Three.js version 108. |
@dustinkerstein For those why may be looking for a quick code-based workaround to avoid needing to upgrade threejs version, this worked for me... In WebGLRenderer constructor:
|
Can anybody summarise the situation? On https://bugs.webkit.org/show_bug.cgi?id=231423,
Meanwhile, in the latest iOS Safari 15.2 (as well as 15.1 and 15.0), I still see crashes that look like the one in the issue description. |
@nh2 Hi Niklas, long time no speak (last time was some hack day in 2012...) I am using "three": "0.133.1" in my SDK and this is no longer an issue. However for various reasons I would recommend not supporting 15.0 of Safari as it seems to have been a botched release - Apple seems to have quickly put 15.1 out which solves this and other issues. |
Hi @willmorgan, didn't expect to meet you here :D Yes, on the Treevee project :D I have figured it out now: I had a separate bug in a shader that apparently also managed to make Safari crash the entire tab. Have not investigated it fully yet, only rolled back that shader change. |
As of Safari 15 (Desktop) something having to do with OpenGL causes a total browser failure.
(Sorry I don't have better information, feel free to delete this and create a more helpful ticket once more info becomes available)
notes:
Live examples
Steps to reproduce the behavior:
official three js showcase websites
in safari v15 on OSXScreenshots
Platform:
The text was updated successfully, but these errors were encountered: