Sublevel packaging problem

2023.06.29-11.14.05:314][ 1]LogWindows: Error: begin: stack for UAT
[2023.06.29-11.14.05:314][ 1]LogWindows: Error: === Critical error: ===
[2023.06.29-11.14.05:314][ 1]LogWindows: Error:
[2023.06.29-11.14.05:314][ 1]LogWindows: Error: Fatal error!
[2023.06.29-11.14.05:314][ 1]LogWindows: Error:
[2023.06.29-11.14.05:314][ 1]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000000
[2023.06.29-11.14.05:314][ 1]LogWindows: Error:
[2023.06.29-11.14.05:314][ 1]LogWindows: Error: [Callstack] 0x00007ff77cc62d4e TEUEarth.exe!ACesiumGeoreference::SwitchToLevel() [G:\Project\TwinUE\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGeoreference.cpp:393]
[2023.06.29-11.14.05:314][ 1]LogWindows: Error: [Callstack] 0x00007ff77cc6b5e0 TEUEarth.exe!ACesiumGeoreference::_updateSublevelState() [G:\Project\TwinUE\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGeoreference.cpp:728]
[2023.06.29-11.14.05:314][ 1]LogWindows: Error: [Callstack] 0x00007ff77cc6328a TEUEarth.exe!ACesiumGeoreference::Tick() [G:\Project\TwinUE\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGeoreference.cpp:765]
[2023.06.29-11.14.05:314][ 1]LogWindows: Error: [Callstack] 0x00007ff783f07c9a TEUEarth.exe!AActor::TickActor() [G:\UnrealEngine-5.2\Engine\Source\Runtime\Engine\Private\Actor.cpp:1447]
[2023.06.29-11.14.05:314][ 1]LogWindows: Error: [Callstack] 0x00007ff783ee02b7 TEUEarth.exe!FActorTickFunction::ExecuteTick() [G:\UnrealEngine-5.2\Engine\Source\Runtime\Engine\Private\Actor.cpp:213]
[2023.06.29-11.14.05:314][ 1]LogWindows: Error: [Callstack] 0x00007ff7852f5baf TEUEarth.exe!FTickFunctionTask::DoTask() [G:\UnrealEngine-5.2\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp:276]
[2023.06.29-11.14.05:314][ 1]LogWindows: Error: [Callstack] 0x00007ff7852fd485 TEUEarth.exe!TGraphTask::ExecuteTask() [G:\UnrealEngine-5.2\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:1313]
[2023.06.29-11.14.05:314][ 1]LogWindows: Error: [Callstack] 0x00007ff77f4ca283 TEUEarth.exe!FNamedTaskThread::ProcessTasksNamedThread() [G:\UnrealEngine-5.2\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:758]
[2023.06.29-11.14.05:314][ 1]LogWindows: Error: [Callstack] 0x00007ff77f4ca79e TEUEarth.exe!FNamedTaskThread::ProcessTasksUntilQuit() [G:\UnrealEngine-5.2\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:649]
[2023.06.29-11.14.05:314][ 1]LogWindows: Error: [Callstack] 0x00007ff77f4e4679 TEUEarth.exe!FTaskGraphCompatibilityImplementation::WaitUntilTasksComplete() [G:\UnrealEngine-5.2\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:2123]
[2023.06.29-11.14.05:314][ 1]LogWindows: Error: [Callstack] 0x00007ff785315578 TEUEarth.exe!FTickTaskSequencer::ReleaseTickGroup() [G:\UnrealEngine-5.2\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp:556]
[2023.06.29-11.14.05:315][ 1]LogWindows: Error: [Callstack] 0x00007ff78531bbc9 TEUEarth.exe!FTickTaskManager::RunTickGroup() [G:\UnrealEngine-5.2\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp:1583]
[2023.06.29-11.14.05:315][ 1]LogWindows: Error: [Callstack] 0x00007ff78497c728 TEUEarth.exe!UWorld::RunTickGroup() [G:\UnrealEngine-5.2\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:770]
[2023.06.29-11.14.05:315][ 1]LogWindows: Error: [Callstack] 0x00007ff784985fd4 TEUEarth.exe!UWorld::Tick() [G:\UnrealEngine-5.2\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:1513]
[2023.06.29-11.14.05:315][ 1]LogWindows: Error: [Callstack] 0x00007ff7846edf0f TEUEarth.exe!UGameEngine::Tick() [G:\UnrealEngine-5.2\Engine\Source\Runtime\Engine\Private\GameEngine.cpp:1771]
[2023.06.29-11.14.05:315][ 1]LogWindows: Error: [Callstack] 0x00007ff77cb96aa0 TEUEarth.exe!FEngineLoop::Tick() [G:\UnrealEngine-5.2\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5812]
[2023.06.29-11.14.05:327][ 1]LogWindows: Error: [Callstack] 0x00007ff77cbb1f4c TEUEarth.exe!GuardedMain() [G:\UnrealEngine-5.2\Engine\Source\Runtime\Launch\Private\Launch.cpp:188]
[2023.06.29-11.14.05:327][ 1]LogWindows: Error: [Callstack] 0x00007ff77cbb202a TEUEarth.exe!GuardedMainWrapper() [G:\UnrealEngine-5.2\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:107]
[2023.06.29-11.14.05:327][ 1]LogWindows: Error: [Callstack] 0x00007ff77cbb4fc6 TEUEarth.exe!LaunchWindowsStartup() [G:\UnrealEngine-5.2\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:244]
[2023.06.29-11.14.05:327][ 1]LogWindows: Error: [Callstack] 0x00007ff77cbc76e4 TEUEarth.exe!WinMain() [G:\UnrealEngine-5.2\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:285]
[2023.06.29-11.14.05:327][ 1]LogWindows: Error: [Callstack] 0x00007ff7871d490a TEUEarth.exe!__scrt_common_main_seh() [D:\a_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2023.06.29-11.14.05:327][ 1]LogWindows: Error: [Callstack] 0x00007ffa229e7614 KERNEL32.DLL!UnknownFunction
[2023.06.29-11.14.05:333][ 1]LogWindows: Error: [Callstack] 0x00007ffa235826f1 ntdll.dll!UnknownFunction
[2023.06.29-11.14.05:333][ 1]LogWindows: Error:
[2023.06.29-11.14.05:333][ 1]LogWindows: Error: end: stack for UAT
[2023.06.29-11.14.05:340][ 1]LogExit: Executing StaticShutdownAfterError
[2023.06.29-11.14.05:341][ 1]LogWindows: FPlatformMisc::RequestExit(1)
[2023.06.29-11.14.05:341][ 1]LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3)
[2023.06.29-11.14.05:341][ 1]LogCore: Engine exit requested (reason: Win RequestExit)

I successful package the project,but occur fatal error when launch the .exe file.Logs are listed above.

Sublevels are a bit broken in Cesium for Unreal, but we’re working on a replacement system. It’s not yet merged into main, but if you’d like, you can check out the PR on Github and see if it fixes your crash.

Janine is right that we’re in the process of overhauling sub-levels. I still wouldn’t expect an access violation, though. Can you reproduce that problem in the Cesium for Unreal Samples project (especially level 4, which uses sub-levels)?

I get it work.I find my collaborator fail to save all levels in a folder.Thanks for your help.I’ll also have a view on the new method.