Switch from 4.17 to 4.18: Packaging Failed with Ensure. Can't find answer in the log

Cannot seem to find the code block causing the error,Packaging failed with ensure. We have been running into an issue packaging our game after moving from 4.17 to 4.18. The error it is giving is:

(.txt that is better formatted is linked at the end)

ProcessResult.StdOut: LogInit:
Display: Warning/Error Summary (Unique
only) ProcessResult.StdOut: LogInit:
Display:
----------------------------------- ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
begin: stack for UAT
ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error: ===
Handled ensure: ===
ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
Ensure condition failed:
Lhs.CurrentNum == Lhs.InitialNum
[File:D:\Build++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h]
[Line: 206] ProcessResult.StdOut:
LogInit: Display: LogOutputDevice:
Error: Array has changed during
ranged-for iteration!
ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
Stack: ProcessResult.StdOut:
LogInit: Display: LogOutputDevice:
Error: [Callstack] 0x00000000E9C82786
UE4Editor-Core.dll!UnknownFunction []
ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000E9A2123A
UE4Editor-Core.dll!UnknownFunction []
ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000E9A3B906
UE4Editor-Core.dll!UnknownFunction []
ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000D60D100F
UE4Editor-BlueprintGraph.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000D60CFD73
UE4Editor-BlueprintGraph.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000D603078E
UE4Editor-BlueprintGraph.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000D5FCF577
UE4Editor-BlueprintGraph.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000D7724C6F
UE4Editor-UnrealEd.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000D4ABF97E
UE4Editor-Kismet.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000D4ABDC6E
UE4Editor-Kismet.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000D8B95A37
UE4Editor-Engine.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000E2BC7C78
UE4Editor-CoreUObject.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000E2D63309
UE4Editor-CoreUObject.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000E2D89361
UE4Editor-CoreUObject.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000E2D622B1
UE4Editor-CoreUObject.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000E2D636CB
UE4Editor-CoreUObject.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000E2D8A804
UE4Editor-CoreUObject.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000E2EB51FE
UE4Editor-CoreUObject.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000E2DB8E30
UE4Editor-CoreUObject.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000E2DB773F
UE4Editor-CoreUObject.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000E2DB9075
UE4Editor-CoreUObject.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000E2DB7582
UE4Editor-CoreUObject.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000E2D70D01
UE4Editor-CoreUObject.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000E2DB6B63
UE4Editor-CoreUObject.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000E2D6575E
UE4Editor-CoreUObject.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000E2D7EE81
UE4Editor-CoreUObject.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000E2EB4F9C
UE4Editor-CoreUObject.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000E2EB4774
UE4Editor-CoreUObject.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000D71D68B3
UE4Editor-UnrealEd.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000D720D7BB
UE4Editor-UnrealEd.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000D70A7D61
UE4Editor-UnrealEd.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000D70CF391
UE4Editor-UnrealEd.dll!UnknownFunction
[] ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x000000001ABCD25F
UE4Editor-Cmd.exe!UnknownFunction []
ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x000000001ABC525A
UE4Editor-Cmd.exe!UnknownFunction []
ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x000000001ABC54AA
UE4Editor-Cmd.exe!UnknownFunction []
ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x000000001ABD2379
UE4Editor-Cmd.exe!UnknownFunction []
ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x000000001ABD3193
UE4Editor-Cmd.exe!UnknownFunction []
ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x000000001FBC2774
KERNEL32.DLL!UnknownFunction []
ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error:
[Callstack] 0x00000000223C0D51
ntdll.dll!UnknownFunction []
ProcessResult.StdOut: LogInit:
Display: LogOutputDevice: Error: end:
stack for UAT ProcessResult.StdOut:
LogInit: Display: LogLinker: Warning:
Can’t find file
‘/Game/ThirdPersonBP/ThirdPersonOverview’
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load
‘/Game/ThirdPersonBP/ThirdPersonOverview’:
Can’t find file
‘/Game/ThirdPersonBP/ThirdPersonOverview’
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to find object ‘Class
/Game/ThirdPersonBP/ThirdPersonOverview.ThirdPersonOverview_C’
ProcessResult.StdOut: LogInit:
Display: LogAudio: Warning:
UDialogueWave::GetWaveFromContext
requires a Context.Speaker
(/Game/Daily_events/Day7/Hale/HaleD3_130.HaleD3_130).
ProcessResult.StdOut: LogInit:
Display: LogAudio: Warning:
UDialogueWave::GetWaveFromContext
requires a Context.Speaker
(/Game/Daily_events/Day7/Hale/HaleD3_150.HaleD3_150).
ProcessResult.StdOut: LogInit:
Display: LogAudio: Warning:
UDialogueWave::GetWaveFromContext
requires a Context.Speaker
(/Game/Daily_events/Day7/Hale/HaleD3_190.HaleD3_190).
ProcessResult.StdOut: LogInit:
Display: LogAudio: Warning:
UDialogueWave::GetWaveFromContext
requires a Context.Speaker
(/Game/Daily_events/Day7/Hale/HaleD3_230.HaleD3_230).
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Diffuse’
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Diffuse’:
Can’t find file
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Diffuse’
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Diffuse’
while loading E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Topmat.uasset.
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load ‘E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Topmat.uasset’:
Can’t find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Diffuse’
while loading E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Topmat.uasset.
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Gloss’
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Gloss’:
Can’t find file
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Gloss’
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Gloss’
while loading E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Topmat.uasset.
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load ‘E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Topmat.uasset’:
Can’t find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Gloss’
while loading E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Topmat.uasset.
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Normal’
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Normal’:
Can’t find file
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Normal’
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Normal’
while loading E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Topmat.uasset.
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load ‘E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Topmat.uasset’:
Can’t find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Normal’
while loading E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Topmat.uasset.
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Opacity’
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Opacity’:
Can’t find file
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Opacity’
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Opacity’
while loading E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Topmat.uasset.
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load ‘E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Topmat.uasset’:
Can’t find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Opacity’
while loading E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Topmat.uasset.
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Specular’
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Specular’:
Can’t find file
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Specular’
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Specular’
while loading E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Topmat.uasset.
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load ‘E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Topmat.uasset’:
Can’t find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Specular’
while loading E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Topmat.uasset.
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Diffuse’
while loading NULL.
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Diffuse’:
Can’t find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Diffuse’
while loading NULL.
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Specular’
while loading NULL.
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Specular’:
Can’t find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Specular’
while loading NULL.
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Gloss’
while loading NULL.
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Gloss’:
Can’t find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Gloss’
while loading NULL.
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Normal’
while loading NULL.
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Normal’:
Can’t find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Normal’
while loading NULL.
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Opacity’
while loading NULL.
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Opacity’:
Can’t find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Top_Opacity’
while loading NULL.
ProcessResult.StdOut: LogInit:
Display: LogMaterial: Warning: E:\pow
4.17_12-19 4.18\Content\POWModels\USMCgeneric\dicky\Topmat.uasset:
Failed to compile Material for
platform PCD3D_SM5, Default Material
will be used in game.
ProcessResult.StdOut: LogInit:
Display: LogMaterial: Warning: E:\pow
4.17_12-19 4.18\Content\POWModels\USMCgeneric\dicky\Topmat.uasset:
Failed to compile Material for
platform PCD3D_SM4, Default Material
will be used in game.
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Hair_Diffuse’
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Hair_Diffuse’:
Can’t find file
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Hair_Diffuse’
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Hair_Diffuse’
while loading E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Hairmat.uasset.
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load ‘E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Hairmat.uasset’:
Can’t find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Hair_Diffuse’
while loading E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Hairmat.uasset.
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Hair_Gloss’
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Hair_Gloss’:
Can’t find file
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Hair_Gloss’
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Hair_Gloss’
while loading E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Hairmat.uasset.
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load ‘E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Hairmat.uasset’:
Can’t find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Hair_Gloss’
while loading E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Hairmat.uasset.
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Hair_Normal’
ProcessResult.StdOut: LogInit:
Display: LogUObjectGlobals: Warning:
Failed to load
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Hair_Normal’:
Can’t find file
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Hair_Normal’
ProcessResult.StdOut: LogInit:
Display: LogLinker: Warning: Can’t
find file for asset
‘/Game/POWModels/USMCgeneric/dicky/dickymcgee2_Hair_Normal’
while loading E:/pow 4.17_12-19
4.18/Content/POWModels/USMCgeneric/dicky/Hairmat.uasset.
ProcessResult.StdOut: LogInit:
Display: NOTE: Only first 50 warnings
displayed. ProcessResult.StdOut:
LogInit: Display:
ProcessResult.StdOut: LogInit:
Display: Failure - 102 error(s), 459
warning(s) ProcessResult.StdOut:
LogInit: Display:
ProcessResult.StdOut:
ProcessResult.StdOut: Execution of
commandlet took: 154.72 seconds
CommandUtils.Run: Took 173.960609s to
run UE4Editor-Cmd.exe, ExitCode=1
InternalUtils.SafeDeleteFile:
SafeDeleteFile
C:\Users\USER\AppData\Roaming\Unreal
Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.18\Cook-2018.01.04-19.47.27.txt
InternalUtils.SafeCopyFile:
SafeCopyFile C:\Program Files\Epic
Games\UE_4.18\Engine\Programs\AutomationTool\Saved\Cook-2018.01.04-19.44.33.txt
C:\Users\USER\AppData\Roaming\Unreal
Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.18\Cook-2018.01.04-19.47.27.txt
InternalUtils.SafeDeleteFile:
SafeDeleteFile C:\Program Files\Epic
Games\UE_4.18\Engine\Programs\AutomationTool\Saved\Cook-2018.01.04-19.44.33.txt
Project.Cook: Cook failed. Deleting
cooked data.
ExceptionUtils.PrintExceptionInfo:
============================================================================== ExceptionUtils.PrintExceptionInfo:
ERROR: Cook failed.
ExceptionUtils.PrintExceptionInfo:
(see
C:\Users\USER\AppData\Roaming\Unreal
Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.18\UAT_Log.txt
for full exception trace)
ExceptionUtils.PrintExceptionInfo:
ExceptionUtils.PrintExceptionInfo:
CommandletException: Editor terminated
with exit code 1 while running Cook
for E:\pow 4.17_12-19
4.18\pow.uproject; see log C:\Users\USER\AppData\Roaming\Unreal
Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.18\Cook-2018.01.04-19.47.27.txt
ExceptionUtils.PrintExceptionInfo:
at
AutomationTool.CommandUtils.RunCommandlet(FileReference
ProjectName, String UE4Exe, String
Commandlet, String Parameters)
ExceptionUtils.PrintExceptionInfo:
at
AutomationTool.CommandUtils.CookCommandlet(FileReference
ProjectName, String UE4Exe, String[]
Maps, String[] Dirs, String
InternationalizationPreset, String[]
CulturesToCook, String TargetPlatform,
String Parameters)
ExceptionUtils.PrintExceptionInfo:
at Project.Cook(ProjectParams Params)
ExceptionUtils.PrintExceptionInfo:
Wrapped by AutomationException: Cook
failed.
ExceptionUtils.PrintExceptionInfo:
at Project.Cook(ProjectParams Params)
ExceptionUtils.PrintExceptionInfo:
at
BuildCookRun.DoBuildCookRun(ProjectParams
Params)
ExceptionUtils.PrintExceptionInfo:
at BuildCookRun.ExecuteBuild()
ExceptionUtils.PrintExceptionInfo:
at
AutomationTool.BuildCommand.Execute()
ExceptionUtils.PrintExceptionInfo:
at
AutomationTool.Automation.Execute(List1 CommandsToExecute, Dictionary2
Commands)
ExceptionUtils.PrintExceptionInfo:
at
AutomationTool.Automation.Process(String[]
Arguments)
ExceptionUtils.PrintExceptionInfo:
at
AutomationTool.Program.MainProc(Object
Param)
ExceptionUtils.PrintExceptionInfo:
at
AutomationTool.InternalUtils.RunSingleInstance(Func`2
Main, Object Param)
ExceptionUtils.PrintExceptionInfo:
at AutomationTool.Program.Main()
ExceptionUtils.PrintExceptionInfo:
============================================================================== Program.Main: AutomationTool exiting
with ExitCode=25
(Error_UnknownCookFailure)

We really cannot seem to understand why this error is happening, and we are having trouble tracking down which script is causing the errors, and if the array throwing the ranged-for error is one I created or one in the Unreal defaults.

P.S. here is the log as a .txt. It is WAY easier to read. link text

,