tsi6800
(tsi6800)
May 7, 2025, 3:59pm
1
Hi there,
After cloning the unreal branch 5.5 from github I got the following error when executing Setup.bat in the projects root directory:
PS C:\work\UnrealEngine\UE_5.5> .\Setup.bat
The required library C:\work\UnrealEngine\UE_5.5\Engine\Binaries\DotNET\GitDependencies\win-x64\hostfxr.dll does not contain the expected entry point.
I cloned with:
PS C:\work\UnrealEngine> git clone -b 5.5 --single-branch --recurse-submodules https://USERNAME@github.com/EpicGames/UnrealEngine.git ./UE_5.5
Any idea why this error arise?
Thank you for your help
Hello there @tsi6800 !
Checking through the community, similar scenarios were encountered in other threads. The most succesful solution was to download and install DotNET 3.1 Download .NET Core 3.1 (Linux, macOS, and Windows) | .NET
For your scenario in particular, I would also suggest to delete and re-generate the files from GitDependencies folder, which includes hostfxr.dll
You can also check for more details in the following posts:
Hi all,
First, I got a message that the demo level couldn’t be opened with the current version of UE, so it made a copy…
However, I’m unable to open the copy, as it still wants to duplicate it, and I get this error:
Project files could not be generated. Log output:
Running E:/UE_4.23/UE_5.0EA/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe -projectfiles -project=“F:/Unreal Engine Projects/UE5 Demo/ValleyoftheAncient 5.0 - 2/AncientGame.uproject” -game -rocket -progress
A fatal e…
I get the following error when trying to create a new Unreal Engine 5 project.
An error occurred while trying to generate project files.
Running D:/Apps/Epic Games/UE_5.0EA/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe -projectfiles -project="D:/HD/Projects/Unreal Projects/AtlanticaWorlds/AtlanticaWorlds.uproject" -game -rocket -progress
A fatal error occurred. The required library hostfxr.dll could not be found.
If this is a self-contained application, that library should exist …
tsi6800
(tsi6800)
May 9, 2025, 2:02pm
3
Installing DotNET 3.1 Download .NET Core 3.1 (Linux, macOS, and Windows) | .NET resolved this issue.
Thank you very much
1 Like