Skip to content
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

HTML5 exported project does not load in iOS 14 Safari #43473

Open
thinwire opened this issue Nov 12, 2020 · 7 comments
Open

HTML5 exported project does not load in iOS 14 Safari #43473

thinwire opened this issue Nov 12, 2020 · 7 comments

Comments

@thinwire
Copy link

thinwire commented Nov 12, 2020

Godot version: 3.2.2, 3.2.3, 3.2.4 beta 1

OS/device including version: iOS 14.0.1, iOS 14.1, iOS 14.2 / iPad Pro, iPad Mini 4
Problem manifests on unknown number of iOS 14 devices; reported to work on iPhones running iOS 14.
Works fine on iOS 12 devices of similar or lower spec. Works on iOS 14.1 simulator devices.

Issue description:
Godot games exported through HTML5 export fail to start up on some iOS 14 devices. Godot loader completes preload, page crashes during game initialization, then automatically retries and shows an error screen.
This seems to be restricted to some iOS 14 devices, at least the iPad Mini 4 and iPad Pro do not work.
I have been unable to get a remote debugging connection up to the test device I was provided, so can unfortunately not provide a browser crash trace.

Steps to reproduce:
Create a project with GLES2 renderer, create a 2D scene with anything in it, export result as HTML5. Game should start right up on any device except some iDevices running iOS 14.

Minimal reproduction project:
Minimal project provided. GodotTest.zip

@akien-mga
Copy link
Member

Ah Safari <3

@cesarizu
Copy link
Contributor

On my project, I fixed this problem by unchecking the window/size/fullscreen checkbox on the project settings.

@Calinou
Copy link
Member

Calinou commented Nov 26, 2020

@cesarizu Good catch, but @thinwire's minimal reproduction project doesn't have fullscreen enabled.

@cesarizu
Copy link
Contributor

@Calinou that's true, I missed that bit from the test project.

@gianmichelemariani
Copy link

This is working for me now re-exporting the minimal project with 3.2.4 beta5.
I have to say performance on Macs is a lot better with each beta. With iOS, even with a simple scene and a sprite moving back and forth, is really choppy when in full screen. A smaller window does help a lot in this regard.

@Calinou
Copy link
Member

Calinou commented Jan 8, 2021

With iOS, even with a simple scene and a sprite moving back and forth, is really choppy when in full screen. A smaller window does help a lot in this regard.

On mobile, you often want to use a reduced viewport resolution (1280×720 or lower), especially in 3D.

@gianmichelemariani
Copy link

Yeah I am using a smaller resolution, and everything is smooth when rendered at that resolution in html5.
If I go full screen though (with black bars around) it gets real choppy.
I'm sure it will get there. The progress so far for the web platform has been super steady!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants