# Errors when compiling

**URL:** <https://forums.unrealengine.com/t/errors-when-compiling/1268105>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [August 21, 2023, 7:13pm UTC](https://forums.unrealengine.com/t/errors-when-compiling/1268105 "2023-08-21T19:13:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gamemkaer21312](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gamemkaer21312](https://forums.unrealengine.com/u/Gamemkaer21312)\
**Post date:** [August 21, 2023, 7:13pm UTC](https://forums.unrealengine.com/t/errors-when-compiling/1268105/1 "2023-08-21T19:13:41Z")

</div>

Im not really sure how to explain, but here are all the errors:  
UATHelper: Cooking (Windows): LogShaderCompilers: Warning: 4 Shader compiler errors compiling global shaders for platform PCD3D\_SM6:  
UATHelper: Cooking (Windows): LogShaderCompilers: Warning: Shader debug info dumped to: “C:/Users/antho/OneDrive/Documents/Unreal Projects/TheBackroomsEscape/Saved/ShaderDebugInfo/PCD3D\_SM6/Global/FCloudShadowTemporalProcessCS/0”  
UATHelper: Cooking (Windows): C:/Program Files/Epic Games/UE\_5.1/Engine/Shaders/Generated/UniformBuffers/RenderVolumetricCloudParameters.ush(24,8): Shader FCloudShadowTemporalProcessCS, Permutation 0, VF None:  
UATHelper: Cooking (Windows): /Engine/Generated/UniformBuffers/RenderVolumetricCloudParameters.ush(24,8): error: expected unqualified-id  
UATHelper: Cooking (Windows): float4`RenderVolumetricCloudParameters_CloudShadowmapSampleCount[2]; UATHelper: Cooking (Windows): ^ UATHelper: Cooking (Windows): LogShaderCompilers: Warning: C:/Program Files/Epic Games/UE_5.1/Engine/Shaders/Generated/UniformBuffers/RenderVolumetricCloudParameters.ush(415,1071): Shader FCloudShadowTemporalProcessCS, Permutation 0, VF None: UATHelper: Cooking (Windows): /Engine/Generated/UniformBuffers/RenderVolumetricCloudParameters.ush(415,1071): error: use of undeclared identifier 'RenderVolumetricCloudParameters_CloudShadowmapSampleCount'; did you mean 'RenderVolumetricCloudParameters_CloudSkyAOSampleCount'? UATHelper: Cooking (Windows): LogShaderCompilers: Warning: C:/Program Files/Epic Games/UE_5.1/Engine/Shaders/Generated/UniformBuffers/RenderVolumetricCloudParameters.ush(415,37): Shader FCloudShadowTemporalProcessCS, Permutation 0, VF None: UATHelper: Cooking (Windows): /Engine/Generated/UniformBuffers/RenderVolumetricCloudParameters.ush(415,37): error: too few elements in vector initialization (expected 622 elements, have 615) PackagingResults: Warning: 4 Shader compiler errors compiling global shaders for platform PCD3D_SM6: PackagingResults: Warning: Shader debug info dumped to: "C:/Users/antho/OneDrive/Documents/Unreal Projects/TheBackroomsEscape/Saved/ShaderDebugInfo/PCD3D_SM6/Global/FCloudShadowTemporalProcessCS/0" PackagingResults: Error: expected unqualified-id PackagingResults: Warning: C:/Program Files/Epic Games/UE_5.1/Engine/Shaders/Generated/UniformBuffers/RenderVolumetricCloudParameters.ush(415,1071): Shader FCloudShadowTemporalProcessCS, Permutation 0, VF None: PackagingResults: Error: use of undeclared identifier 'RenderVolumetricCloudParameters_CloudShadowmapSampleCount'; did you mean 'RenderVolumetricCloudParameters_CloudSkyAOSampleCount'? PackagingResults: Warning: C:/Program Files/Epic Games/UE_5.1/Engine/Shaders/Generated/UniformBuffers/RenderVolumetricCloudParameters.ush(415,37): Shader FCloudShadowTemporalProcessCS, Permutation 0, VF None: PackagingResults: Error: too few elements in vector initialization (expected 622 elements, have 615) UATHelper: Cooking (Windows): LogShaderCompilers: Warning: C:/Program Files/Epic Games/UE_5.1/Engine/Shaders/Private/VolumetricCloud.usf(): Shader FCloudShadowTemporalProcessCS, Permutation 0, VF None: UATHelper: Cooking (Windows): D3DCompileToDxil failed. Error code: Unspecified error (0x80004005). UATHelper: Cooking (Windows): LogShaderCompilers: Error: Errors compiling global shader FCloudShadowTemporalProcessCS : PackagingResults: Warning: C:/Program Files/Epic Games/UE_5.1/Engine/Shaders/Private/VolumetricCloud.usf(): Shader FCloudShadowTemporalProcessCS, Permutation 0, VF None: PackagingResults: Error: Errors compiling global shader FCloudShadowTemporalProcessCS : UATHelper: Cooking (Windows): LogShaderCompilers: Display: /Engine/Generated/UniformBuffers/RenderVolumetricCloudParameters.ush:24:8: error: expected unqualified-id UATHelper: Cooking (Windows): float4`RenderVolumetricCloudParameters\_CloudShadowmapSampleCount[2];  
UATHelper: Cooking (Windows): ^  
UATHelper: Cooking (Windows): LogShaderCompilers: Display: /Engine/Generated/UniformBuffers/RenderVolumetricCloudParameters.ush:415:1071: error: use of undeclared identifier ‘RenderVolumetricCloudParameters\_CloudShadowmapSampleCount’; did you mean ‘RenderVolumetricCloudParameters\_CloudSkyAOSampleCount’?  
UATHelper: Cooking (Windows): LogShaderCompilers: Display: /Engine/Generated/UniformBuffers/RenderVolumetricCloudParameters.ush:35:8: note: ‘RenderVolumetricCloudParameters\_CloudSkyAOSampleCount’ declared here  
UATHelper: Cooking (Windows): float RenderVolumetricCloudParameters\_CloudSkyAOSampleCount;  
UATHelper: Cooking (Windows): ^  
UATHelper: Cooking (Windows): LogShaderCompilers: Display: /Engine/Generated/UniformBuffers/RenderVolumetricCloudParameters.ush:415:37: error: too few elements in vector initialization (expected 622 elements, have 615)  
UATHelper: Cooking (Windows): LogShaderCompilers: Display: D3DCompileToDxil failed. Error code: Unspecified error (0x80004005).  
UATHelper: Cooking (Windows): LogOutputDevice: Warning:  
UATHelper: Cooking (Windows): Script Stack (0 frames) :  
UATHelper: Cooking (Windows): LogWindows: Error: appError called: Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 7999]  
UATHelper: Cooking (Windows): Failed to compile global shader FCloudShadowTemporalProcessCS . Enable ‘r.ShaderDevelopmentMode’ in ConsoleVariables.ini for retries.  
PackagingResults: Error: expected unqualified-id  
PackagingResults: Error: use of undeclared identifier ‘RenderVolumetricCloudParameters\_CloudShadowmapSampleCount’; did you mean ‘RenderVolumetricCloudParameters\_CloudSkyAOSampleCount’?  
PackagingResults: Error: too few elements in vector initialization (expected 622 elements, have 615)  
PackagingResults: Error: appError called: Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 7999]  
UATHelper: Cooking (Windows): LogWindows: Error: begin: stack for UAT  
UATHelper: Cooking (Windows): LogWindows: Error: === Critical error: ===  
UATHelper: Cooking (Windows): LogWindows: Error:  
UATHelper: Cooking (Windows): LogWindows: Error: Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 7999]  
UATHelper: Cooking (Windows): LogWindows: Error: Failed to compile global shader FCloudShadowTemporalProcessCS . Enable ‘r.ShaderDevelopmentMode’ in ConsoleVariables.ini for retries.  
UATHelper: Cooking (Windows): LogWindows: Error:  
UATHelper: Cooking (Windows): LogWindows: Error:  
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ffa98ce3ff4 UnrealEditor-Engine.dll!UnknownFunction []  
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ffa98ce5b22 UnrealEditor-Engine.dll!UnknownFunction []  
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ffa98ce3ab6 UnrealEditor-Engine.dll!UnknownFunction []  
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ffa98cc6322 UnrealEditor-Engine.dll!UnknownFunction []  
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ffa98ceb7fe UnrealEditor-Engine.dll!UnknownFunction []  
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ffa9562bce0 UnrealEditor-UnrealEd.dll!UnknownFunction []  
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ffa955e829f UnrealEditor-UnrealEd.dll!UnknownFunction []  
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ffa9562fce8 UnrealEditor-UnrealEd.dll!UnknownFunction []  
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ffa9538fcd2 UnrealEditor-UnrealEd.dll!UnknownFunction []  
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ffa953b2473 UnrealEditor-UnrealEd.dll!UnknownFunction []  
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ff6fbf6b0ce UnrealEditor-Cmd.exe!UnknownFunction []  
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ff6fbf62688 UnrealEditor-Cmd.exe!UnknownFunction []  
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ff6fbf6296a UnrealEditor-Cmd.exe!UnknownFunction []  
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ff6fbf65680 UnrealEditor-Cmd.exe!UnknownFunction []  
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ff6fbf771b4 UnrealEditor-Cmd.exe!UnknownFunction []  
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ff6fbf796f2 UnrealEditor-Cmd.exe!UnknownFunction []  
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ffb0b0826bd KERNEL32.DLL!UnknownFunction []  
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ffb0c3ca9f8 ntdll.dll!UnknownFunction []  
UATHelper: Cooking (Windows): LogWindows: Error:  
UATHelper: Cooking (Windows): LogWindows: Error: end: stack for UAT  
PackagingResults: Error: begin: stack for UAT  
PackagingResults: Error: === Critical error: ===  
PackagingResults: Error: Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 7999]  
PackagingResults: Error: Failed to compile global shader FCloudShadowTemporalProcessCS . Enable ‘r.ShaderDevelopmentMode’ in ConsoleVariables.ini for retries.  
PackagingResults: Error: [Callstack] 0x00007ffa98ce3ff4 UnrealEditor-Engine.dll!UnknownFunction []  
PackagingResults: Error: [Callstack] 0x00007ffa98ce5b22 UnrealEditor-Engine.dll!UnknownFunction []  
PackagingResults: Error: [Callstack] 0x00007ffa98ce3ab6 UnrealEditor-Engine.dll!UnknownFunction []  
PackagingResults: Error: [Callstack] 0x00007ffa98cc6322 UnrealEditor-Engine.dll!UnknownFunction []  
PackagingResults: Error: [Callstack] 0x00007ffa98ceb7fe UnrealEditor-Engine.dll!UnknownFunction []  
PackagingResults: Error: [Callstack] 0x00007ffa9562bce0 UnrealEditor-UnrealEd.dll!UnknownFunction []  
PackagingResults: Error: [Callstack] 0x00007ffa955e829f UnrealEditor-UnrealEd.dll!UnknownFunction []  
PackagingResults: Error: [Callstack] 0x00007ffa9562fce8 UnrealEditor-UnrealEd.dll!UnknownFunction []  
PackagingResults: Error: [Callstack] 0x00007ffa9538fcd2 UnrealEditor-UnrealEd.dll!UnknownFunction []  
PackagingResults: Error: [Callstack] 0x00007ffa953b2473 UnrealEditor-UnrealEd.dll!UnknownFunction []  
PackagingResults: Error: [Callstack] 0x00007ff6fbf6b0ce UnrealEditor-Cmd.exe!UnknownFunction []  
PackagingResults: Error: [Callstack] 0x00007ff6fbf62688 UnrealEditor-Cmd.exe!UnknownFunction []  
PackagingResults: Error: [Callstack] 0x00007ff6fbf6296a UnrealEditor-Cmd.exe!UnknownFunction []  
PackagingResults: Error: [Callstack] 0x00007ff6fbf65680 UnrealEditor-Cmd.exe!UnknownFunction []  
PackagingResults: Error: [Callstack] 0x00007ff6fbf771b4 UnrealEditor-Cmd.exe!UnknownFunction []  
PackagingResults: Error: [Callstack] 0x00007ff6fbf796f2 UnrealEditor-Cmd.exe!UnknownFunction []  
PackagingResults: Error: [Callstack] 0x00007ffb0b0826bd KERNEL32.DLL!UnknownFunction []  
PackagingResults: Error: [Callstack] 0x00007ffb0c3ca9f8 ntdll.dll!UnknownFunction []  
PackagingResults: Error: end: stack for UAT  
UATHelper: Cooking (Windows): Took 233.6497434s to run UnrealEditor-Cmd.exe, ExitCode=3  
UATHelper: Cooking (Windows): ERROR: Cook failed.  
UATHelper: Cooking (Windows): (see C:\Users\antho\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE\_5.1\Log.txt for full exception trace)  
UATHelper: Cooking (Windows): AutomationTool executed for 0h 3m 55s  
UATHelper: Cooking (Windows): AutomationTool exiting with ExitCode=25 (Error\_UnknownCookFailure)  
PackagingResults: Error: Cook failed.  
UATHelper: Cooking (Windows): BUILD FAILED

