Hello, I just packaged my project to test it out, it’s not done yet but I know it’s good practice. Anyway, it has 2 levels, the first one loads fine but when I open the second one it crashes. I repacked only the second level to test it and it crashes right on loading. I have no idea how the crash report information can help, I couldn’t see specific file or code line being pointed out on it, if anyone can at least point at a probable cause for this please.
Using UE5 blueprint on windows. Tried disabling everything on level blueprint begin play but still crashing. It all works fine on editor PIE, of course.
[2022.07.18-13.11.01:451][ 0]LogUObjectHash: Compacting FUObjectHashTables data took 0.51ms
[2022.07.18-13.11.01:668][ 0]LogSlate: InvalidateAllWidgets triggered. All widgets were invalidated
[2022.07.18-13.11.08:864][ 0]LogWindows: Error: === Critical error: ===
[2022.07.18-13.11.08:864][ 0]LogWindows: Error:
[2022.07.18-13.11.08:864][ 0]LogWindows: Error: Fatal error!
[2022.07.18-13.11.08:864][ 0]LogWindows: Error:
[2022.07.18-13.11.08:864][ 0]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x000000000000019b
[2022.07.18-13.11.08:864][ 0]LogWindows: Error:
[2022.07.18-13.11.08:864][ 0]LogWindows: Error: [Callstack] 0x00007ff7d715ceb5 DungeonProject.exe!ADirectionalLight::PostLoad() []
[2022.07.18-13.11.08:864][ 0]LogWindows: Error: [Callstack] 0x00007ff7d27e1374 DungeonProject.exe!UObject::ConditionalPostLoad() []
[2022.07.18-13.11.08:864][ 0]LogWindows: Error: [Callstack] 0x00007ff7d2608392 DungeonProject.exe!FAsyncPackage2::Event_DeferredPostLoadExportBundle() []
[2022.07.18-13.11.08:864][ 0]LogWindows: Error: [Callstack] 0x00007ff7d260fdd3 DungeonProject.exe!FEventLoadNode2::Execute() []
[2022.07.18-13.11.08:864][ 0]LogWindows: Error: [Callstack] 0x00007ff7d2629ad6 DungeonProject.exe!FAsyncLoadEventQueue2::PopAndExecute() []
[2022.07.18-13.11.08:864][ 0]LogWindows: Error: [Callstack] 0x00007ff7d26330a2 DungeonProject.exe!FAsyncLoadingThread2::ProcessLoadedPackagesFromGameThread() []
[2022.07.18-13.11.08:864][ 0]LogWindows: Error: [Callstack] 0x00007ff7d2652d42 DungeonProject.exe!FAsyncLoadingThread2::TickAsyncLoadingFromGameThread() []
[2022.07.18-13.11.08:864][ 0]LogWindows: Error: [Callstack] 0x00007ff7d2618664 DungeonProject.exe!FAsyncLoadingThread2::FlushLoading() []
[2022.07.18-13.11.08:864][ 0]LogWindows: Error: [Callstack] 0x00007ff7d2674dbf DungeonProject.exe!FlushAsyncLoading() []
[2022.07.18-13.11.08:864][ 0]LogWindows: Error: [Callstack] 0x00007ff7d290bce9 DungeonProject.exe!LoadPackageInternal() []
[2022.07.18-13.11.08:864][ 0]LogWindows: Error: [Callstack] 0x00007ff7d290b7b4 DungeonProject.exe!LoadPackage() []
[2022.07.18-13.11.08:864][ 0]LogWindows: Error: [Callstack] 0x00007ff7d79d0896 DungeonProject.exe!UEngine::LoadMap() []
[2022.07.18-13.11.08:864][ 0]LogWindows: Error: [Callstack] 0x00007ff7d797bfac DungeonProject.exe!UEngine::Browse() []
[2022.07.18-13.11.08:864][ 0]LogWindows: Error: [Callstack] 0x00007ff7d6f96b1f DungeonProject.exe!UGameInstance::StartGameInstance() []
[2022.07.18-13.11.08:864][ 0]LogWindows: Error: [Callstack] 0x00007ff7d0af4f48 DungeonProject.exe!FEngineLoop::Init() []
[2022.07.18-13.11.08:864][ 0]LogWindows: Error: [Callstack] 0x00007ff7d0b115ee DungeonProject.exe!GuardedMain() []
[2022.07.18-13.11.08:865][ 0]LogWindows: Error: [Callstack] 0x00007ff7d0b117ca DungeonProject.exe!GuardedMainWrapper() []
[2022.07.18-13.11.08:865][ 0]LogWindows: Error: [Callstack] 0x00007ff7d0b1484c DungeonProject.exe!LaunchWindowsStartup() []
[2022.07.18-13.11.08:865][ 0]LogWindows: Error: [Callstack] 0x00007ff7d0b26004 DungeonProject.exe!WinMain() []
[2022.07.18-13.11.08:865][ 0]LogWindows: Error: [Callstack] 0x00007ff7d8b992da DungeonProject.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2022.07.18-13.11.08:865][ 0]LogWindows: Error: [Callstack] 0x00007ff9c96f7034 KERNEL32.DLL!UnknownFunction []
[2022.07.18-13.11.08:865][ 0]LogWindows: Error: [Callstack] 0x00007ff9ca7a2651 ntdll.dll!UnknownFunction []
[2022.07.18-13.11.08:865][ 0]LogWindows: Error:
[2022.07.18-13.11.08:918][ 0]LogExit: Executing StaticShutdownAfterError
[2022.07.18-13.11.08:919][ 0]LogWindows: FPlatformMisc::RequestExit(1)
[2022.07.18-13.11.08:919][ 0]LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3)
[2022.07.18-13.11.08:919][ 0]LogCore: Engine exit requested (reason: Win RequestExit)
[2022.07.18-13.11.09:000][ 0]Log file closed, 07/18/22 10:11:09