Description
Mine here is more of a report, since the issue was originally made on Godot Engine's Repo, which uses C# as an alternative programming language over their internal GDScript.
So, what happened:
On Nobara Linux (custom Fedora 42), building the project with Dotnet 8 (it's the minimum requirement for the engine version that I'm using) would result in a long hang.
Building the project via terminal, instead shows an error after 10 minutes, which corresponds to a timeout regarding network connections (and since it had to fetch the dependencies).
I got suggested to make a new .NET project with this content:
var httpClient = new HttpClient();
var response = await httpClient.GetAsync("https://your.chosen.URL");
Console.WriteLine("Response statuc code: " + response.StatusCode);
And, either be Package or Scripted userspace install, it would still timeout.
In the end, the workaround I'm actually using is to make an additional Application Launcher which prepends DOTNET_SYSTEM_NET_DISABLEIPV6
to the engine executable / dotnet executable or directly launch it from terminal.
Now since I'm here, other than this method, is there a way to say to dotnet
to fall back to IPV4 globally, instead of having to disable IPV6 entirely with an environment variable? (I've already tried disabling IPV6 in the OS's network settings, doesn't change anything)