Packaged game crash with Bad Export Index

Hi everyone,

I am facing an issue with my packaged game.
(It is working properly in the editor).

Each tile I try to open a scene with the given BP I got the following error:

"LowLevelFatalError [File:D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading2.cpp] [Line: 1648]
ObjectSerializationError: /Game/Glyphen/Characters/Enemies/Golem/BP_Golem (0xB59227765637F029) /Game/Glyphen/Characters/Enemies/Golem/BP_Golem (0xB59227765637F029) - BP_Golem_C /Game/Glyphen/Characters/Enemies/Golem/BP_Golem.Default__BP_Golem_C: Bad export index 1165623295/59.

Crash in runnable thread FAsyncLoadingThread"

Can anyone help me on this?

Regards

Hi, I met the same problem. If I resave this asset and rebuild, the other asset will report the same issue.
Did you find a way to reslove this?

any solution yet

Hi there,

On my side I solved this by deleting all build files (Build, DDC and intermediate folders) and then rebuild.

Just deleting Binaries seems to do the trick for me.

Had the same issue and similar error for one blueprint (based on the class for which I changed the last). Deleting Binaries and re-packaging solved the issue. I suspect the issue happened, because I packaged the project after “Live Coding” (Recompile and reload C++ code for game systems on the fly" from the editor). Normally, after changes in C++ I would close the project, recompile it properly, start the editor again, and only then package. That time I was lazy and didn’t do that restarting and proper compilation step, and hence - probably - the error.

In my case i defined a UTouchInterface varialbe in my subclass of APawn, it runs well on Win64, but it got crashed on Android:

UPROPERTY(EditDefaultsOnly)
    TObjectPtr<class UTouchInterface> PawnSpecifiedTouchInterface;

still don’t know why…

Edit:
Then I tried TSoftObjectPtr, my game run well again,

    UPROPERTY(EditDefaultsOnly)
      TSoftObjectPtr<class UTouchInterface> PawnSpecifiedTouchInterface;

so , it means sometimes hard object reference leads to crash with Bad Export Index…