Skip to content

[Dotnet] Project build hangs only on Linux (Nobara 42) --> Disable IPV6 on build #107670

Closed
@ForeverExe

Description

@ForeverExe

Tested versions

Reproducible in:
Godot 4.x.x .NET

System information

Godot v4.3.stable.mono - Nobara Linux 42 (KDE Plasma Desktop Edition) - Wayland - Vulkan (Forward+)

Issue description

When building a Godot Project, the editor hangs and a dotnet process is created and runs endlessly, forcing me to kill it.

The window "Building .Net Project" stays at 0% even after 2 hours, while the window, if minimized, disappears and only the top tray remains.

When trying to compile the project manually using the command that appears in the output section, the following appears:

/usr/bin/dotnet build "/home/foreverexe/Documents/GodotProject/NewGameProject/New Game Project.csproj" -c Debug -v detailed -noconlog -l:GodotTools.BuildLogger.GodotBuildLogger,/home/foreverexe/Desktop/Godot_v4.4.1-mono/GodotSharp/Tools/GodotTools.BuildLogger.dll;/home/foreverexe/.local/share/godot/mono/build_logs/9d2d54e4e867286ebcc7a7be402f013f_Debug -p:GodotTargetPlatform=linuxbsd

MSBuild version 17.8.27+3ab07f0cf for .NET
MSBUILD : error MSB1009: Project file does not exist.
Switch: /home/foreverexe/Documents/GodotProject/NewGameProject/New Game Project.csproj
bash: /home/foreverexe/.local/share/godot/mono/build_logs/9d2d54e4e867286ebcc7a7be402f013f_Debug: Is a directory

It has the same behaviour, either be .NET 9,8 or 7 (installed through Official Fedora repositories via dnf).
I've read to try dotnet restore --verbosity diag to try resolve the issue but that hangs too after a short period of time (Assembly loaded during Evaluation: Microsoft.Build.NuGetSdkResolver, Version=6.8.1.32767, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (location: /usr/lib64/dotnet/sdk/8.0.116/Microsoft.Build.NuGetSdkResolver.dll, MVID: 023fd0f6-3461-4826-8535-04fc00ab4fd5, AppDomain: [Default], to be precise).

On Windows C# build works fine, building under a couple of seconds.

Steps to reproduce

(Using Nobara Linux 42, Dotnet-SDK-8 downloaded using dnf and official repos, nothing else done, not even changing/adding environment variables)

  • Download any Godot4-Mono version
  • Create a new project
  • Create a C# Script and write some code
  • Build the project or press Play

Minimal reproduction project (MRP)

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions