Solve Crash in runnable thread FAsyncLoadingThread on Developer package game?

Well, I have this game prototype project I’m working since UE5EA went on. The actual prototype is not that much, its Blueprint only so far, it has few plugins: Water, Sun Position, but mainly Steam Online Subsystem. It has only 3 maps (MainMenu, GameMap and a Transition Map). It plays okay on Editor and PIE, it cooks and packages (only selected maps, because the project itself is too huge to package entirely every time we need to test) with zero errors and the packaged application launches normally. But when I try to open the game map, I get a crash with the Callstack below.

I heard some people preaching about turning off async loading assets and package again, but that action makes the game crash also with some similar error but pointing to an actor sequence of my BP_Door actor.

[2022.01.24-21.45.06:625][993]Message dialog closed, result: Ok, title: The UE5-ThaolundraPreAlfa Game has crashed and will close, text: Assertion failed: IsInGameThread() || IsInGarbageCollectorThread() [File:D:/build/++UE5/Sync/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectArray.cpp] [Line: 274]
[2022.01.24-21.45.06:625][993]LogThreadingWindows: Error: Runnable thread FAsyncLoadingThread crashed.
[2022.01.24-21.45.06:625][993]LogWindows: Error: === Critical error: ===
[2022.01.24-21.45.06:625][993]LogWindows: Error:
[2022.01.24-21.45.06:625][993]LogWindows: Error: Assertion failed: IsInGameThread() || IsInGarbageCollectorThread() [File:D:/build/++UE5/Sync/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectArray.cpp] [Line: 274]
[2022.01.24-21.45.06:625][993]LogWindows: Error:
[2022.01.24-21.45.06:625][993]LogWindows: Error:
[2022.01.24-21.45.06:625][993]LogWindows: Error:
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ff70d4ee856 ThaolundraPreAlfa.exe!FUObjectArray::FreeUObjectIndex() []
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ff70fee8239 ThaolundraPreAlfa.exe!UMovieScene::`vector deleting destructor’() []
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ff70d552062 ThaolundraPreAlfa.exe!StaticAllocateObject() []
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ff70d552fd1 ThaolundraPreAlfa.exe!StaticConstructObject_Internal() []
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ff70d2d0dfa ThaolundraPreAlfa.exe!FObjectInstancingGraph::GetInstancedSubobject() []
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ff70d2daa95 ThaolundraPreAlfa.exe!FObjectInstancingGraph::InstancePropertyValue() []
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ff70d47a925 ThaolundraPreAlfa.exe!FObjectPropertyBase::InstanceSubobjects() []
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ff70d27e072 ThaolundraPreAlfa.exe!UStruct::InstanceSubobjectTemplates() []
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ff70d541b82 ThaolundraPreAlfa.exe!FObjectInitializer::InstanceSubobjects() []
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ff70d5481a8 ThaolundraPreAlfa.exe!FObjectInitializer::PostConstructInit() []
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ff70d52bddc ThaolundraPreAlfa.exe!FObjectInitializer::~FObjectInitializer() []
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ff70d5534b9 ThaolundraPreAlfa.exe!StaticConstructObject_Internal() []
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ff70d1f4006 ThaolundraPreAlfa.exe!FAsyncPackage2::EventDrivenCreateExport() []
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ff70d1ff773 ThaolundraPreAlfa.exe!FAsyncPackage2::Event_ProcessExportBundle() []
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ff70d20343b ThaolundraPreAlfa.exe!FEventLoadNode2::Execute() []
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ff70d21a9bb ThaolundraPreAlfa.exe!FAsyncLoadEventQueue2::PopAndExecute() []
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ff70d23702c ThaolundraPreAlfa.exe!FAsyncLoadingThread2::Run() []
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ff70d11e0db ThaolundraPreAlfa.exe!FRunnableThreadWin::Run() []
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ff70d1165a0 ThaolundraPreAlfa.exe!FRunnableThreadWin::GuardedRun() []
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ffee2dd7034 KERNEL32.DLL!UnknownFunction []
[2022.01.24-21.45.06:625][993]LogWindows: Error: [Callstack] 0x00007ffee3642651 ntdll.dll!UnknownFunction []
[2022.01.24-21.45.06:625][993]LogWindows: Error:
[2022.01.24-21.45.06:625][993]LogWindows: Error: Crash in runnable thread FAsyncLoadingThread
[2022.01.24-21.45.06:635][993]LogExit: Executing StaticShutdownAfterError
[2022.01.24-21.45.06:635][993]LogWindows: FPlatformMisc::RequestExit(1)
[2022.01.24-21.45.06:636][993]LogCore: Engine exit requested (reason: Win RequestExit)
[2022.01.24-21.45.06:649][993]Log file closed, 01/24/22 18:45:06

The full Callstack is here if anyone need it. I appreciate any help
you guys can give me. Since I’m already pretty behind on my schedule, any solutions and/or workarounds are welcome.
ThaolundraPreAlfa.log (152.4 KB)

PS: I only used the tag 4.27 because the forums didn’t accept 5-0EA as a valid version tag, huge oversight btw.

Hey! Did you manage to fix that issue?

1 Like

No, had to completely redo 2 years of work.

Hi! In the projecting I’ve been working we’re having the exact same error in a similar situation (UMovieScene and a BP_Door). I know you had to redo but do you remember if your previous BP_Door animated the door through an ActorSequenceComponent?

I think it did, yes, but it actually had both engine and project corrupt files.