Hi,
Wow, the RAM issue was a long shot… For the linker error, I was tempted to answer: try replugging the hard drive… haha, but seriously, according to the original message, it failed linking UnrealEditor-RHICore.dll, so the very first thing would be to look a the response file containing the linker command line. For example, when I compile Lyra, I get this .rsp: D:\UE_5.5\Engine\Intermediate\Build\Win64\x64\UnrealEditor\Development\RHICore\UnrealEditor-RHICore.dll.rsp (changing D:\UE_5.5 for your own engine root should lead to to the right file)
Inside that file you should see which library UBT is linking. Mine looks like this:
/MANIFEST:EMBED /MANIFESTINPUT:"..\Build\Windows\Resources\Default-Win64.manifest" /NOLOGO /DEBUG:FULL /errorReport:prompt /MACHINE:x64 /SUBSYSTEM:WINDOWS /FIXED:No /NXCOMPAT /STACK:12000000 /DELAY:UNLOAD /DLL /PDBALTPATH:%_PDB% /d2:-ExtendedWarningInfo /OPT:NOREF /OPT:NOICF /INCREMENTAL:NO /ignore:4199 /ignore:4099 /ALTERNATENAME:__imp___std_init_once_begin_initialize=__imp_InitOnceBeginInitialize /ALTERNATENAME:__imp___std_init_once_complete=__imp_InitOnceComplete /DELAYLOAD:"GFSDK_Aftermath_Lib.x64.dll" /DELAYLOAD:"d3d12.dll" /DELAYLOAD:"DBGHELP.DLL" /LIBPATH:"C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.38.33130\lib\x64" /LIBPATH:"C:\Program Files (x86)\Windows Kits\10\lib\10.0.22621.0\ucrt\x64" /LIBPATH:"C:\Program Files (x86)\Windows Kits\10\lib\10.0.22621.0\um\x64" /NODEFAULTLIB:"LIBCMT" /NODEFAULTLIB:"LIBCPMT" /NODEFAULTLIB:"LIBCMTD" /NODEFAULTLIB:"LIBCPMTD" /NODEFAULTLIB:"MSVCRTD" /NODEFAULTLIB:"MSVCPRTD" /NODEFAULTLIB:"LIBC" /NODEFAULTLIB:"LIBCP" /NODEFAULTLIB:"LIBCD" /NODEFAULTLIB:"LIBCPD" /FUNCTIONPADMIN:6 /NOIMPLIB /NATVIS:"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\RenderCore\RenderCore.natvis" "..\Intermediate\Build\Win64\x64\UnrealEditor\Development\Core\SharedPCH.Core.Cpp20.h.obj" "..\Intermediate\Build\Win64\x64\UnrealEditor\Development\RHICore\Module.RHICore.cpp.obj" "..\Intermediate\Build\Win64\x64\UnrealEditor\Development\RHICore\RHICoreNvidiaAftermath.cpp.obj" "..\Intermediate\Build\Win64\x64\UnrealEditor\Development\Default.rc2.res" "ThirdParty\NVIDIA\NVaftermath\lib\x64\GFSDK_Aftermath_Lib.x64.lib" "..\Intermediate\Build\Win64\x64\UnrealEditor\Development\Core\UnrealEditor-Core.lib" "..\Intermediate\Build\Win64\x64\UnrealEditor\Development\RHI\UnrealEditor-RHI.lib" "..\Intermediate\Build\Win64\x64\UnrealEditor\Development\RenderCore\UnrealEditor-RenderCore.lib" "delayimp.lib" "wininet.lib" "rpcrt4.lib" "ws2_32.lib" "dbghelp.lib" "comctl32.lib" "Winmm.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib" "netapi32.lib" "iphlpapi.lib" "setupapi.lib" "synchronization.lib" "dwmapi.lib" "imm32.lib" /OUT:"..\Binaries\Win64\UnrealEditor-RHICore.dll" /PDB:"..\Binaries\Win64\UnrealEditor-RHICore.pdb" /ignore:4078
The important lines are:
... /DELAYLOAD:"GFSDK_Aftermath_Lib.x64.dll" ... "ThirdParty\NVIDIA\NVaftermath\lib\x64\GFSDK_Aftermath_Lib.x64.lib" ...
Can you confirm you have those two lines? If you do, then you need to double check you have the library: {$Your_UE_5_5Root}\Engine\Source\ThirdParty\NVIDIA\NVaftermath\lib\x64\GFSDK_Aftermath_Lib.x64.lib. You can resync that single file from P4 to be sure you have the right one… (just in case it was corrupted). Then if you have the .lib and the corresponding .dll {$Your_UE_5_5Root}\Engine\Binaries\ThirdParty\NVIDIA\NVaftermath\Win64\GFSDK_Aftermath_Lib.x64.dll along with the correct response file, then it something I cannot really explain. If you don’t have the lines in the .rsp file, then something might be wrong in D:\UE_5.5\Engine\Source\ThirdParty\NVIDIA\NVaftermath\NVaftermath.Build.cs or D:\UE_5.5\Engine\Source\Runtime\RHICore\RHICore.Build.cs… maybe you commented out the dependency to NVaftermath?
Regards,
Patrick