Running godot from the command line doesn't work

Godot Version

4.3.stable

Question

I want to set up a Github action to automatically export and deploy my Godot 4.3 projects to itch.io but there is a problem with the command godot --headless --verbose --editor --quit. For some reason, it can’t load some resources.

The resulting stack trace is attached below.

How can I fix this issue? After some research, I’ve tried godot --headless --verbose --editor --quit --rendering-driver opengl3 but that doesn’t work either.

Modified from godot-gamejam by bitbrain

name: Godot CI/CD Pipeline

on:
  push:
    branches:
      - main

env:
  GODOT_VERSION: "4.3"
  GODOT_STATUS: "stable"
jobs:
  import-assets:
    runs-on: ubuntu-latest
    container: barichello/godot-ci:4.3
    steps:
      - uses: actions/checkout@v4
      - name: Cache import assets
        uses: actions/cache@v3
        with:
          path: .godot/imported/
          key: import-assets-${{ runner.os }}-${{ github.sha }}
      - name: Import assets
        run: godot --headless --verbose --editor --quit --rendering-driver opengl3

  export-game:
    runs-on: ubuntu-latest
    needs: import-assets
    steps:
      - uses: actions/checkout@v4
      - uses: actions/cache@v3
        with:
          path: .godot/imported/
          key: import-assets-${{ runner.os }}-${{ github.sha }}
      - name: install wine
        run: |
          sudo apt install wine64
          echo "WINE_PATH=$(which wine64)" >> $GITHUB_ENV
      - name: Export Game using Godot
        uses: firebelley/godot-export@v5.2.1
        with:
          godot_executable_download_url: "https://github.com/godotengine/godot/releases/download/${{ env.GODOT_VERSION }}-${{ env.GODOT_STATUS }}/Godot_v${{ env.GODOT_VERSION }}-${{ env.GODOT_STATUS }}_linux.x86_64.zip"
          godot_export_templates_download_url: "https://github.com/godotengine/godot/releases/download/${{ env.GODOT_VERSION }}-${{ env.GODOT_STATUS }}/Godot_v${{ env.GODOT_VERSION }}-${{ env.GODOT_STATUS }}_export_templates.tpz"
          relative_project_path: "./godot"
          archive_output: true
          cache: false
          wine_path: ${{ env.WINE_PATH }}
      - name: Upload HTML5
        uses: actions/upload-artifact@v4
        with:
          name: HTML5
          path: /home/runner/.local/share/godot/archives/HTML5.zip
      - name: Upload Linux
        uses: actions/upload-artifact@v4
        with:
          name: LinuxX11
          path: /home/runner/.local/share/godot/archives/LinuxX11.zip
      - name: Upload Windows
        uses: actions/upload-artifact@v4
        with:
          name: Windows
          path: /home/runner/.local/share/godot/archives/Windows.zip
      - name: Upload MacOS
        uses: actions/upload-artifact@v4
        with:
          name: macOS
          path: /home/runner/.local/share/godot/archives/macOS.zip

  deploy-to-itchio-linux:
    runs-on: ubuntu-latest
    needs: export-game
    steps:
      - uses: actions/checkout@v4
      - uses: actions/download-artifact@v4
        with:
          name: LinuxX11
      - name: Deploy to Itch.io (Windows)
        uses: manleydev/butler-publish-itchio-action@master
        env:
          BUTLER_CREDENTIALS: ${{ secrets.BUTLER_API_KEY }}
          CHANNEL: linux
          ITCH_GAME: ${{ secrets.ITCHIO_GAME }}
          ITCH_USER: ${{ secrets.ITCHIO_USERNAME }}
          PACKAGE: LinuxX11.zip

  deploy-to-itchio-windows:
    runs-on: ubuntu-latest
    needs: export-game
    steps:
      - uses: actions/checkout@v4
      - uses: actions/download-artifact@v4
        with:
          name: Windows
      - name: Deploy to Itch.io (Windows)
        uses: manleydev/butler-publish-itchio-action@master
        env:
          BUTLER_CREDENTIALS: ${{ secrets.BUTLER_API_KEY }}
          CHANNEL: windows
          ITCH_GAME: ${{ secrets.ITCHIO_GAME }}
          ITCH_USER: ${{ secrets.ITCHIO_USERNAME }}
          PACKAGE: Windows.zip

  deploy-to-itchio-mac:
    runs-on: ubuntu-latest
    needs: export-game
    steps:
      - uses: actions/checkout@v4
      - uses: actions/download-artifact@v4
        with:
          name: macOS
      - name: Deploy to Itch.io (MacOS)
        uses: manleydev/butler-publish-itchio-action@master
        env:
          BUTLER_CREDENTIALS: ${{ secrets.BUTLER_API_KEY }}
          CHANNEL: mac
          ITCH_GAME: ${{ secrets.ITCHIO_GAME }}
          ITCH_USER: ${{ secrets.ITCHIO_USERNAME }}
          PACKAGE: macOS.zip

  deploy-to-itchio-web:
    runs-on: ubuntu-latest
    needs: export-game
    steps:
      - uses: actions/checkout@v4
      - uses: actions/download-artifact@v4
        with:
          name: HTML5
      - name: Deploy to Itch.io (HTML5)
        uses: manleydev/butler-publish-itchio-action@master
        env:
          BUTLER_CREDENTIALS: ${{ secrets.BUTLER_API_KEY }}
          CHANNEL: web
          ITCH_GAME: ${{ secrets.ITCHIO_GAME }}
          ITCH_USER: ${{ secrets.ITCHIO_USERNAME }}
          PACKAGE: HTML5.zip
