-
Notifications
You must be signed in to change notification settings - Fork 327
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
What happened?
GetPrimitiveFeatures
returns an empty primitive features for instanced tilesets. This is because of these lines of code:
UCesiumPrimitiveFeaturesBlueprintLibrary::GetPrimitiveFeatures( | |
const UPrimitiveComponent* component) { | |
const UCesiumGltfPrimitiveComponent* pGltfComponent = | |
Cast<UCesiumGltfPrimitiveComponent>(component); | |
if (!IsValid(pGltfComponent)) { | |
return EmptyPrimitiveFeatures; | |
} |
It should also be checking for an UCesiumGltfInstancedComponent
, and returning the attached features if found.
Environment
Cesium for Unreal version: v2.16.1
Unreal Engine Version: 5.4
Operating System: Windows
Reproduction steps
- Open the sample level
06_CesiumMetadata
. - Load the Instanced Orientation tileset from URL.
- In the Level Blueprint, recreate this Blueprint:
- Run the level. Click on any of the cubes. You should see a -1 printed no matter what cube you press. However, the metadata table will be populated with the Height property.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers