I had this issue but found the solution for it here:
- Open the file “C:\Program Files\Epic Games\UE_4.XX\Engine\Config\ConsoleVariables.ini” in any text editor.
- Find the line “; r.XGEShaderCompile = 0” and remove the “;” at the beginning of the line and delete it.
- Then just restart the editor.