What does "bad name index -1/43" error mean in the context of a failed packaging attempt?

The line in the output log with this error is:

UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogLinker: Error: Bad name index -1/43

Thanks!

Hi there,

Have you found a solution? I am experiencing a similar issue!

For anyone show still has this issue. You can find the asset causing this by building the engine from source and adding breakpoints [here][1] and [here][2]. Loading the project then already triggers the breakpoints. In the stacktrace you can then find the call to UObject::Serialize(FArchive & Ar) which will reveal the name of the asset that is causing the issue:

In my case BT_Unit_Default. Which is a Behavior tree. I made a new Behavior tree and copied all the nodes into it and that fixed the issue. I guess it was some internal error in the behavior tree.

Thanks, very useful. I tried to see but how do I build from source code? The project is Blueprint based, can I compile it from code?

What I usually did was just “attach to process” after starting loading up the project.

I have no idea if “attach to process” works, I have never tried that. Are the debug symbols available in their normal installation? How to build the engin can be found here: Building Unreal Engine from Source | Unreal Engine Documentation

Thanks, for the info.I will definitely try this next time when I have an issue.

Yes, you can optionally install the debug symbols even after having set up the engine. In the launcher where your installed versions are, just click on the triangle and there is a drop down menu.