Godot Mono freezes when trying to build a Mono project

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By CyberShadow


When I import a C# project demo and click :arrow_forward: or “Build”, Godot freezes.


Also, every time I open a project or select “Quit to Project List”, Godot leaves behind a frozen window (and one process per window).

:bust_in_silhouette: Reply From: CyberShadow

Solved, ran Godot in a clean environment (env -i) + changed build tool to DotNet CLI, and it worked (both problems solved).

ulimit -v unlimited
exec env -i DISPLAY="$DISPLAY" HOME="$HOME" XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" PATH=/usr/bin /bin/godot-mono