CesiumGS / cesium-unreal

Bringing the 3D geospatial ecosystem to Unreal Engine
https://cesium.com/platform/cesium-for-unreal/
Apache License 2.0
944 stars 295 forks source link

UE5 - 3D Tiles Don't Load/Unload Correctly with Data Layers/World Partition #858

Closed darcyvdd closed 1 year ago

darcyvdd commented 2 years ago

I have some Cesium3DTilesets on different levels, for the project we are already utilising Data Layers for different design options within the level. To make this work seamlessly we have different 3D Tiles that are the same terrain but utilise different CesiumCartographicPolygons to cutout precisely around the design and fill-in different areas. We utlisising Data Layers to load/unload the design however the 3D Tiles fail to unload despite being on the DataLayer. It should be noted the if we load/unload the DataLayers in editor, the 3DTiles load/unload appropriately, but in PIE or a packaged build it does not work correctly.

kring commented 2 years ago

Thanks for the report @darcyvdd. Can you share a minimal project with us to demonstrate this problem?

kring commented 1 year ago

This is likely fixed after #1153, but we should check.

kring commented 1 year ago

World Partition and Data Layers appear to work fine, now, with some caveats:

MapCheck: Error: Actor CesiumGeoreference (/Game/DataLayerTest/DataLayerTest) references an actor in a different set of runtime data layers Aerometrex Denver High Resolution 3D Model with Street Level Enhanced 3D (Non-Commercial Trial)

I used a simple Level Blueprint to test data layers:

image