How can use IncrediBuild to compile UE4

How can use IncrediBuild to compile UE4? Which version is the require and how to setting it?

Probably the latest version is your best bet – but 7.3+ has worked for us.
Do a search for the file BuildConfiguration.xml (there seem to be a few but the one that works for me is in AppData/Roaming/Unreal Engine/UnrealBuildTool). In there set the tag to true. The next build from visual studio should pick it up.
HTH!

Thank you. i will try it !

Hi ggalt, Idan from IncrediBuild here, glad to see you’re using IB with UE4.

In a nutshell, you don’t need to do anything special in order for Unreal to accelerate your compilations using IncrediBuild. Once you have IncrediBuild set up in your machine, Unreal will automatically use it for compilation acceleration (make sure you have multiple Helpers for performance).

What you CAN do to boost the experience is add Shader acceleration (set r.XGEShaderCompile = 1 in ConsoleVariables.ini for faster-distributed shader build times.) Here’s a tweet a fellow IB/UE4 user shared on the matter: https://twitter.com/keefjudge/status/638701482360066048?lang=en

Happy accelerating,
Idan
The IncrediBuild team

Hi idannotamago,

Is this still working in UE 4.20? I installed https://www.incredibuild.com/FreeVisualStudioLicense and while it worked great for building code, I didn’t see shader builds getting distributed.

Hi Audonator,

Our team looked into this problem and it appears that Unreal Editor uses a specific path to determine whether IncrediBuild is installed:
“C:\Program Files (x86)\Xoreax\IncrediBuild\xgConsole.exe”

Since in recent versions we changed our default Installation path to “C:\Program Files (x86)\IncrediBuild” this file is no longer found by the editor on new installations (Upgrades from previous versions of IncrediBuild still use the old path).

We are working with Epic Games to resolve the problem, for now, our recommendation is to uninstall IncrediBuild and reinstall it into the “C:\Program Files (x86)\Xoreax\IncrediBuild” folder where Unreal Editor looks for our files. Note that this only needs to be done only on the machines where the Unreal Jobs are initiated from.

That worked great, thank you!

Hi all,
I wanted to update you that the bug that could cause Unreal to not detect IncrediBuild in the new installation path was resolved in the latest Release of the engine - 4.21.

With this version, you can have IncrediBuild installed under any path, and the detection will work correctly.

Thanks,
Idan from the IncrediBuild team

If you’re still stuck on an older version of the engine and already have IncrediBuild installed, you can create “C:\Program Files (x86)\Xoreax” and then create a Junction to the install path of IncrediBuild with “cmd /c mklink /J IncrediBuild …\IncrediBuild” and UE4Editor will find it.

Hello,
Is Incredibuild necessary? I don’t mind long builds, I DO MIND Added Complexity.

I just ran a test, I started a NEW BLANK PROJECT. EVEN A NEW BLANK PROJECT WITH A PLANE AND A CAMERA,. ERRORS OUT DUE TO ‘INCREDIBUILD’

This is ABSOLUTELY DESTROYING OUR BUSINESS.

For a year we’ve fought the INEVITABLE and INVARIABLE Incredibuild errors DURING BUILD…
still working on our game and hoping it would one day work out, OR WE would learn how to RID OURSELVES of this 'Incredibuild ‘CURSE’…

.then i finally found one can can get a FREE LICENSE (Then I found out it is only for 30 days,…) AND EVEN WITH THE COORDINATOR LOADED AND STATUS ‘ENABLED’ (WITH 30 DAYS TO GO)
IT STILL FAILS OUT EVEN ON BUILDING A BASICALLY BLANK PROJECT!!!

IS THERE ANY WAY TO TAKE THIS TERRIBLE THING OUT OF THE EQUATION?
IS THIS AN INSIDIOUS TECH ATTACK ON AMERICAN DEVELOPERS BY AN ENEMY NATION?

IT SEEMS TO BE NOT JUST MALWARE, BUT RUIN YOUR ENTIRE CAREER-WARE… IT SURELY RUINING IS MINE… I DON’T WANT IT, I NEVER ASKED FOR IT, I DON’T KNOW WHERE IT CAME FROM AND IT IS KILLING MY CAREER.

WHAT GIVES?
I INSTALLED IT (AGAIN,…) FOLLOWED YOUR EMAILED VIDEO, ‘DOUBLE CLICKED’ THE ‘LICENSE’, ALL SEEMED TO GO FINE

but it ruins and stops even the build of the simplest scene possible. … as it has for YEARS of my life,… EVEN WITH A LICENSE… WHY is this any part of UE4?

GOD LORD, PLEASE HELP!!!

Dear Robert

Just noticed this post.
As you know this was also posted in the following thread and was already answered:

Take care!