Packaging for Windows hangs computer

Hi,

I’ve been running into a (kinda) problematic issue while trying to package a project for Windows. It goes perfect for a minute or so and then suddenly the whole computer becomes totally unresponsive, even the clock doesn’t actuate anymore.
I can run the game in the viewport, in a standalone window, light building works well… But I can’t package it (at least for Windows, I’m trying for other platforms ATM). Any thoughts ?

UE 4.15.1, Windows 10 Pro, i7-5820k @4.2GHz, R9-290, 16GB RAM

EDIT: Migrating all the assets 2-3 times in a row to a new blank project helped to package the project, but I’m still looking for ideas on why it hanged in the first place.

Does it hang with “Cook Content for Windows”?

It does…

On which step does it hang? I think a log will be very helpful also for others :slight_smile:

while its hanging what does your outlog do? if its outputting items, that means its doing work

if you go to your performance tab on your task manager you can see what’s pinned

my guess your harddrive is strugging and will be at 100%, do you have a SSD? perhaps you have some kind of virus program running working while you are cooking?

The outlog hangs as well, all the computer becomes unresponsive. My system and the engine are both installed on a SSD in SATA III, so I suppose there’s no bottleneck this way.
I only have UE running when I package/build anything so it can take the whole CPU. Also, being completely paranoid when it comes to viruses, there’s probably no problems here neither. Still I’ll run a complete scan of the computer just to be sure.
The strangest thing here is that other projects do package correctly…

I will try to snap a picture of the log where it hangs, I can’t seem to find the .txt anywhere.

do you have “use less CPU when not focused” checked? its in the editor settings

It is checked, yes

Here is the log, I still can’t find a .txt on the computer

“Use less CPU when in background”

That’s checked? disable that, that could mean while you are cooking if you start surfing the internet, then your UE4 thread wont be working as hard and your cook will take forever

Even when unchecked it still hangs… Plus, Unreal being the only soft opened, it can eat the whole CPU if it wants

how big are these files? like how big is your entire project? you could just have massive content/textures/light maps

have you just let this thing run all night, has it ever completed? what would you say total cook time is?

The project is quite big, a few GB, and not yet cleaned and optimised, but strange enough, I migrated a third time all the assets to a new project and then, packaging went well, in maybe 10-15 minutes. Still, I don’t get why it hanged in the first place…