I didn’t want to downgrade ICU, so I exported the DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1 variable to enable an invariant culture. I don’t think it’s a good idea for a production pipeline but works for me at the moment.
Either run the following in the terminal window before running the script and every time before running the Editor:
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
Or add the export to the end of your ~/.bashrc to enable this across all terminals so you don’t have to run it manually next time. This will apply for all new terminal sessions, or to the current one after running source ~/.bashrc. If using zsh, use ~/.zshrc instead of ~/.bashrc.
I’d rather do the first option, even though I’ll need to run the export in each new terminal session before running the Editor. Applying invariant culture to all dotnet apps doesn’t seem like a good idea to me. Hopefully soon the ICU dependency will be upgraded in the Engine, so doing all that won’t be necessary anymore.
./GenerateProjectFiles.sh ✔
Attempting to set up UE pretty printers for gdb (existing UEPrinters.py, if any, will be overwritten)...
updated UEPrinters.py
found necessary entries in ~/.gdbinit file, not changing it.
Setting up Unreal Engine 5 project files...
Setting up bundled DotNet SDK
/opt/UnrealEngine-5.0.2-release/Engine/Binaries/ThirdParty/DotNet/Linux/sdk/3.1.401/NuGet.targets(255,5): error : Der Dienstindex für die Quelle "https://api.nuget.org/v3/index.json" konnte nicht geladen werden. [/opt/UnrealEngine-5.0.2-release/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
/opt/UnrealEngine-5.0.2-release/Engine/Binaries/ThirdParty/DotNet/Linux/sdk/3.1.401/NuGet.targets(255,5): error : The SSL connection could not be established, see inner exception. [/opt/UnrealEngine-5.0.2-release/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
/opt/UnrealEngine-5.0.2-release/Engine/Binaries/ThirdParty/DotNet/Linux/sdk/3.1.401/NuGet.targets(255,5): error : The remote certificate is invalid according to the validation procedure. [/opt/UnrealEngine-5.0.2-release/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
GenerateProjectFiles ERROR: Failed to build UnrealBuildTool
I tried both installing libicu50 and setting globalization to 1 and i’m having the same issue as LucyVergil. I even changed to the 5.0 branch and the problem persists. Maybe is it a bug in the build?
I’m having this same issue, so far I have tried multiple versions of dotnet sdks and played with some NuGet settings. There’s not much about this error out on the net unless you remove compiling Unreal Engine 5 as a search parameter. I have a hunch it’s about how vscode is installed… I have the binary from the AUR.
/home/laflaizn/UnrealEngine/Engine/Binaries/ThirdParty/DotNet/Linux/sdk/3.1.401/NuGet.targets(255,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. [/home/laflaizn/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
/home/laflaizn/UnrealEngine/Engine/Binaries/ThirdParty/DotNet/Linux/sdk/3.1.401/NuGet.targets(255,5): error : The SSL connection could not be established, see inner exception. [/home/laflaizn/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
/home/laflaizn/UnrealEngine/Engine/Binaries/ThirdParty/DotNet/Linux/sdk/3.1.401/NuGet.targets(255,5): error : The remote certificate is invalid according to the validation procedure. [/home/laflaizn/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
Any chance you can help me out with the symlink command? I’m fairly certain I’ve got it right but it still doesn’t work, seems like you were in the same boat?
After installing libicu50 i was able to get pass globalization
I wasn’t able to install libssl but openssl worked for me then i “dotnet restore” no clue if that helped in anyway then i mkdir and ln.
Now it is compiling thank you all.