Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

How did you export it as HTML then?  For me when I try, (in Godot 4.2) it says that it's an unfinished feature to export HTML projects.

(+1)

What language are you using? This page says that C# web builds aren't supported (at least yet), but that might not apply to you.

I used GDScript, so nope no exceptions, hopefully they'll add C# web support soon.

Ah, that's the case for projects written in C#, yeah currently Godot 4 doesn't support HTML export for C#. I wrote my project in GDScript so it was exportable.

Based on their blog post (https://godotengine.org/article/platform-state-in-csharp-for-godot-4-2/#web), it seems they're waiting for an update to the .NET framework that will hopefully make it easier to support web exporting C# projects in Godot 4.

Otherwise, the next best thing besides just waiting would be to make your projects using Godot 3, or to rewrite them in GDScript :/

Hopefully they'll do something about it soon.

(+1)

I made mine in GDScript as well, but it still doesn't let me export it to web...

Hmm, that is very strange, if you're fine with it, could you reply with a screenshot of how the export screen looks to you.

(+1)

Are you by any chance using the Godot Engine .NET version then? As even if your project is fully in GDScript, the .NET version is incapable of exporting to web, as far as I know.

If yes downloading the NONE-".NET" version and exporting your project from there might work.