Cook Error when packaging empty project UE5.4.4 Platform: XSX GDK_5.4.4-release

I’ve got a cook error when trying to package my build in 5.4.4 (built from source with the added GDK_5.4.4-release), I’ve tried packaging for both Windows and XSX and am getting an error to do with Shaders.

Looking through the logs this seems to be the culprit:

LogShaders: Error: Shader debug info dumped to: ".../Unreal Projects/TESTPROJECT/Saved/ShaderDebugInfo/SP_XSX_SM6/Global/FCalculateShadingRateImageCS/5"
.../UnrealEngine-release/Engine/Shaders/Private/VariableRateShading/VRSShadingRateCalculate.usf(): Shader FCalculateShadingRateImageCS, Permutation 5, VF None:
	Precompilation failed - XBSC Compile Error: Broken function found, compilation aborted!
The error is in VRSShadingRateCalculate.usf(): Shader FCalculateShadingRateImageCS.

Here’s the full logs.
DevelopmentXSXLog.log (24.2 KB)

I have searched the forums far and wide and have found similar issues but no solutions yet.
Any recommendation is much appreciated thanks :slight_smile:

More information, this was with 2024.06-GDKXUpdate2-10.0.25398.4312 installed.

I have tried on multiple projects and all return the same Shader compile error.
Without the GDK I am able to package fine.

I have also tried packaging a XSX new empty project on 5.3.2 and had no issues.

FIXED

Used a different GDK specifically 2023.10-GDKXUpdate3-10.0.25398.1924 the one I used above wasn’t within the MinRequired=230305, MaxRequired=231003 GDK’s to use for GDK_5.4.4-release.

Careful though as I also tried building with 2023.06-GDKX-10.0.22621.4272 and a few others which were within the required versions however they also spat out the error, safest bet if you get this error is to use the GDK I specified 2023.10-GDKXUpdate3-10.0.25398.1924.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.