UBADetours.DLL errors

When I try to create a C++ game project using UE5.6, it keeps crashing during C++ compilation with error messages from cl.exe or rc.exe saying “UBADetours.dll not found” and “Unable to continue running code.” I’ve already reinstalled UE5.6 and even Visual Studio 2022 Community, but the problem persists

Hello there @games23561!

That .dll is tied to UE, so this tips the balance over the issue being in the engine side. Since you already tried a reinstall, I would suggest opening the drop-down menu in your install, and using “Verify”, to ensure that latest install is complete. I would also help checking if UBADetours.dll is present in the Binaries directory.

If the issue persists after these checks, then there’s a chance a missing VS component is generating the problem instead. Please check the setup guide for VS and UE 5.6, and make sure that all addons are installed, with their proper versions: