Sublevels causing command line driven render queue to crash

I have some use cases where I prefer to render using the movie render queue from the command line. You can see this described in this tutorial: Command Line Rendering With Unreal Engine Movie Render Queue | Community tutorial .

I’ve been able to successfully render in this way when I have a simple Cesium level. But when I try doing it this way with a level with sublevels, I am getting the following exceptions:

[2023.08.10-17.13.05:338][  1]LogWindows: Error: === Critical error: ===
[2023.08.10-17.13.05:338][  1]LogWindows: Error: 
[2023.08.10-17.13.05:338][  1]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000000
[2023.08.10-17.13.05:338][  1]LogWindows: Error: 
[2023.08.10-17.13.05:338][  1]LogWindows: Error: [Callstack] 0x00007ff9c2fdbe74 UnrealEditor-CesiumRuntime.dll!ACesiumGeoreference::SwitchToLevel() [D:\cesium-unreal\cesium-unreal\packages\CesiumForUnreal\HostProject\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGeoreference.cpp:393]
[2023.08.10-17.13.05:338][  1]LogWindows: Error: [Callstack] 0x00007ff9c2fe53b1 UnrealEditor-CesiumRuntime.dll!ACesiumGeoreference::_updateSublevelState() [D:\cesium-unreal\cesium-unreal\packages\CesiumForUnreal\HostProject\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGeoreference.cpp:742]
[2023.08.10-17.13.05:338][  1]LogWindows: Error: [Callstack] 0x00007ff9c2fdcd72 UnrealEditor-CesiumRuntime.dll!ACesiumGeoreference::Tick() [D:\cesium-unreal\cesium-unreal\packages\CesiumForUnreal\HostProject\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGeoreference.cpp:780]
[2023.08.10-17.13.05:338][  1]LogWindows: Error: [Callstack] 0x00007ff9dd0d873d UnrealEditor-Engine.dll!UnknownFunction []
[2023.08.10-17.13.05:338][  1]LogWindows: Error: [Callstack] 0x00007ff9dd09bad5 UnrealEditor-Engine.dll!UnknownFunction []
[2023.08.10-17.13.05:338][  1]LogWindows: Error: [Callstack] 0x00007ff9debb8a40 UnrealEditor-Engine.dll!UnknownFunction []
[2023.08.10-17.13.05:338][  1]LogWindows: Error: [Callstack] 0x00007ff9debd7569 UnrealEditor-Engine.dll!UnknownFunction []
[2023.08.10-17.13.05:338][  1]LogWindows: Error: [Callstack] 0x00007ff9ede72fdd UnrealEditor-Core.dll!UnknownFunction []
[2023.08.10-17.13.05:338][  1]LogWindows: Error: [Callstack] 0x00007ff9ede7352e UnrealEditor-Core.dll!UnknownFunction []
[2023.08.10-17.13.05:338][  1]LogWindows: Error: [Callstack] 0x00007ff9ede7dd0b UnrealEditor-Core.dll!UnknownFunction []
[2023.08.10-17.13.05:338][  1]LogWindows: Error: [Callstack] 0x00007ff9dec30078 UnrealEditor-Engine.dll!UnknownFunction []
[2023.08.10-17.13.05:338][  1]LogWindows: Error: [Callstack] 0x00007ff9dec3d912 UnrealEditor-Engine.dll!UnknownFunction []
[2023.08.10-17.13.05:338][  1]LogWindows: Error: [Callstack] 0x00007ff9dde781cb UnrealEditor-Engine.dll!UnknownFunction []
[2023.08.10-17.13.05:338][  1]LogWindows: Error: [Callstack] 0x00007ff9dde80603 UnrealEditor-Engine.dll!UnknownFunction []
[2023.08.10-17.13.05:338][  1]LogWindows: Error: [Callstack] 0x00007ff9ddac5e5f UnrealEditor-Engine.dll!UnknownFunction []
[2023.08.10-17.13.05:338][  1]LogWindows: Error: [Callstack] 0x00007ff9ca4949ee UnrealEditor-DisplayCluster.dll!UnknownFunction []
[2023.08.10-17.13.05:339][  1]LogWindows: Error: [Callstack] 0x00007ff6d494852c UnrealEditor-Cmd.exe!UnknownFunction []
[2023.08.10-17.13.05:339][  1]LogWindows: Error: [Callstack] 0x00007ff6d496287d UnrealEditor-Cmd.exe!UnknownFunction []
[2023.08.10-17.13.05:339][  1]LogWindows: Error: [Callstack] 0x00007ff6d496296a UnrealEditor-Cmd.exe!UnknownFunction []
[2023.08.10-17.13.05:339][  1]LogWindows: Error: [Callstack] 0x00007ff6d4965680 UnrealEditor-Cmd.exe!UnknownFunction []
[2023.08.10-17.13.05:339][  1]LogWindows: Error: [Callstack] 0x00007ff6d49771b4 UnrealEditor-Cmd.exe!UnknownFunction []
[2023.08.10-17.13.05:339][  1]LogWindows: Error: [Callstack] 0x00007ff6d49796f2 UnrealEditor-Cmd.exe!UnknownFunction []
[2023.08.10-17.13.05:339][  1]LogWindows: Error: [Callstack] 0x00007ffa93ae7614 KERNEL32.DLL!UnknownFunction []
[2023.08.10-17.13.05:339][  1]LogWindows: Error: [Callstack] 0x00007ffa93cc26f1 ntdll.dll!UnknownFunction []

Can you give us a minimal example to reproduce? For instance, what exactly was in your scene, what version of Unreal Engine were you using, etc.