---

<div class="post-metadata">

**Author:** ![Gamemkaer21312](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gamemkaer21312](https://forums.unrealengine.com/u/Gamemkaer21312)\
**Post date:** [August 22, 2023, 3:37am UTC](https://forums.unrealengine.com/t/errors-when-compiling/1268105/2 "2023-08-22T03:37:39Z")

</div>

no help… fantastic…

---

<div class="post-metadata">

**Author:** ![romanbruni](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/romanbruni/32/472624_2.png) [@romanbruni](https://forums.unrealengine.com/u/romanbruni)\
**Post date:** [November 10, 2026, 3:07am UTC](https://forums.unrealengine.com/t/errors-when-compiling/1268105/3 "2026-11-10T03:07:35Z")

</div>

better later than never: today had the same issue. unreal is not opening due to shaders problems  
unreal 5.7 Shader compiler errors compiling global shaders for platform PCD3D\_SM6

> change unreal project file from c;/ users…/documents to anywhere in c://unreal projects (for example) any folder will do : apparently there is a blocking comand from google drive not to share anything in documents folder—Im not programmer sorry to be so not precise.  
> [OneDrive/Documents folder permissions are preventing the engine from creating crucial temporary files (such as AutogenShaderHeaders.ush), a situation compounded by a conflict with the old SM6 cache.]  
> Also there is ‘something’ with SM6 and SM5 in \< Config/DefaultEngine.ini \> (open with txt)  
> there is a line where (in my UE 5.7.4 says +SM6 -SM5 (more SM6)(less SM5) my AI friend  
> suggested change to (less SM6 and more SM5). my unreal opened.  
> then changed back to +SM6 -SM5 (more SM6)(less SM5).  
> well, now that my 5.7 is opening… I’ll switch the pc off. lol.
