4.17 can't compile the project - error log included, glitch inside code

Hello,
I have project 4.16, I have opened in 4.17 and made spectator screen to test it, Ue4 editor doesn’t open in full screen from the ediot and I needed ti package the project, I have deleted saved, intermediate folders from my project, I have opened project again and started to compile the project after clean fresh restart, all the time I hitting the same error which I cannot identify and I need Epic help to solve the issue:

I have many lines like this when I start to packeging:
UATHelper: Packaging (Windows (64-bit)): Cook: LogUObjectHash: Warning: Ambiguous search, could be IntProperty /Script/CoreUObject.Guid:A or IntProperty /Script/Engine.KismetMathLibrary:EqualEqual_IntInt.A

and this is the last end lines before fail:

UATHelper: Packaging (Windows (64-bit)): Cook: LogMemory: Warning: Freeing 33554432 bytes from backup pool to handle out of memory.
UATHelper: Packaging (Windows (64-bit)): Cook: LogMemory: Warning: MemoryStats:
UATHelper: Packaging (Windows (64-bit)): Cook: AvailablePhysical 6079430656
UATHelper: Packaging (Windows (64-bit)): Cook: AvailableVirtual 140724200521728
UATHelper: Packaging (Windows (64-bit)): Cook: UsedPhysical 12648755200
UATHelper: Packaging (Windows (64-bit)): Cook: PeakUsedPhysical 13365809152
UATHelper: Packaging (Windows (64-bit)): Cook: UsedVirtual 12715290624
UATHelper: Packaging (Windows (64-bit)): Cook: PeakUsedVirtual 14230753280
UATHelper: Packaging (Windows (64-bit)): Cook: LogTexture: Display: Building textures: T_Metal_BC (AutoDXT, 4096X4096)
UATHelper: Packaging (Windows (64-bit)): Cook: LogTexture: Display: Building textures: T_Brushed_Scratches_D (AutoDXT, 4096X4096)
UATHelper: Packaging (Windows (64-bit)): Cook: LogThreadingWindows: Error: Runnable thread PoolThread 4 crashed.
UATHelper: Packaging (Windows (64-bit)): Cook: LogThreadingWindows: Error: Runnable thread PoolThread 8 crashed.
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: HandleError re-entered.
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: begin: stack for UAT
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: === Critical error: ===
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error:
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: Fatal error: [File:D:\Build++UE4+Release-4.17+Compile\Sync\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 174]
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: Ran out of memory allocating 1073741824 bytes with alignment 0
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error:
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error:
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: KERNELBASE.dll!0x00000000E45E9E08
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Core.dll!0x00000000BA6C14B4
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Core.dll!0x00000000BA4AAD5B
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Core.dll!0x00000000BA440179
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Core.dll!0x00000000BA30AFD5
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Core.dll!0x00000000BA384062
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Core.dll!0x00000000BA38426E
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-ImageCore.dll!0x00000000D3662CCB
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-ImageCore.dll!0x00000000D3662B2A
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-ImageCore.dll!0x00000000D3662A02
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-TextureCompressor.dll!0x000000009EFD8DE2
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-TextureCompressor.dll!0x000000009EFD79D8
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Engine.dll!0x00000000A86D2683
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Engine.dll!0x00000000A86DBE32
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Engine.dll!0x00000000A86DB4F3
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Engine.dll!0x00000000A86DAC1E
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Core.dll!0x00000000BA38BDF8
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Core.dll!0x00000000BA6C0678
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Core.dll!0x00000000BA6B6ECC
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: KERNEL32.DLL!0x00000000E5582774
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: ntdll.dll!0x00000000E7FD0D51
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: ntdll.dll!0x00000000E7FD0D51
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error:
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: Crash in runnable thread
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: Crash in runnable thread PoolThread 4PoolThread 8
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: end: stack for UAT
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 375.3094803s 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.CommandletException: BUILD FAILED: Failed while running Cook for A:\VR\VRwalk\Vrwalk.uproject; see log C:\Users\hello\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program
+Files+UE_4.17\Cook-2017.09.15-15.57.25.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)): — 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 BuildCookRun.ExecuteBuild()
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.BuildCommand.Execute()
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Automation.Execute(List1 CommandsToExecute, Dictionary2 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: Unknown Cook Failure
LogEditorViewport: Clicking on Actor (context menu): BP_WorldInteractionPawn_C (BP_WorldInteractionPawn)
LogEditorViewport: Clicking on Actor (LMB): BP_WorldInteractionPawn_C (BP_WorldInteractionPawn)
LogTexture: Display: Building textures: T_Alcantara_BC (AutoDXT, 8192X8192)
LogSlate: Took 0.003961 seconds to synchronously load lazily loaded font ‘…/…/…/Engine/Content/Slate/Fonts/Roboto-Light.ttf’ (159K)
LogContentBrowser: Native class hierarchy updated for ‘TextureEditor’ in 0.0005 seconds. Added 1 classes and 2 folders.

About my specs: I have 64GB memory, never had any troubles with this project and memory issues, I have 1080 video card, 2 ssd drives half empty space 512GB each. Plenty of room to cook, but it doesn’t, something with memory, maybe there is registry key to limit it to prevent the fail. HTC Vive demo with ViveTrack seems doesn’t build :frowning: oir maybe due to bad conversion from 4.16 to 4.17.

Did you try to completely clean up your Build, Intermediate, Saved, etc. folders and rebuild/cook the project from scratch? I had a similar issues with projects that were converted/duplicated from others, especially across versions.

Before you delete anything, make sure you make a copy of your current project, just in case…

Cheers,
Marco.

I removed everything, all folders, I did everything from scratch and still the same problem, do you know how to fix it? I delayed my project and don’t know what to do, how Epic can help me to solve such a technical issue?

Another thing you can try is to migrate your level, with all dependencies, to a fresh project and see if you can successfully cook it that way.

I can just start new project do it again, but it won’t help until I realize what it the problem, what do you think how to get help from the Epic? I have a log, I have a project, everything is clean and ready to go, but still no clear answer, can someone please read the log files?

You don’t need to do it again, you can start a new project and migrate all assets from the previous one to the new one.

Anyway, you can still file it as a bug on answers.unrealengine.com and see if you get any help there.

Your log file shows that the Cook process tries to allocate a very high amount of memory and fails to do so. I experienced something like this on a corrupted project with had multiple streaming levels and a massive amount of textures. I solved it like I recommended you above, by cleaning up everything and eventually migrating to a clean project. Your case could be different though, it is difficult to tell just from a log file snippet.