Inconsistent exports

Godot Version

4.6.1 mono

Question

Hey!
I have been toying with a multiplayer game over the past month. Basic gameplay is in progress and over the past weekend I have implemented CI builds with a server that is hosted 27/4.

I am using this image docker.io/barichello/godot-ci:mono-4.6.1 with these commands
- mkdir -v -p "$EXPORT_DIR/windows"
- godot --headless --export-debug "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe"
- zip -r "$EXPORT_DIR/$EXPORT_NAME-windows.zip" "$EXPORT_DIR/windows"

If I build the game on my device for windows or linux it works, but as soon as I export it with the CI two things happen:

  • my textures get weird artifacts that are like a checkerboard pattern on them only present when building with CI
  • my signals lose connection

After decompiling my game with GDRE tools I see that the textures are weird and that the signals are not connected anymore. The closest I could find is this issue? I have tried multiple commands before the build command to “load” the assets and I have tried using debug builds but they all resulted in the same issues. Anyone fixed this for their project?