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

Web exports don't work whatsoever (Godot 4) #74799

Closed
Piras314 opened this issue Mar 11, 2023 · 15 comments
Closed

Web exports don't work whatsoever (Godot 4) #74799

Piras314 opened this issue Mar 11, 2023 · 15 comments

Comments

@Piras314
Copy link

Godot version

4.0.stable.arch_linux

System information

Arch Linux, GLES3, AMD ATI Radeon HD 6520G

Issue description

Hello! Web projects just... don't run and have these errors.

gotm.io
image

itch.io
image

Using Brave web browser, but they don't run on Chrome either.

Steps to reproduce

The MRP is just a 2D scene with a single label saying "test" and with the export for web set up with defaults.

Minimal reproduction project

MRP.zip

@Piras314 Piras314 changed the title Web export not working Web export's don't work in Godot 4? Mar 11, 2023
@Piras314 Piras314 changed the title Web export's don't work in Godot 4? Web exports don't work in Godot 4? Mar 11, 2023
@Piras314
Copy link
Author

Issue occurs while using the standalone executable from the godot website as well.

@Piras314 Piras314 changed the title Web exports don't work in Godot 4? Web exports don't work whatsoever (Godot 4) Mar 12, 2023
@MatiasVME
Copy link

Idk if that help, but in itch.io you activate de last of thats options:

image

@Piras314
Copy link
Author

Already enabled :/

@MatiasVME
Copy link

it's work for me =S

image

maybe you need name the mrp.html to index.html for itch.io

@Piras314
Copy link
Author

I did that as well 🤔

@QbieShay
Copy link
Contributor

Have you tried a different browser? There's known issue of Godot multithreading not being supported by all browsers

@Piras314
Copy link
Author

Yeah, as I said in the original post I tried it on Chrome as well as Brave, I've even tried it on another device :(

@AThousandShips
Copy link
Member

Brave uses the same engine, have you tried Firefox?

@Calinou
Copy link
Member

Calinou commented Mar 13, 2023

Are you used tweaked privacy settings that would intefere with WebAssembly? These settings can sometimes impact performance and usability (such as disabling WebGL, JavaScript JIT, etc.). Try a 100% stock configuration in a web browser.

@Piras314
Copy link
Author

Alrighty, so I installed Firefox which hadn't ever been installed on this machine before, meaning there wouldn't be any leftover tweaks and skipped all customization options.

I went to itch.io, logged in, created a fresh game draft and set the kind of project to HTML. I went to Godot and opened the MRP project, exported for debug and zipped it. Next, I uploaded the zip file to itch.io and marked it as a web version. Finally, I turned SharedArrayBuffer support on and hit save & view.

Sadly, I still recieved the same errors.

still waiting on dependencies:
dependency: wasm-instantiate
(end of list)

Would anyone mind attempting to reproduce this issue?

@Calinou
Copy link
Member

Calinou commented Mar 13, 2023

Would anyone mind attempting to reproduce this issue?

Can you link to the project exported to gotm.io and itch.io? I don't have time to individually upload the MRP to each platform.

@Piras314
Copy link
Author

Sure, link

@Piras314
Copy link
Author

Piras314 commented Mar 13, 2023

Hmm... Interestingly, this build on itch.io works just fine on my other computer. Perhaps it is hardware or OS dependent?

@Calinou
Copy link
Member

Calinou commented Mar 13, 2023

Hmm... Interestingly, this build on itch.io works just fine on my other computer. Perhaps it is hardware or OS dependent?

This is likely, as the Radeon HD 6520G is a very old IGP that most likely doesn't support WebGL 2.0 well (which is required for Godot 4.x's HTML5 export to work).

I'd recommend sticking to Godot 3.x's GLES2 renderer if your goal is to make games that run everywhere, even on very old devices.

@Piras314
Copy link
Author

Alright, I'll close this issue now then as there is no work to be done!

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