Download

4.13: Cant Package project with Forward Rendering

Hello!

For some reason, I can package the project in anyway, except when Forward Rendering is checked. I’m packaging to Windows 64-bit on the HTC Vive. I have the log attached below. Saying something about the Shader is incorrect?



UATHelper: Packaging (Windows (64-bit)): Project.Build: ********** BUILD COMMAND COMPLETED **********
UATHelper: Packaging (Windows (64-bit)): Project.Cook: ********** COOK COMMAND STARTED **********
UATHelper: Packaging (Windows (64-bit)): CommandUtils.RunCommandlet: Running UE4Editor Cook for project D:\Unreal Projects\MSG_PS4\Hockey_MSG.uproject
UATHelper: Packaging (Windows (64-bit)): CommandUtils.RunCommandlet: Commandlet log file is D:\Epic Games\4.13\Engine\Programs\AutomationTool\Saved\Cook-2016.11.29-11.45.35.txt
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: D:\Epic Games\4.13\Engine\Binaries\Win64\UE4Editor-Cmd.exe "D:\Unreal Projects\MSG_PS4\Hockey_MSG.uproject" -run=Cook  -TargetPlatform=WindowsNoEditor -fileopenlog -unversioned -abslog="D:\Epic Games\4.13\Engine\Programs\AutomationTool\Saved\Cook-2016.11.29-11.45.35.txt" -stdout -FORCELOGFLUSH -
CrashForUAT -unattended  -UTF8Output
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: 
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: LogInit:Display: Running engine for game: Hockey_MSG
OCULUS: Info: [HMDState] Requested to SetForegroundWindow(d0eb8ll)
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: LogInit:Display: RandInit(832955202) SRandInit(832955202).
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.36:951]  0]LogConsoleManager:Warning: Setting the console variable 'r.Streaming.PoolSize' with 'SetByScalability' was ignored as it is lower priority than the previous 'SetByProjectSetting'
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.37:516]  0]LogShaderCompilers:Display: Using Local Shader Compiler.
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.37:944]  0]LogDerivedDataCache:Display: Max Cache Size: 512 MB
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:014]  0]LogDerivedDataCache:Display: Loaded Boot cache: C:/Users/strivr/AppData/Local/UnrealEngine/4.13/DerivedDataCache/Boot.ddc
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:033]  0]LogDerivedDataCache:Display: Pak cache opened for reading ../../../Engine/DerivedDataCache/Compressed.ddp.
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:612]  0]LogTemp:Display: Loaded TP AllDesktopTargetPlatform
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:619]  0]LogTemp:Display: Loaded TP WindowsClientTargetPlatform
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:626]  0]LogTemp:Display: Loaded TP WindowsNoEditorTargetPlatform
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:635]  0]LogTemp:Display: Loaded TP WindowsServerTargetPlatform
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:643]  0]LogTemp:Display: Loaded TP WindowsTargetPlatform
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:651]  0]LogTemp:Display: Loaded TP AndroidTargetPlatform
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:657]  0]LogTemp:Display: Loaded TP Android_ASTCTargetPlatform
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:664]  0]LogTemp:Display: Loaded TP Android_ATCTargetPlatform
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:670]  0]LogTemp:Display: Loaded TP Android_DXTTargetPlatform
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:676]  0]LogTemp:Display: Loaded TP Android_ETC1TargetPlatform
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:682]  0]LogTemp:Display: Loaded TP Android_ETC2TargetPlatform
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:698]  0]LogTemp:Display: Loaded TP Android_MultiTargetPlatform
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:698]  0]LogTemp:Display: Loaded TP Android_PVRTCTargetPlatform
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:699]  0]LogTemp:Display: Loaded TP HTML5TargetPlatform
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:718]  0]LogTemp:Display: Loaded TP IOSTargetPlatform
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:725]  0]LogTemp:Display: Loaded TP TVOSTargetPlatform
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:732]  0]LogTemp:Display: Loaded TP LinuxClientTargetPlatform
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:739]  0]LogTemp:Display: Loaded TP LinuxNoEditorTargetPlatform
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:744]  0]LogTemp:Display: Loaded TP LinuxServerTargetPlatform
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:751]  0]LogTemp:Display: Loaded TP LinuxTargetPlatform
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.45.38:751]  0]LogTargetPlatformManager:Display: Building Assets For WindowsNoEditor
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.46.04:759]  0]LogShaderCompilers:Warning: 1 Shader compiler errors compiling WorldGridMaterial for platform PCD3D_SM4:
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.46.04:759]  0]LogShaderCompilers:Warning: Engine/Shaders/BasePassPixelShader.usf(1004,24-78): Shader TBasePassPSFCachedPointIndirectLightingPolicy, VF FVectorFieldVisualizationVertexFactory:
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd:     error X3004: undeclared identifier 'GetIndirectOcclusion'
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: 
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.46.04:759]  0]LogShaderCompilers:Warning:  BasePassPixelShader.usf(1004,24-78):  error X3004: undeclared identifier 'GetIndirectOcclusion'
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.46.05:280]  0]LogWindows:Error: begin: stack for UAT
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.46.05:280]  0]LogWindows:Error: === Critical error: ===
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.46.05:280]  0]LogWindows:Error: 
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.46.05:280]  0]LogWindows:Error: Fatal error: [File:D:\Build\++UE4+Release-4.13+Compile\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 1704] 
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.46.05:280]  0]LogWindows:Error: Failed to compile default material /Engine/EngineMaterials/WorldGridMaterial.WorldGridMaterial!
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.46.05:280]  0]LogWindows:Error: 
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.46.05:280]  0]LogWindows:Error: 
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.46.05:280]  0]LogWindows:Error: 
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.46.05:280]  0]LogWindows:Error: 
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.46.05:280]  0]LogWindows:Error: 
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.46.05:280]  0]LogWindows:Error: 
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.46.05:280]  0]LogWindows:Error: 
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.46.05:280]  0]LogWindows:Error: 
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.46.05:280]  0]LogWindows:Error: 
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.46.05:280]  0]LogWindows:Error: 
OCULUS: Info: [HMDState] Requested to SetForegroundWindow(d0eb8ll)
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.29-19.46.05:280]  0]LogWindows:Error: end: stack for UAT
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 38.9005074s to run UE4Editor-Cmd.exe, ExitCode=3
UATHelper: Packaging (Windows (64-bit)): Project.Cook: Cook failed. Deleting cooked data.
UATHelper: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Cook failed. ---> AutomationTool.AutomationException: BUILD FAILED: Failed while running Cook for D:\Unreal Projects\MSG_PS4\Hockey_MSG.uproject; see log C:\Users\strivr\AppData\Roaming\Unreal Engine\AutomationTool\Logs\
D+Epic+Games+4.13\Cook-2016.11.29-11.46.14.txt
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters)
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.CommandUtils.CookCommandlet(FileReference ProjectName, String UE4Exe, String] Maps, String] Dirs, String InternationalizationPreset, String] CulturesToCook, String TargetPlatform, String Parameters)
UATHelper: Packaging (Windows (64-bit)):    at Project.Cook(ProjectParams Params)
UATHelper: Packaging (Windows (64-bit)):    ---
UATHelper: Packaging (Windows (64-bit)):  End of inner exception stack trace ---
UATHelper: Packaging (Windows (64-bit)):    at Project.Cook(ProjectParams Params)
UATHelper: Packaging (Windows (64-bit)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.BuildCommand.Execute()
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.Automation.Process(String] Arguments)
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.Program.MainProc(Object Param)
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.Program.Main()
UATHelper: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults:Error: Error Unknown Cook Failure


The forward renderer wasn’t really working in 4.13 I think, so you should just update to 4.14.

Thanks John, sadly I kind of need 4.13 for the plug-ins I’m using that haven’t been converted to 4.14 yet :frowning: