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).
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.
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