Run godot --headless --verbose --editor --quit
Godot Engine v4.3.stable.official.77dcf97d8 - https://godotengine.org
TextServer: Added interface "Dummy"
TextServer: Added interface "ICU / HarfBuzz / Graphite (Built-in)"
JoypadLinux: udev enabled and loaded successfully.
Using "default" pen tablet driver...

TextServer: Primary interface set to: "ICU / HarfBuzz / Graphite (Built-in)".
ERROR: Unable to open file: res://.godot/imported/cursor.png-224f93d013e0812359a323dac1948615.ctex.
   at: _load_data (scene/resources/compressed_texture.cpp:41)
ERROR: Failed loading resource: res://.godot/imported/cursor.png-224f93d013e0812359a323dac1948615.ctex. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:283)
ERROR: Failed loading resource: res://assets/cursor.png. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:283)
ERROR: Cannot open file 'res://.godot/imported/Salmon Duo 9 Bold.ttf-7190152cf5a039fd9d625f8c98d683a4.fontdata'.
   at: load (core/io/resource_format_binary.cpp:1214)
ERROR: Failed loading resource: res://.godot/imported/Salmon Duo 9 Bold.ttf-7190152cf5a039fd9d625f8c98d683a4.fontdata. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:283)
ERROR: Failed loading resource: res://assets/salmon_fonts/Salmon Duo 9 Bold.ttf. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:283)
ERROR: Cannot open file 'res://.godot/imported/Salmon Sans 9 Regular.ttf-9133b9d02871f19c171c75da487c8f60.fontdata'.
   at: load (core/io/resource_format_binary.cpp:1214)
ERROR: Failed loading resource: res://.godot/imported/Salmon Sans 9 Regular.ttf-9133b9d02871f19c171c75da487c8f60.fontdata. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:283)
ERROR: Failed loading resource: res://assets/salmon_fonts/Salmon Sans 9 Regular.ttf. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:283)
ERROR: Cannot open file 'res://.godot/imported/Salmon Sans 9 Extra Bold.ttf-40623563e6f90654e1714219635a393f.fontdata'.
   at: load (core/io/resource_format_binary.cpp:1214)
ERROR: Failed loading resource: res://.godot/imported/Salmon Sans 9 Extra Bold.ttf-40623563e6f90654e1714219635a393f.fontdata. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:283)
ERROR: Failed loading resource: res://assets/salmon_fonts/Salmon Sans 9 Extra Bold.ttf. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:283)
ERROR: res://theme.tres:3009 - Parse Error: [ext_resource] referenced non-existent resource at: res://assets/salmon_fonts/Salmon Sans 9 Regular.ttf
   at: _parse_ext_resource (scene/resources/resource_format_text.cpp:159)
ERROR: res://theme.tres:3009 - Parse Error: [ext_resource] referenced non-existent resource at: res://assets/salmon_fonts/Salmon Sans 9 Regular.ttf
   at: load (scene/resources/resource_format_text.cpp:717)
ERROR: Failed loading resource: res://theme.tres. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:283)
ERROR: Error loading custom project theme 'res://theme.tres'
   at: initialize_theme (scene/theme/theme_db.cpp:72)
