-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
iOS 16 , HTML5 ( both GLES2 and GLES3) are NOT working #62445
Comments
Duplicate of #37931 |
I'm not sure that's the same issue, we need to know what the actual errors are. AFAIK current Safari should support WebGL 2. |
Can you post the text of the errors you receive? |
Safari try to load the page, and the loading progress bar seems to be loading normally, but finally the page is forced reloaded and display an error, said: |
I recorded a video: RPReplay_Final1656408556.MP4 |
Could you get logs from Safari's Web Inspector? Not familiar with it myself but it seems it needs to be set up on a Mac to debug the iOS Safari from macOS Safari: https://appletoolbox.com/use-web-inspector-debug-mobile-safari/ |
Hi i exported with debug mode, the errors in console can be found: |
You seem to be using the JavaScript<->Godot interface, and there seem to be errors in your code:
Those errors happen when
There isn't much more we can do otherwise with the current information as this seem to be a problem with your JavaScript code but we have no way to verify it. |
Hi, the project worked fine on desktop browsers, iOS 14/15 browsers and Android browsers. Just Not good on iOS 16 safari. |
Could you get logs from Safari's Web Inspector of the fresh new project? |
Hi, there is no special error log for the fresh new project, but it crashed always: And this is the simple demo project (create a fresh new project, add a simple button control , then export to html5): |
updated: iOS 16 beta 3, same issue. |
I have the same problem with iOS 16 beta 2-3 and godot 3.5 (latest rc). |
This comment was marked as off-topic.
This comment was marked as off-topic.
See #63525 for another MRP and hosted web game:
|
According to this tweet, this might be due to a regression in iOS 16 beta 3 which has been fixed in beta 4: https://bugs.webkit.org/show_bug.cgi?id=242294 It seems like it was just released, please upgrade and let us know if that solves the crash. |
Problem solved. I've tested on iOS 16 beta 4. |
Yeah!It's fixed!! |
Godot version
3.4.4 / 3.5.0 RC7
System information
iOS 16 beta 3
Issue description
iOS 16 , HTML5 ( both GLES2 and GLES3) are NOT working .
Open the exported html5 page with safari on iOS 16, it keep reloading, then crashed.
Steps to reproduce
1、 Godot project export to HTML5 (GLES2 or GLES3)
2、 Serve to web
3、 Open safari on my iPhone (system updated to iOS 16 beta 3), then visit the url.
Minimal reproduction project
Simply visit this exported page at the following url:
https://dl.lookingpet.com/temp/ios16_test/game.html
source code:
ios16_test1.zip
The text was updated successfully, but these errors were encountered: