We recently updated our project to UE 5.4 and when I make a development build, I crash when I load to a new map.
Below is the crash log:
[2024.06.22-08.18.47:454][569]LogWindows: Windows GetLastError: The operation completed successfully. (0)
[2024.06.22-08.18.48:454][569]LogThreadingWindows: Error: Runnable thread FAsyncLoadingThread crashed.
[2024.06.22-08.18.48:454][569]LogWindows: Error: === Critical error: ===
[2024.06.22-08.18.48:454][569]LogWindows: Error:
[2024.06.22-08.18.48:454][569]LogWindows: Error: Assertion failed: IsInGameThread() [File:D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Public\UObject\StrongObjectPtr.h] [Line: 27]
[2024.06.22-08.18.48:454][569]LogWindows: Error: TStrongObjectPtr can only be created on the game thread otherwise it may introduce threading issues with Grbage Collector
[2024.06.22-08.18.48:454][569]LogWindows: Error:
[2024.06.22-08.18.48:454][569]LogWindows: Error:
[2024.06.22-08.18.48:454][569]LogWindows: Error: [Callstack] 0x00007ff63ba1c8d9 ProjectAnt.exe!FMaterialPSORequestManager::PrecachePSOs()
[2024.06.22-08.18.48:454][569]LogWindows: Error: [Callstack] 0x00007ff63b57343b ProjectAnt.exe!FMaterial::CollectPSOs()
[2024.06.22-08.18.48:454][569]LogWindows: Error: [Callstack] 0x00007ff63b523e3a ProjectAnt.exe!UMaterialInstance::PrecachePSOs()
[2024.06.22-08.18.48:454][569]LogWindows: Error: [Callstack] 0x00007ff63ae43f12 ProjectAnt.exe!UDecalComponent::PrecachePSOs()
[2024.06.22-08.18.48:454][569]LogWindows: Error: [Callstack] 0x00007ff6359b24bc ProjectAnt.exe!UObject::ConditionalPostLoad()
[2024.06.22-08.18.48:454][569]LogWindows: Error: [Callstack] 0x00007ff63579b92d ProjectAnt.exe!FAsyncPackage2::Event_PostLoadExportBundle()
[2024.06.22-08.18.48:454][569]LogWindows: Error: [Callstack] 0x00007ff63579d0f3 ProjectAnt.exe!FEventLoadNode2::Execute()
[2024.06.22-08.18.48:454][569]LogWindows: Error: [Callstack] 0x00007ff6357aacef ProjectAnt.exe!FAsyncLoadEventQueue2::PopAndExecute()
[2024.06.22-08.18.48:454][569]LogWindows: Error: [Callstack] 0x00007ff6357b728e ProjectAnt.exe!FAsyncLoadingThread2::Run()
[2024.06.22-08.18.48:454][569]LogWindows: Error: [Callstack] 0x00007ff635405d08 ProjectAnt.exe!FRunnableThreadWin::Run()
[2024.06.22-08.18.48:454][569]LogWindows: Error: [Callstack] 0x00007ff6353f9857 ProjectAnt.exe!FRunnableThreadWin::GuardedRun()
[2024.06.22-08.18.48:454][569]LogWindows: Error: [Callstack] 0x00007fffd5f87344 KERNEL32.DLL!UnknownFunction
[2024.06.22-08.18.48:454][569]LogWindows: Error:
[2024.06.22-08.18.48:454][569]LogWindows: Error: Crash in runnable thread FAsyncLoadingThread
[2024.06.22-08.18.48:457][569]LogExit: Executing StaticShutdownAfterError
This crash doesn’t happen on a shipping build and the game works just fine.
Can someone help me out with understanding the issue here ?
Thanks