Skip to content

2: Install: Fixing Existing Engine Issues

ADM8 edited this page Jul 23, 2026 · 2 revisions

Compilation Errors

Note: According to what I know the right Solution would be to use the Correct Windows SDK and MSVC Versions for 5.2.1, But I havent figured out how to Configure it.

Error C4756: overflow in constant arithmetic

  • This Error will appear in Random areas. It is caused by the compiler not liking INFINITY
  • To fix it, replace INFINITY with std::numeric_limits<float>::infinity() in the following files:
RenderGraphPrivate.cpp (line 200)
PeakPicker.cpp (line 17)
LiveLinkClient.cpp (line 1711)
PoseSearchLibrary.cpp (line 29)
NNEQAUnitTestOpUnary.cpp (line 209)
  • For attention_fusion_helper.h (line 767) in NNE and NNI, these files arent Editable in Visual Studio.
  • Find them at:
Engine\Plugins\Experimental\NNE\Source\ThirdParty\onnxruntime\Onnxruntime\Private\core\optimizer\attention_fusion_helper.h
Engine\Plugins\Experimental\NNI\Source\ThirdParty\ORT_4_1\Private\core\optimizer\attention_fusion_helper.h

And use Notepad to apply the fix

Clone this wiki locally