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

Hi,

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

Logs:
https://dump.cy.md/f2fc92fb90ea644c2d1849eb95dd15fe/2021-10-13_19.50.10_225536.log
https://dump.cy.md/283d0930f68d95557fc3106338f35566/2021-10-13_19.50.14_225786.log

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