UE 5.3 Package Fail, 'Demoting Generator Package'

Upgrading project from 5.1 (which packages fine) to 5.3, got this error which I’ve never seen before and doesn’t make any sense to me:

LogInit: Display: LogCook: Error: CookPackageSplitter failure: We are demoting a generator package from save and removing our references that keep its objects loaded.

What does that even mean?

There were some other minor warnings which I think are unrelated and will fix, attached for completeness

It looks like this is an engine bug introduced in 5.3 and still present. Perhaps we can get an epic member of staff to raise a bug report?

For anyone finding this on a google search (and for epic staff to raise a bug report) I have found the culprit to likely by the generated HLODs. I have deleted them and it seems to package OK.

Deleting HLODs was not an option for us as we relied on them! It seemed to fail when the GC ran during packaging/splitting the map. Disabling ‘soft GC’ has worked around this problem for us.

In DefaultEngine.ini add this section:

[CookSettings]
bUseSoftGC=false

Great post. I haven’t added HLODs back, but will need them, so if I get a fail I’ll try that

@ClockworkOcean Can you help please? I have the same issue and this methods didnt help me.

1 Like

I have no clue about this one, sorry :melting_face:

This helped me:

1 Like