Attempt to process "..." before it has been added . How can I figure out this packaging error?

I have this new error upon packaging my project.
Im not sure where the error lies, as it has been some time since I last packaged it, Id be very grateful for advise on how to debug this.

PackagingResults: Error: Error reentered: Assertion failed: IsValidLowLevel() [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp] [Line: 957]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: begin: stack for UAT
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: === Critical error: ===
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error:
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: Fatal error: [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncPackageLoader.cpp] [Line: 167]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: Attempt to process /Script/RuneMod/Object_Base before it has been added.
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error:
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error:
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff8b9d9cd29 KERNELBASE.dll!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff810240216 UE4Editor-Core.dll!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff810244218 UE4Editor-Core.dll!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff80ff6242d UE4Editor-Core.dll!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff80feb6a45 UE4Editor-Core.dll!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff80feb80a0 UE4Editor-Core.dll!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff83d36cb07 UE4Editor-CoreUObject.dll!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff83d35778d UE4Editor-CoreUObject.dll!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff83d243632 UE4Editor-CoreUObject.dll!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff83d3bee26 UE4Editor-CoreUObject.dll!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff83d229bd7 UE4Editor-CoreUObject.dll!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff672c888ed UE4Editor-Cmd.exe!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff672c8823d UE4Editor-Cmd.exe!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff672c9048a UE4Editor-Cmd.exe!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff672c91063 UE4Editor-Cmd.exe!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff672c910ba UE4Editor-Cmd.exe!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff672c940dd UE4Editor-Cmd.exe!UnknownFunction []
PackagingResults: Error: begin: stack for UAT
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff672ca5984 UE4Editor-Cmd.exe!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff672ca78be UE4Editor-Cmd.exe!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff8bbb97034 KERNEL32.DLL!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff8bc4a26a1 ntdll.dll!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error:
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: end: stack for UAT

Ok, I have found the culprit. It was this. Though im not sure why.

static TArray<UClass*> ClassToCacheType
    {
        UItemDefinition_RSClass::StaticClass(),
        UObjectDefinition_RSClass::StaticClass(),
        UKitDefinition_RSClass::StaticClass(),
        UAnimationFrame_RSClass::StaticClass(),
        USkeleton_RSClass::StaticClass(),
        USequenceDefinition_RSClass::StaticClass(),
        UNpcDefinition_RSClass::StaticClass(),
        UModelData_RSClass::StaticClass(),
        UKitDefinition_RSClass::StaticClass(),
        nullptr,
        USpawner::StaticClass(), //Entity
        nullptr, //UnDefined
        UTile_RSClass::StaticClass(),
        UMaterialDefinition::StaticClass(),
        USpotAnimationDefinition_RSClass::StaticClass(),
        nullptr //Num
    };
1 Like