Skip to content

Loading Avalonia controls causes crash in Linux #27

@RoboMico

Description

@RoboMico

Description

I was having trouble trying to run the demo project in Linux environment. It works fine in Windows though.

I attempted some basic troubleshooting and located that this line seemed to have caused the issue:

Control = new HelloWorldView();

My assumption is that the Avalonia UserControl failed to load. However there was no output in the console or the editor, which is quite confusing.

Steps to reproduce

  1. Boot into a Linux OS environment with the latest version of Godot 4.3 Mono and .NET SDK 8 installed
  2. Clone the repo and open samples/HelloWorld/project.godot
  3. Run the game
  4. The godot splash screen shows, but the window then immediately closes. Nothing is output to the console or the Output tab in the editor.

Environment details

  • OS: Arch Linux (fully updated on 2025/2/11)
  • Godot: 4.3 Mono
  • .NET SDK: 8.0.112 (the global.json requires 8.0.404 so I manually edited it, otherwise the SDK refused to build it)
  • Graphics card: NVIDIA MX150 (driver: nvidia-dkms 570.86.16-2)
  • Kernal: 6.13.2.zen1-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions