UE官方VS安装推荐:
https://docs.unrealengine.com/4.26/en-US/ProductionPipelines/DevelopmentSetup/VisualStudioSetup/
UE5报错:
A fatal error occurred. The required library hostfxr. dll could not be found.
解决方法:
此处下载的是SDK 3.1.420 x64(dotnet):
https://dotnet.microsoft.com/en-us/download/dotnet/3.1
以下是我的安装目录,需要你把hostfxr.dll复制到了UE5UnrealBuildTool目录(自己UE版本安装的位置)
C:\Program Files\dotnet\host\fxr\3.1.26
F:\Engine\UE_5.0\Engine\Binaries\DotNET\UnrealBuildTool
VS需要更改的设置