Adding Imagery Overlay Results in Crash

Hi All,

We are experiencing a crash in UE4.27 with CesiumForUnreal plugin v1.12.0 where adding a CesiumIonRasterOverlay component to the scene that results in a crash.

The output log throws the error that it cannot parse the XML.

The issue can be replicated by adding any of the Cesium Ion Imagery datasets to the scene. This includes the Sentinel-2, Natural Earth II etc.

The crash occurs in the CesiumForUnrealSamples project as well as any other project running this version.

Is anyone else experiencing this crash/replicate the crash?

image


[2022.04.11-02.18.01:865][274]LogCesium: Error: [2022-04-11 12:18:01.865] [error] [RasterOverlay.cpp:145] Could not parse tile map service XML.

UE4 Crash dump:

LoginId:f5037bcb4397c64161ea23bfca4701a0
EpicAccountId:d3de1d77a6a040e3be3f284b1ad0c398

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff

UE4Editor_CesiumRuntime!Cesium3DTilesSelection::RasterOverlay::reportError()
UE4Editor_CesiumRuntime!async::fifo_scheduler::run_all_tasks()
UE4Editor_CesiumRuntime!CesiumAsync::CesiumImpl::QueuedScheduler::dispatchQueuedContinuations()
UE4Editor_CesiumRuntime!Cesium3DTilesSelection::Tileset::updateView()
UE4Editor_CesiumRuntime!ACesium3DTileset::Tick() [D:\build\++Portal\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\Cesium3DTileset.cpp:1612]
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_UnrealEd
UE4Editor_UnrealEd
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
kernel32
ntdll

Hi @V2i,

I think this is very likely caused by this issue:

It should be fixed in the build from the ue4-main branch on GitHub (if you try it, let me know!), and we’ll ship it in the next release.

Kevin