Skip to content

Godot WebGL export doesn't work on Safari #37931

@dragos-margu

Description

@dragos-margu

Godot version:
3.2.1.stable

OS/device including version:
macOS Catalina 10.15.4 / MacBookPro11,1
Safari version: 13.1 (15609.1.20.111.8)
Although this problem happens on the latest version of Safari, I remember that it happened on earlier versions of Safari too.

Issue description:
I quickly exported this project to WebGL and uploaded it to itch.io:
https://stone-age-jazz.itch.io/godot-weggl-test
PASSWORD: godot

The project is barebones, standard configuration, nothing has been changed.
The game does not work when running the game from Safari.
The game works when running on Firefox.

The particular error message that I get when trying to run the project in Safari is:
call_indirect to a null table entry (evaluating 'Module["asm"]["Gi"].apply(null,arguments)')

On Safari - desktop:

Screenshot 2020-04-16 at 16 57 58

On Firefox - desktop:

Screenshot 2020-04-16 at 16 58 32

On Chrome - desktop:

Screenshot 2020-04-16 at 17 33 09

On Edge - desktop:

Screenshot 2020-04-16 at 17 35 27

On Opera - desktop:

Screenshot 2020-04-16 at 17 37 10

Steps to reproduce:
On macOS, run the game in Safari. It will NOT work.
On macOS, run the game in Firefox. It will work.
On macOS, run the game in Chrome. It will work.
On macOS, run the game in Edge. It will work.
On macOS, run the game in Opera. It will work.

Minimal reproduction project:
Apocalypse Now.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions