On Ubuntu 24.04, while building UnrealEngine 5.4.4, and after running GenerateProjectFiles.sh
, I get an error relating to the UnrealBuildTool, and a missing Microsoft NuGet Extension (Microsoft.Extensions.Configuration.Binder). (I also tried UnrealEngine 5.4.3 with the same result.) The full output is shown below. The microsoft.extensions.configuration.binder.6.0.0.nupkg
file reported is indeed not in the directory (i.e. ~/.nuget/packages/microsoft.extensions.configuration.binder/6.0.0
); though .nuspec
and 6.0.0.nupkg.sha512
files are there. Any suggestions on how to get past this?
UnrealEngine-5.4.4-release $ ./GenerateProjectFiles.sh
Attempting to set up UE pretty printers for gdb (existing UEPrinters.py, if any, will be overwritten)...
updated UEPrinters.py
cannot modify .gdbinit. Please add the below lines manually:
python
import sys
sys.path.append('/home/XXXXXX/.config/Epic/GDBPrinters/')
from UEPrinters import register_ue_printers
register_ue_printers(None)
print("Registered pretty printers for UE classes")
end
Setting up Unreal Engine project files...
Setting up bundled DotNet SDK
Rebuilding: UnrealBuildTool assembly not found
Setting up bundled DotNet SDK
Microsoft (R) Build Engine version 17.2.0+41abc5629 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
/home/XXXXXX/code/ext/UnrealEngine-5.4.4-release/Engine/Binaries/ThirdParty/DotNet/6.0.302/linux/sdk/6.0.302/NuGet.targets(130,5): error : Could not find file '/home/XXXXXX/.nuget/packages/microsoft.extensions.configuration.binder/6.0.0/microsoft.extensions.configuration.binder.6.0.0.nupkg'. [/home/XXXXXX/code/ext/UnrealEngine-5.4.4-release/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
Build FAILED.
/home/XXXXXX/code/ext/UnrealEngine-5.4.4-release/Engine/Binaries/ThirdParty/DotNet/6.0.302/linux/sdk/6.0.302/NuGet.targets(130,5): error : Could not find file '/home/XXXXXX/.nuget/packages/microsoft.extensions.configuration.binder/6.0.0/microsoft.extensions.configuration.binder.6.0.0.nupkg'. [/home/XXXXXX/code/ext/UnrealEngine-5.4.4-release/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:01.20
Compilation failed
GenerateProjectFiles ERROR: Failed to build UnrealBuildTool