UE5: Creating HLODs with Cesium actors crashes engine

Hi,

I’m trying to create the HLODs for my meshes (buildings) I’m using e.g. for our airport. The actors are handled using the new UE5 WorldPartition.

I exluded all CESIUM actors from HLOD generation:

Then I create HLODs:

And then the engine crashes:

Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\Templates\Casts.cpp] [Line: 10] Cast of Cesium3DTileset /Game/Maps/EDMO.EDMO:PersistentLevel.CesiumWorldTerrain_1 to MetaData failed

UnrealEditor_CoreUObject
UnrealEditor_Engine
UnrealEditor_CoreUObject
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_WorldPartitionEditor
UnrealEditor_WorldPartitionEditor
UnrealEditor_WorldPartitionEditor
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_LevelEditor
UnrealEditor_LevelEditor
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
UnrealEditor_ApplicationCore
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

For a test I removed all Cesium3DTilesets from the project, after this the HLODs were created without crashing UE5.

Best
Andreas

That looks like the exact same error you get when you remove a tileset. I suspect if we solve that one, this one will be solved as well.