Packaging Error : Assertion failed: LoadOrder.Num() == NodeCount

hey everyone,

I was trying to package my project and this error came up, i looked for what it could be and most answers say that its an iostore problem or currupted cached data or broken assets.

But the problem is that i fixed everyone of them ( disabled iostore, deleted the ddc folder and fixed redirectors ) and yet still got the error. I even migrated everything into a new blank project file and didnt fix it.

do you guys have any idea what it could be ?

Hello there @Ghost_ok.ok!

The error you are getting in your screenshot is key:

Assertion failed: LoadOrder.Num() == NodeCount

This means your asset dependency graph is in disarray, resulting in a different order/count, most likely due a circular dependency. And since you migrated the whole thing to a blank project, the issue should not be tied to cache problems or corrupted references, but contained inside the project structure.

So, what’s needed here is to locate the faulty element inside the project. I would suggest picking any suspicious asset in your scene, right click on it, and open the Reference Viewer. You will get a graph showing all links related to said asset. What you are looking for, is for any reference that circles back to itself, either directly, or via chain. Do the same check for blueprints and materials.

Alternatively, you can attempt to manually isolate the cultrip in your new blank project. Test by picking half of your migrated content, and move it to a temporal outside folder. Then, try packaging. If you are succesful, it mean the broken element is in the half you moved. If it fails, it’s still in active content, so you continue moving content, until you find the problem. This method is quite taxing, but it should give you results.