godotengine / godotengine/godot

Godot export release doesn't pack enough data from C#

Open
#99,208 7 comments 0 reactions 0 assignees View on GitHub
topic:dotnet topic:export
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

Godot 4.4.dev4.mono

### System information

Ubuntu 24.04

### Issue description

I'm exporting a project using Docker, which invokes Godot through the terminal with the following command:

```bash
godot.4.4.dev4.mono "path-to-my-project.godot" --export-release "Headless" --headless --quit
```

However, when I run the app, it doesn't behave as expected
### Steps to reproduce

**Reproduce via UI:**

1. Open the MRP project and create the export folder.
2. Export the project with the "Export All" -> "Release" option.
- Alternatively, click "Export Project..." and uncheck the "Export with Debug" option.

**Reproduce via command line:**

Run the following command:

```bash
./Godot_v4.4-dev_mono_linux.x86_64 "/home/ubuntu/GodotProjects/azheir/azheir/project.godot" --headless --export-release Headless --quit
```

### Minimal reproduction project (MRP)
[azheir.zip](https://github.com/user-attachments/files/17776222/azheir.zip)

To verify if the project export was successful, simply run the executable. It should print **Hello world** on startup.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.