# \[UE5.6\] Build error

**URL:** <https://forums.unrealengine.com/t/ue5-6-build-error/2561583>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [June 17, 2025, 4:26am UTC](https://forums.unrealengine.com/t/ue5-6-build-error/2561583 "2025-06-17T04:26:50Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlienRenders](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlienRenders](https://forums.unrealengine.com/u/AlienRenders)\
**Post date:** [June 17, 2025, 4:26am UTC](https://forums.unrealengine.com/t/ue5-6-build-error/2561583/1 "2025-06-17T04:26:50Z")

</div>

I can’t build. On a clean build, I get these errors. Anyone know how to fix this?

```auto
1>[1/28] Link [x64] UnrealEditor-NNERuntimeORT.dll
1>Module.NNERuntimeORT.cpp.obj : error LNK2001: unresolved external symbol DXCORE_ADAPTER_ATTRIBUTE_D3D12_GENERIC_ML
1>..\Plugins\NNE\NNERuntimeORT\Binaries\Win64\UnrealEditor-NNERuntimeORT.dll : fatal error LNK1120: 1 unresolved externals
1>[2/28] Compile [x64] Module.AnimNextAnimGraph.4.cpp
1>P:\Projects\UE5.6_NoDQS\UnrealEngine\Engine\Plugins\Experimental\AnimNextAnimGraph\Source\AnimNextAnimGraph\Private\Traits\BlendStackTrait.cpp(378): error C4756: overflow in constant arithmetic
1> while compiling UE::AnimNext::FBlendStackCoreTrait::GetState
1>[3/28] Compile [x64] Module.AnimNextStateTree.cpp
1>P:\Projects\UE5.6_NoDQS\UnrealEngine\Engine\Plugins\Experimental\AnimNextAnimGraph\Source\AnimNextAnimGraph\Public\TraitInterfaces\ITimeline.h(123): error C4756: overflow in constant arithmetic
1> while compiling UE::AnimNext::FTimelineState::IsFinite
1>P:\Projects\UE5.6_NoDQS\UnrealEngine\Engine\Plugins\Experimental\AnimNextAnimGraph\Source\AnimNextAnimGraph\Public\TraitInterfaces\ITimeline.h(98): error C4756: overflow in constant arithmetic
1> while compiling UE::AnimNext::FTimelineState::GetPositionRatio
1>[4/28] Compile [x64] Module.AnimNextAnimGraph.3.cpp
1>P:\Projects\UE5.6_NoDQS\UnrealEngine\Engine\Plugins\Experimental\AnimNextAnimGraph\Source\AnimNextAnimGraph\Public\TraitInterfaces\ITimeline.h(123): error C4756: overflow in constant arithmetic
1> while compiling UE::AnimNext::FTimelineState::IsFinite
1>P:\Projects\UE5.6_NoDQS\UnrealEngine\Engine\Plugins\Experimental\AnimNextAnimGraph\Source\AnimNextAnimGraph\Public\TraitInterfaces\ITimeline.h(98): error C4756: overflow in constant arithmetic
1> while compiling UE::AnimNext::FTimelineState::GetPositionRatio
1>[5/28] Compile [x64] Module.NNERuntimeRDG.cpp
1>P:\Projects\UE5.6_NoDQS\UnrealEngine\Engine\Plugins\Experimental\NNERuntimeRDG\Source\NNERuntimeRDG\Private\Tests\NNERuntimeRDGUnitTestOpUnary.cpp(209): error C4756: overflow in constant arithmetic
1> while compiling UE::NNERuntimeRDG::Private::Test::UnaryOp::FElementWiseUnaryCPUHelperIsInf::RunTest

```

---

<div class="post-metadata">

**Author:** ![brs-sebascova](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brs-sebascova/32/1052483_2.png) [@brs-sebascova](https://forums.unrealengine.com/u/brs-sebascova)\
**Post date:** [June 17, 2025, 2:22pm UTC](https://forums.unrealengine.com/t/ue5-6-build-error/2561583/2 "2025-06-17T14:22:58Z")

</div>

Hello there @AlienRenders!

Per checking your provided log, the “unresolved external symbol” error suggest a possible mismatch with the SDK installed in your system. Please make sure you are working the DXCORE\_ADAPTER\_ATTRIBUTE\_D3D12\_GENERIC\_ML

Current requirements for 5.6 go as follows:

- Visual Studio 2022 v17.14 or newer
- Windows SDK 10.0.22621.0 or newer
- LLVM clang
  - Minimum: 18.1.3
  - Preferred: 18.1.8

- .NET 8.0

More details can be found in the guide below:

> **[Setting Up Visual Studio Development Environment for C++ Projects in Unreal...](https://dev.epicgames.com/documentation/en-us/unreal-engine/setting-up-visual-studio-development-environment-for-cplusplus-projects-in-unreal-engine)**
>
> Tips, tricks, and techniques for setting up Visual Studio to work with Unreal Engine.

Additionally, I would suggest disabling the experimental plugins AnimNext and NNERuntimeRDG (unless they are required for your build). As well, please perform a cache clear, via deleting folders Intermediate, Binaries, and DerivedDataCache, then regenerating project files.

---

<div class="post-metadata">

**Author:** ![AlienRenders](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlienRenders](https://forums.unrealengine.com/u/AlienRenders)\
**Post date:** [June 17, 2025, 4:15pm UTC](https://forums.unrealengine.com/t/ue5-6-build-error/2561583/3 "2025-06-17T16:15:53Z")

</div>

I’m using SDK 10.0.26100.

Visual Studio is up to date. 17.14.3

For .NET, I have a bunch installed, but not 8. I have 2, 5, 6 and 9 SDKs. I’ll install .NET 8 and see what that does.

The only clang executables on my machines are in the source for UE. It is version 20.0.0.

In this folder:  
P:\Projects\UE5.5\_NoDQS\UnrealEngine\Engine\Plugins\Experimental\NNERuntimeIREE\Binaries\ThirdParty\IREE\Windows\clang++.exe

I have clang.exe in much older folders of UE. But I don’t have clang itself installed on my machine.

Anyways, I’ll try .NET 8 to start.

I do have a Windows 10 SDK still on my machine. I wonder if that’s not what clang is picking up since that seems to be the module that has the clang exe in it. I could remove it I suppose.

edit: In the Visual Studio install, I already had .NET 6,7,8 and 9 installed, so that wasn’t it.

I noticed in GenerateProjectFiles.bat, it wants a newer tool chain. I must have missed that warning the first time around. Trying to install that now.

edit2: I already had the newest toolchain, but it was using an old one for some reason. I removed the old one and I no longer get the warning in GenerateProjectFiles.bat. Gonna rebuild and see what happens.

---

<div class="post-metadata">

**Author:** ![AlienRenders](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlienRenders](https://forums.unrealengine.com/u/AlienRenders)\
**Post date:** [June 17, 2025, 8:00pm UTC](https://forums.unrealengine.com/t/ue5-6-build-error/2561583/4 "2025-06-17T20:00:59Z")

</div>

No change. Exact same errors. Everything is up to date for requirements.

```auto
1>Using Visual Studio 2022 14.44.35209 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207) and Windows 10.0.26100.0 SDK

```

---

<div class="post-metadata">

**Author:** ![AlienRenders](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlienRenders](https://forums.unrealengine.com/u/AlienRenders)\
**Post date:** [June 17, 2025, 9:24pm UTC](https://forums.unrealengine.com/t/ue5-6-build-error/2561583/5 "2025-06-17T21:24:19Z")

</div>

I’ve had a VERY long session with grok to try and resolve this. Finally found that this is missing at the top of NNERuntimeORTUtils.cpp in the NNERuntimeORT module just before the dxcore\_interface.h include.

```auto
#include <initguid.h> // this is missing
#include <dxcore_interface.h>

```

That fixed the linker error. I’m now trying to resolve the overflow errors. It’s clear at this point that the 5.6 branch is broken.

---

<div class="post-metadata">

**Author:** ![AlienRenders](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlienRenders](https://forums.unrealengine.com/u/AlienRenders)\
**Post date:** [June 17, 2025, 9:40pm UTC](https://forums.unrealengine.com/t/ue5-6-build-error/2561583/6 "2025-06-17T21:40:02Z")

</div>

The rest of the errors are just bad code. They’re using INFINITY define with a float which will overflow by definition. It even says it in the comments that it must overflow.

Did nobody even try to compile this?

I replaced all the uses of INFINITY with

```auto
std::numeric_limits<float>::infinity()

```

Not sure if it’ll still work, but I doubt I’ll be using that plugin.

---

<div class="post-metadata">

**Author:** ![TrueBelkiss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TrueBelkiss](https://forums.unrealengine.com/u/TrueBelkiss)\
**Post date:** [June 18, 2025, 9:03pm UTC](https://forums.unrealengine.com/t/ue5-6-build-error/2561583/7 "2025-06-18T21:03:56Z")

</div>

First error has been fixed upstream with this commit: [https://github.com/EpicGames/UnrealEngine/commit/efab9121048a8d9518204738f8d8a8baf0965dd6](https://github.com/EpicGames/UnrealEngine/commit/efab9121048a8d9518204738f8d8a8baf0965dd6)

Your solution adding the include is more elegant though…

About the infinity, these commits solved it:  
[https://github.com/EpicGames/UnrealEngine/commit/22f81416243a9bfb89e132cea66c288596006d47](https://github.com/EpicGames/UnrealEngine/commit/22f81416243a9bfb89e132cea66c288596006d47)  
and  
EpicGames/UnrealEngine/commit/9ce28ae0cb3e5c4a8bd513b37f4dd3c680617a83  
(not a url link because I’m a new user and seems there’s a limit of 2 :D)

Cheers

---

<div class="post-metadata">

**Author:** ![Riwakle](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Riwakle](https://forums.unrealengine.com/u/Riwakle)\
**Post date:** [July 30, 2025, 4:56pm UTC](https://forums.unrealengine.com/t/ue5-6-build-error/2561583/8 "2025-07-30T16:56:34Z")

</div>

This solution deserves to have more than 2 hearts. Thank you.

---

<div class="post-metadata">

**Author:** ![Yihan\_Tarnis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Yihan\_Tarnis](https://forums.unrealengine.com/u/Yihan_Tarnis)\
**Post date:** [August 15, 2025, 3:30pm UTC](https://forums.unrealengine.com/t/ue5-6-build-error/2561583/9 "2025-08-15T15:30:44Z")

</div>

> [@AlienRenders](#):
>
> NNERuntimeORTUtils.cpp

Still not fixed in 5.6.1

---

<div class="post-metadata">

**Author:** ![zhenwei](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zhenwei](https://forums.unrealengine.com/u/zhenwei)\
**Post date:** [September 5, 2025, 6:58am UTC](https://forums.unrealengine.com/t/ue5-6-build-error/2561583/11 "2025-09-05T06:58:24Z")

</div>

If you are using the **Windows 11 SDK** , please update it to **version 10.0.22621.0 or later** —this will resolve the issue.

---

<div class="post-metadata">

**Author:** ![Gorst933](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gorst933](https://forums.unrealengine.com/u/Gorst933)\
**Post date:** [October 27, 2025, 7:35pm UTC](https://forums.unrealengine.com/t/ue5-6-build-error/2561583/12 "2025-10-27T19:35:28Z")

</div>

Updating Windows 11 SDK did not fix it for me. i think i will wait until this mess is more stable and still with non source code for now.

---

<div class="post-metadata">

**Author:** ![RaidenV\_00](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RaidenV\_00](https://forums.unrealengine.com/u/RaidenV_00)\
**Post date:** [December 2, 2025, 12:16pm UTC](https://forums.unrealengine.com/t/ue5-6-build-error/2561583/13 "2025-12-02T12:16:53Z")

</div>

God. You are life-savior.

---

<div class="post-metadata">

**Author:** ![CRN\_Gunwoo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CRN\_Gunwoo](https://forums.unrealengine.com/u/CRN_Gunwoo)\
**Post date:** [December 4, 2025, 5:59am UTC](https://forums.unrealengine.com/t/ue5-6-build-error/2561583/14 "2025-12-04T05:59:21Z")

</div>

God. You are life-savior.
