godotengine / godotengine/godot
[4.3] Web Export not working via command line
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
4.3 Stable
### System information
Windows 11
### Issue description
I have tried to export my project to Windows & Web via command line (both locally and via GitHub actions using ubuntu).
The result is a working Windows export and a broken ZIP file for Web.
### Steps to reproduce
1. Create new Project
2. Export > Manage Export Templates > download 4.3 templates
3. "Project > Export > Add..." Web export
4. Name it Web
5. Save everything
6. run `/path/to/your/Godot_v4.3-stable_win64_console.exe --headless --verbose --export-release "Web" ./HTML5.zip --path "./"`
7. Try to open resulting ZIP file
8. Message pops up telling you the zip file is invalid

I also tried different parameters, like running it in editor instead of headless mode or using export-debug or no path. All the same result
Note that exporting via Export in editor works fine!
### Minimal reproduction project (MRP)
[project.zip](https://github.com/user-attachments/files/17265762/project.zip)
Contributor guide
Assessment
This issue has not been assessed yet.