CORE API HASH: 966092234
EDITOR API HASH: 444927587
EditorTheme: Generating new theme for the config '66886095'.
EditorTheme: Generating new icons.
EditorTheme: Generating new fonts.
EditorTheme: Generating new styles.
Regenerating editor help cache
Class 'AbstractPolygon2DEditor' is not exposed, skipping.
Class 'AbstractPolygon2DEditorPlugin' is not exposed, skipping.
Class 'ActionMapEditor' is not exposed, skipping.
Class 'AnchorPresetPicker' is not exposed, skipping.
Class 'AnimationBezierTrackEdit' is not exposed, skipping.
Class 'AnimationLibraryEditor' is not exposed, skipping.
Class 'AnimationNodeBlendSpace1DEditor' is not exposed, skipping.
Class 'AnimationNodeBlendSpace2DEditor' is not exposed, skipping.
Class 'AnimationNodeBlendTreeEditor' is not exposed, skipping.
Class 'AnimationNodeStateMachineEditor' is not exposed, skipping.
Class 'AnimationPlayerEditor' is not exposed, skipping.
Class 'AnimationPlayerEditorPlugin' is not exposed, skipping.
Class 'AnimationTimelineEdit' is not exposed, skipping.
Class 'AnimationTrackEditDefaultPlugin' is not exposed, skipping.
Class 'AnimationTrackEditPlugin' is not exposed, skipping.
Class 'AnimationTrackEditor' is not exposed, skipping.
Class 'AnimationTrackKeyEditEditorPlugin' is not exposed, skipping.
Class 'AnimationTreeEditor' is not exposed, skipping.
Class 'AnimationTreeEditorPlugin' is not exposed, skipping.
Class 'AnimationTreeNodeEditorPlugin' is not exposed, skipping.
Class 'AssetLibraryEditorPlugin' is not exposed, skipping.
Class 'AtlasMergingDialog' is not exposed, skipping.
Class 'AtlasTileProxyObject' is not exposed, skipping.
Class 'AudioBusesEditorPlugin' is not exposed, skipping.
Class 'AudioStreamEditorPlugin' is not exposed, skipping.
Class 'AudioStreamImportSettingsDialog' is not exposed, skipping.
Class 'AudioStreamInteractiveEditorPlugin' is not exposed, skipping.
Class 'AudioStreamInteractiveTransitionEditor' is not exposed, skipping.
Class 'AudioStreamPlayerInternal' is not exposed, skipping.
Class 'AudioStreamPreviewGenerator' is not exposed, skipping.
Class 'AudioStreamRandomizerEditorPlugin' is not exposed, skipping.
Class 'BackgroundProgress' is not exposed, skipping.
Class 'BitMapEditorPlugin' is not exposed, skipping.
Class 'BoneMapEditorPlugin' is not exposed, skipping.
Class 'CPUParticles2DEditorPlugin' is not exposed, skipping.
Class 'CPUParticles3DEditor' is not exposed, skipping.
Class 'CPUParticles3DEditorPlugin' is not exposed, skipping.
Class 'CSGShape3DGizmoPlugin' is not exposed, skipping.
Class 'Camera3DEditorPlugin' is not exposed, skipping.
Class 'CanvasItemEditor' is not exposed, skipping.
Class 'CanvasItemEditorPlugin' is not exposed, skipping.
Class 'CanvasItemEditorViewport' is not exposed, skipping.
Class 'CanvasItemMaterialConversionPlugin' is not exposed, skipping.
Class 'Cast2DEditor' is not exposed, skipping.
Class 'Cast2DEditorPlugin' is not exposed, skipping.
Class 'CollisionPolygon2DEditor' is not exposed, skipping.
Class 'CollisionPolygon2DEditorPlugin' is not exposed, skipping.
Class 'CollisionShape2DEditor' is not exposed, skipping.
Class 'CollisionShape2DEditorPlugin' is not exposed, skipping.
Class 'ConnectDialog' is not exposed, skipping.
Class 'ConnectDialogBinds' is not exposed, skipping.
Class 'ConnectionsDock' is not exposed, skipping.
Class 'ControlEditorPlugin' is not exposed, skipping.
Class 'ControlEditorPopupButton' is not exposed, skipping.
Class 'ControlEditorPresetPicker' is not exposed, skipping.
Class 'ControlEditorToolbar' is not exposed, skipping.
Class 'CreateDialog' is not exposed, skipping.
Class 'CurveEditorPlugin' is not exposed, skipping.
Class 'CurvePreviewGenerator' is not exposed, skipping.
Class 'DebugAdapterParser' is not exposed, skipping.
Class 'DebugAdapterServer' is not exposed, skipping.
Class 'DebuggerEditorPlugin' is not exposed, skipping.
Class 'DefaultThemeEditorPreview' is not exposed, skipping.
Class 'DependencyEditor' is not exposed, skipping.
Class 'DependencyEditorOwners' is not exposed, skipping.
Class 'DependencyErrorDialog' is not exposed, skipping.
Class 'DependencyRemoveDialog' is not exposed, skipping.
Class 'DirectoryCreateDialog' is not exposed, skipping.
Class 'DockContextPopup' is not exposed, skipping.
Class 'DockSplitContainer' is not exposed, skipping.
Class 'DynamicFontImportSettingsData' is not exposed, skipping.
Class 'DynamicFontImportSettingsDialog' is not exposed, skipping.
Class 'EditorAbout' is not exposed, skipping.
Class 'EditorAssetLibrary' is not exposed, skipping.
Class 'EditorAudioBuses' is not exposed, skipping.
Class 'EditorAudioStreamPreviewPlugin' is not exposed, skipping.
Class 'EditorAudioStreamTooltipPlugin' is not exposed, skipping.
Class 'EditorAutoloadSettings' is not exposed, skipping.
Class 'EditorBitmapPreviewPlugin' is not exposed, skipping.
Class 'EditorBottomPanel' is not exposed, skipping.
Class 'EditorBuildProfileManager' is not exposed, skipping.
Class 'EditorDebuggerInspector' is not exposed, skipping.
Class 'EditorDebuggerNode' is not exposed, skipping.
Class 'EditorDebuggerRemoteObject' is not exposed, skipping.
Class 'EditorDebuggerTree' is not exposed, skipping.
Class 'EditorDirDialog' is not exposed, skipping.
Class 'EditorDockManager' is not exposed, skipping.
Class 'EditorExport' is not exposed, skipping.
Class 'EditorExportGDScript' is not exposed, skipping.
Class 'EditorFeatureProfileManager' is not exposed, skipping.
Class 'EditorFileServer' is not exposed, skipping.
Class 'EditorFileSystemImportFormatSupportQueryBlend' is not exposed, skipping.
Class 'EditorFontPreviewPlugin' is not exposed, skipping.
Class 'EditorGradientPreviewPlugin' is not exposed, skipping.
Class 'EditorHelpBit' is not exposed, skipping.
Class 'EditorHelpSearch' is not exposed, skipping.
Class 'EditorImagePreviewPlugin' is not exposed, skipping.
Class 'EditorImportBlendRunner' is not exposed, skipping.
Class 'EditorInspectorDefaultPlugin' is not exposed, skipping.
Class 'EditorInspectorParticleProcessMaterialPlugin' is not exposed, skipping.
Class 'EditorInspectorPlugin3DTexture' is not exposed, skipping.
Class 'EditorInspectorPluginAnimationTrackKeyEdit' is not exposed, skipping.
Class 'EditorInspectorPluginAudioStream' is not exposed, skipping.
Class 'EditorInspectorPluginAudioStreamInteractive' is not exposed, skipping.
Class 'EditorInspectorPluginBitMap' is not exposed, skipping.
Class 'EditorInspectorPluginBoneMap' is not exposed, skipping.
Class 'EditorInspectorPluginControl' is not exposed, skipping.
Class 'EditorInspectorPluginCurve' is not exposed, skipping.
Class 'EditorInspectorPluginFontPreview' is not exposed, skipping.
Class 'EditorInspectorPluginFontVariation' is not exposed, skipping.
Class 'EditorInspectorPluginGradient' is not exposed, skipping.
Class 'EditorInspectorPluginGradientTexture2D' is not exposed, skipping.
Class 'EditorInspectorPluginInputEvent' is not exposed, skipping.
Class 'EditorInspectorPluginLayeredTexture' is not exposed, skipping.
Class 'EditorInspectorPluginMaterial' is not exposed, skipping.
Class 'EditorInspectorPluginMesh' is not exposed, skipping.
Class 'EditorInspectorPluginPackedScene' is not exposed, skipping.
Class 'EditorInspectorPluginSkeleton' is not exposed, skipping.
Class 'EditorInspectorPluginStyleBox' is not exposed, skipping.
Class 'EditorInspectorPluginSubViewportPreview' is not exposed, skipping.
Class 'EditorInspectorPluginSystemFont' is not exposed, skipping.
Class 'EditorInspectorPluginTexture' is not exposed, skipping.
Class 'EditorInspectorPluginTextureRegion' is not exposed, skipping.
Class 'EditorInspectorPluginTileData' is not exposed, skipping.
Class 'EditorInspectorRootMotionPlugin' is not exposed, skipping.
Class 'EditorInspectorVisualShaderModePlugin' is not exposed, skipping.
Class 'EditorJSONSyntaxHighlighter' is not exposed, skipping.
Class 'EditorLayoutsDialog' is not exposed, skipping.
Class 'EditorLocaleDialog' is not exposed, skipping.
Class 'EditorLog' is not exposed, skipping.
Class 'EditorMaterialPreviewPlugin' is not exposed, skipping.
Class 'EditorMeshPreviewPlugin' is not exposed, skipping.
Class 'EditorNativeShaderSourceVisualizer' is not exposed, skipping.
Class 'EditorNode' is not exposed, skipping.
Class 'EditorOBJImporter' is not exposed, skipping.
Class 'EditorObjectSelector' is not exposed, skipping.
Class 'EditorPackedScenePreviewPlugin' is not exposed, skipping.
Class 'EditorPerformanceProfiler' is not exposed, skipping.
Class 'EditorPluginCSG' is not exposed, skipping.
Class 'EditorPluginSettings' is not exposed, skipping.
Class 'EditorProfiler' is not exposed, skipping.
Class 'EditorPropertyInteger' is not exposed, skipping.
Class 'EditorPropertyNameProcessor' is not exposed, skipping.
Class 'EditorPropertyPath' is not exposed, skipping.
Class 'EditorPropertyVector2i' is not exposed, skipping.
Class 'EditorPropertyVectorN' is not exposed, skipping.
Class 'EditorQuickOpen' is not exposed, skipping.
Class 'EditorRunBar' is not exposed, skipping.
Class 'EditorRunNative' is not exposed, skipping.
Class 'EditorSceneExporterGLTFSettings' is not exposed, skipping.
Class 'EditorSceneFormatImporterCollada' is not exposed, skipping.
Class 'EditorSceneFormatImporterESCN' is not exposed, skipping.
Class 'EditorSceneTabs' is not exposed, skipping.
Class 'EditorScriptPreviewPlugin' is not exposed, skipping.
Class 'EditorSettingsDialog' is not exposed, skipping.
Class 'EditorTexturePreviewPlugin' is not exposed, skipping.
Class 'EditorTextureTooltipPlugin' is not exposed, skipping.
Class 'EditorTheme' is not exposed, skipping.
Class 'EditorTitleBar' is not exposed, skipping.
Class 'EditorToaster' is not exposed, skipping.
Class 'EditorValidationPanel' is not exposed, skipping.
Class 'EditorVisualProfiler' is not exposed, skipping.
Class 'EditorZoomWidget' is not exposed, skipping.
Class 'EventListenerLineEdit' is not exposed, skipping.
Class 'ExportTemplateManager' is not exposed, skipping.
Class 'FBXImporterManager' is not exposed, skipping.
Class 'FileSystemList' is not exposed, skipping.
Class 'FindInFiles' is not exposed, skipping.
Class 'FindInFilesDialog' is not exposed, skipping.
Class 'FindInFilesPanel' is not exposed, skipping.
Class 'FindReplaceBar' is not exposed, skipping.
Class 'FogMaterialConversionPlugin' is not exposed, skipping.
Class 'FontEditorPlugin' is not exposed, skipping.
Class 'GDScriptEditorTranslationParserPlugin' is not exposed, skipping.
Class 'GDScriptLanguageServer' is not exposed, skipping.
Class 'GDScriptNativeClass' is not exposed, skipping.
Class 'GDScriptSyntaxHighlighter' is not exposed, skipping.
Class 'GLTFDocumentExtensionPhysics' is not exposed, skipping.
Class 'GLTFDocumentExtensionTextureKTX' is not exposed, skipping.
Class 'GLTFDocumentExtensionTextureWebP' is not exposed, skipping.
Class 'GPUParticles2DEditorPlugin' is not exposed, skipping.
Class 'GPUParticles3DEditor' is not exposed, skipping.
Class 'GPUParticles3DEditorBase' is not exposed, skipping.
Class 'GPUParticles3DEditorPlugin' is not exposed, skipping.
Class 'GPUParticlesCollisionSDF3DEditorPlugin' is not exposed, skipping.
Class 'Gizmo3DHelper' is not exposed, skipping.
Class 'GodotNavigationServer2D' is not exposed, skipping.
Class 'GodotPhysicsServer2D' is not exposed, skipping.
Class 'GodotPhysicsServer3D' is not exposed, skipping.
Class 'GradientEditorPlugin' is not exposed, skipping.
Class 'GradientTexture2DEditorPlugin' is not exposed, skipping.
Class 'GraphEditFilter' is not exposed, skipping.
Class 'GraphEditMinimap' is not exposed, skipping.
Class 'GridMapEditor' is not exposed, skipping.
Class 'GridMapEditorPlugin' is not exposed, skipping.
Class 'GroupSettingsEditor' is not exposed, skipping.
Class 'GroupsEditor' is not exposed, skipping.
Class 'HistoryDock' is not exposed, skipping.
Class 'IPUnix' is not exposed, skipping.
Class 'ImportDefaultsEditor' is not exposed, skipping.
Class 'ImportDefaultsEditorSettings' is not exposed, skipping.
Class 'ImportDock' is not exposed, skipping.
Class 'ImportDockParameters' is not exposed, skipping.
Class 'InputEventConfigurationDialog' is not exposed, skipping.
Class 'InputEventEditorPlugin' is not exposed, skipping.
Class 'InspectorDock' is not exposed, skipping.
Class 'LightOccluder2DEditor' is not exposed, skipping.
Class 'LightOccluder2DEditorPlugin' is not exposed, skipping.
Class 'LightmapGIEditorPlugin' is not exposed, skipping.
Class 'Line2DEditor' is not exposed, skipping.
Class 'Line2DEditorPlugin' is not exposed, skipping.
Class 'LocalizationEditor' is not exposed, skipping.
Class 'MaterialEditorPlugin' is not exposed, skipping.
Class 'MeshEditorPlugin' is not exposed, skipping.
Class 'MeshInstance3DEditor' is not exposed, skipping.
Class 'MeshInstance3DEditorPlugin' is not exposed, skipping.
Class 'MeshLibraryEditor' is not exposed, skipping.
Class 'MeshLibraryEditorPlugin' is not exposed, skipping.
Class 'MovieWriterMJPEG' is not exposed, skipping.
Class 'MovieWriterPNGWAV' is not exposed, skipping.
Class 'MultiMeshEditor' is not exposed, skipping.
Class 'MultiMeshEditorPlugin' is not exposed, skipping.
Class 'MultiplayerEditorDebugger' is not exposed, skipping.
Class 'MultiplayerEditorPlugin' is not exposed, skipping.
Class 'NavigationLink2DEditor' is not exposed, skipping.
Class 'NavigationLink2DEditorPlugin' is not exposed, skipping.
Class 'NavigationMeshEditor' is not exposed, skipping.
Class 'NavigationMeshEditorPlugin' is not exposed, skipping.
Class 'NavigationObstacle2DEditor' is not exposed, skipping.
Class 'NavigationObstacle2DEditorPlugin' is not exposed, skipping.
Class 'NavigationObstacle3DEditor' is not exposed, skipping.
Class 'NavigationObstacle3DEditorPlugin' is not exposed, skipping.
Class 'NavigationPolygonEditor' is not exposed, skipping.
Class 'NavigationPolygonEditorPlugin' is not exposed, skipping.
Class 'Node3DEditor' is not exposed, skipping.
Class 'Node3DEditorPlugin' is not exposed, skipping.
Class 'Node3DEditorViewport' is not exposed, skipping.
Class 'Node3DEditorViewportContainer' is not exposed, skipping.
Class 'NodeDock' is not exposed, skipping.
Class 'NoiseEditorInspectorPlugin' is not exposed, skipping.
Class 'NoiseEditorPlugin' is not exposed, skipping.
Class 'ORMMaterial3DConversionPlugin' is not exposed, skipping.
Class 'OccluderInstance3DEditorPlugin' is not exposed, skipping.
Class 'OrphanResourcesDialog' is not exposed, skipping.
Class 'PackedSceneEditorPlugin' is not exposed, skipping.
Class 'PackedSceneEditorTranslationParserPlugin' is not exposed, skipping.
Class 'PanoramaSkyMaterialConversionPlugin' is not exposed, skipping.
Class 'ParallaxBackgroundEditorPlugin' is not exposed, skipping.
Class 'ParticleProcessMaterialConversionPlugin' is not exposed, skipping.
Class 'Path2DEditor' is not exposed, skipping.
Class 'Path2DEditorPlugin' is not exposed, skipping.
Class 'Path3DEditorPlugin' is not exposed, skipping.
Class 'Path3DGizmoPlugin' is not exposed, skipping.
Class 'PhysicalBone3DEditorPlugin' is not exposed, skipping.
Class 'PhysicalSkyMaterialConversionPlugin' is not exposed, skipping.
Class 'PluginConfigDialog' is not exposed, skipping.
Class 'Polygon2DEditor' is not exposed, skipping.
Class 'Polygon2DEditorPlugin' is not exposed, skipping.
Class 'Polygon3DEditor' is not exposed, skipping.
Class 'Polygon3DEditorPlugin' is not exposed, skipping.
Class 'PostImportPluginSkeletonRenamer' is not exposed, skipping.
Class 'PostImportPluginSkeletonRestFixer' is not exposed, skipping.
Class 'PostImportPluginSkeletonTrackOrganizer' is not exposed, skipping.
Class 'ProceduralSkyMaterialConversionPlugin' is not exposed, skipping.
Class 'ProgressDialog' is not exposed, skipping.
Class 'ProjectExportDialog' is not exposed, skipping.
Class 'ProjectExportTextureFormatError' is not exposed, skipping.
Class 'ProjectSettingsEditor' is not exposed, skipping.
Class 'PropertySelector' is not exposed, skipping.
Class 'RenameDialog' is not exposed, skipping.
Class 'ReparentDialog' is not exposed, skipping.
Class 'ReplicationEditor' is not exposed, skipping.
Class 'ResourceFormatImporterSaver' is not exposed, skipping.
Class 'ResourcePreloaderEditor' is not exposed, skipping.
Class 'ResourcePreloaderEditorPlugin' is not exposed, skipping.
Class 'RunInstancesDialog' is not exposed, skipping.
Class 'SceneCacheInterface' is not exposed, skipping.
Class 'SceneCreateDialog' is not exposed, skipping.
Class 'SceneExporterGLTFPlugin' is not exposed, skipping.
Class 'SceneImportSettingsData' is not exposed, skipping.
Class 'SceneImportSettingsDialog' is not exposed, skipping.
Class 'SceneRPCInterface' is not exposed, skipping.
Class 'SceneReplicationInterface' is not exposed, skipping.
Class 'SceneTileProxyObject' is not exposed, skipping.
Class 'SceneTreeDialog' is not exposed, skipping.
Class 'SceneTreeDock' is not exposed, skipping.
Class 'SceneTreeEditor' is not exposed, skipping.
Class 'ScreenSelect' is not exposed, skipping.
Class 'ScriptEditorDebugger' is not exposed, skipping.
Class 'ScriptEditorPlugin' is not exposed, skipping.
Class 'SectionedInspector' is not exposed, skipping.
Class 'SectionedInspectorFilter' is not exposed, skipping.
Class 'ShaderCreateDialog' is not exposed, skipping.
Class 'ShaderEditorPlugin' is not exposed, skipping.
Class 'ShaderFileEditor' is not exposed, skipping.
Class 'ShaderFileEditorPlugin' is not exposed, skipping.
Class 'ShaderGlobalsEditor' is not exposed, skipping.
Class 'ShaderGlobalsEditorInterface' is not exposed, skipping.
Class 'SizeFlagPresetPicker' is not exposed, skipping.
Class 'Skeleton2DEditor' is not exposed, skipping.
Class 'Skeleton2DEditorPlugin' is not exposed, skipping.
Class 'Skeleton3DEditorPlugin' is not exposed, skipping.
Class 'Skeleton3DGizmoPlugin' is not exposed, skipping.
Class 'SkeletonIK3DEditorPlugin' is not exposed, skipping.
Class 'SnapDialog' is not exposed, skipping.
Class 'SplitContainerDragger' is not exposed, skipping.
Class 'Sprite2DEditor' is not exposed, skipping.
Class 'Sprite2DEditorPlugin' is not exposed, skipping.
Class 'SpriteFramesEditor' is not exposed, skipping.
Class 'SpriteFramesEditorPlugin' is not exposed, skipping.
Class 'StandardMaterial3DConversionPlugin' is not exposed, skipping.
Class 'StyleBoxEditorPlugin' is not exposed, skipping.
Class 'SubViewportPreviewEditorPlugin' is not exposed, skipping.
Class 'SurfaceUpgradeDialog' is not exposed, skipping.
Class 'SurfaceUpgradeTool' is not exposed, skipping.
Class 'Texture3DEditorPlugin' is not exposed, skipping.
Class 'TextureEditorPlugin' is not exposed, skipping.
Class 'TextureLayeredEditorPlugin' is not exposed, skipping.
Class 'TextureRegionEditor' is not exposed, skipping.
Class 'TextureRegionEditorPlugin' is not exposed, skipping.
Class 'ThemeContext' is not exposed, skipping.
Class 'ThemeEditor' is not exposed, skipping.
Class 'ThemeEditorPlugin' is not exposed, skipping.
Class 'ThemeEditorPreview' is not exposed, skipping.
Class 'ThemeItemEditorDialog' is not exposed, skipping.
Class 'ThemeItemImportTree' is not exposed, skipping.
Class 'ThemeTypeDialog' is not exposed, skipping.
Class 'ThemeTypeEditor' is not exposed, skipping.
Class 'TileAtlasView' is not exposed, skipping.
Class 'TileMapEditorPlugin' is not exposed, skipping.
Class 'TileMapLayerEditor' is not exposed, skipping.
Class 'TileMapLayerEditorTerrainsPlugin' is not exposed, skipping.
Class 'TileMapLayerEditorTilesPlugin' is not exposed, skipping.
Class 'TileProxiesManagerDialog' is not exposed, skipping.
Class 'TileSetAtlasSourceEditor' is not exposed, skipping.
Class 'TileSetAtlasSourceProxyObject' is not exposed, skipping.
Class 'TileSetEditor' is not exposed, skipping.
Class 'TileSetEditorPlugin' is not exposed, skipping.
Class 'TileSetScenesCollectionProxyObject' is not exposed, skipping.
Class 'TileSetScenesCollectionSourceEditor' is not exposed, skipping.
Class 'TileSourceInspectorPlugin' is not exposed, skipping.
Class 'TilesEditorUtils' is not exposed, skipping.
Class 'UVEditDialog' is not exposed, skipping.
Class 'VersionControlEditorPlugin' is not exposed, skipping.
Class 'ViewPanner' is not exposed, skipping.
Class 'ViewportNavigationControl' is not exposed, skipping.
Class 'ViewportRotationControl' is not exposed, skipping.
Class 'VisualShaderConversionPlugin' is not exposed, skipping.
Class 'VoxelGIEditorPlugin' is not exposed, skipping.
Class 'WindowWrapper' is not exposed, skipping.
Loaded system CA certificates
EditorSettings: Save OK!
ERROR: Cannot open file 'res://.godot/imported/menu_theme.wav-06a46a609c7469a3739e0cdff2873af6.sample'.
   at: load (core/io/resource_format_binary.cpp:1214)
