Here’s the log from UBT after I `touch` a .cpp file, and do a standard build.
I’ve previously compiled all UBA projects in Debug from the Uba solution (afaik the build already places them in the correct folder).
You can see a linker error that can’t open the DLL. However the file exists.
I tried running UbaCli.exe under VS to debug what’s happening, and it also fails in the same way. My command line:
UbaCli.exe -workdir=C:\dne\monorepo-preview\UE\Engine\Source -cache=“192.168.3.127” local “C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\Hostx64\x64\link.exe” @C:\dne\monorepo-preview\DNE\Plugins\Core\DNEAnimationCore\Intermediate\Build\Win64\x64\UnrealEditor\Development\DNEAnimationCoreRuntime\UnrealEditor-DNEAnimationCoreRuntime.dll.rsp
However, if I run the link step myself from a shell, it works.
So I’m thinking, but this is a wild guess, that Detour might have something to do with this? I’ve also noticed that we had several include directives with a trailing space in the filename, such as
include "SomeHeader.h "
that worked without anyone noticing for years, on msvc and clang-cl, but failed instantly under UBA with a “file not found” error.
I’ve also attached our patch, named DNEGameSupport. It’s quite pervasive, sorry about that.