Packaging Error: XGE version 8.01 or higher is required for XGE shader compilation.

Just updated to 4.19 version.

When I try to package my project (or clean project), I get an error:

UATHelper: Packaging (Windows (64-bit)): LogXGEController: Error: XGE version 8.01 (build 1867) or higher is required for XGE shader compilation with the interception interface.

So, what is XGE and how to update it?

This error also appears on GIT version of Unreal Engine (Release branch).

Full log:

XGE is a part of IncrediBuild subsystem (Xoreax Grid Engine). Are you using one? Or maybe Octobuild?

I don’t know, actually. I’ve simply downloaded 4.19 and tried to package my project.

Try to disable bUseXGEController

https://docs.unrealengine.com/en-us/Programming/UnrealBuildSystem/Configuration

 <?xml version="1.0" encoding="utf-8" ?>
 <Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
     <BuildConfiguration>
         <bUseXGEController>false</bUseXGEController>
     </BuildConfiguration>
 </Configuration>

Nope, packaging still fails.

Same with

<bAllowXGE>false</bAllowXGE>

Opened Visual Studio to check IncrediBuild version. It’s 7.10. Looks like I have to update it, but how to do it without VS update?

The reason for this error is that I had an old version of IncrediBuild installed.
To check it, open your VS, go to IncreadiBuild > About.

Looks like Unreal 4.19 requires version 8.01 or newer. So you should update it to get rid of this error.

I don’t know how to update it, unfortunatelly, but I downloded and installed Visual Studio 15 (2017) Community and newest version of increadiBuild (do not forget to select IncrediBuild when installing VS). Projects now package successfully.

I guess VS2015 installer also can get you latest version of IncrediBuild, if you reinstall it/repair it. But not sure about this.

4.19 requires VS2017. Unfortunately it’s not mentioned anywhere by now.

thanks AlFlakky it worked for me

Uncomment this line in Engine/Config/ConsoleVariables.ini (remove semicolon at beginning):
; Uncomment to enable XGE shader compilation.
;r.XGEShaderCompile = 1
Create a new project and hit Ctrl+Shift+. to recompile shaders, or create a new simple material or change an existing one and try to recompile.

//====================================================================================//
; r.XGEShaderCompile is now enabled by default in source. Uncomment to disable XGE shader compilation.
r.XGEShaderCompile = 0

REMEMBER : remove semicolon

I did it with your way .It doesn’t work for me.