ERROR: Failed loading resource: res://.godot/imported/menu_theme.wav-06a46a609c7469a3739e0cdff2873af6.sample. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:283)
ERROR: Failed loading resource: res://scenes/main_menu/menu_theme.wav. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:283)
SCRIPT ERROR: Parse Error: Could not preload resource file "res://scenes/main_menu/menu_theme.wav".
          at: GDScript::reload (res://scenes/main_menu/main_menu.gd:4)
SCRIPT ERROR: Compile Error: 
          at: GDScript::reload (res://autoloads/menu_controller/menu_controller.gd:-1)
ERROR: Failed to load script "res://autoloads/menu_controller/menu_controller.gd" with error "Parse error".
   at: load (modules/gdscript/gdscript.cpp:2936)
Unloading addon: res://addons/AsepriteWizard/plugin.cfg
Unloading addon: res://addons/csv_importer/plugin.cfg
Unloading addon: res://addons/AsepriteWizard/plugin.cfg

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.3.stable.official (77dcf97d82cbfe4e4615475fa52ca03da645dbd8)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
ERROR: FATAL: Index p_index = 1 is out of bounds (size() = 0).
   at: get (./core/templates/cowdata.h:205)
Illegal instruction (core dumped)
Error: Process completed with exit code 132.
2 Likes

This headless issue is affecting me too. From a different thread, it seemed to have been fixed in rc2, but the fix appears to have been wrapping this:

if (prefer_wayland) {
    display_driver = "wayland";
} else {
    display_driver = "default";
}

4.3-stable in the repo looks like this:

if (display_driver.is_empty()) {
  if (prefer_wayland) {
      display_driver = "wayland";
  } else {
      display_driver = "default";
  }
}

This seems to be causing environments without a graphic driver (e.g. the ubuntu-latest github actions runner) to continue to experience the issue.