Skip to content

Styling broken for secondary feature ID set in San Francisco Ferry Building #1761

@j9liu

Description

@j9liu

What happened?

The San Francisco Ferry Building has two different feature ID textures that are visualized in this Sandcastle. It also has two property tables, "labels1" and "labels2"

We can visualize the first one (named _FEATURE_ID_TEXTURE_0) correctly with "labels1" in 06_CesiumMetadata from the samples. But attempting to use the second feature ID texture (_FEATURE_ID_TEXTURE_1) gives an incorrect monochrome result. This happens regardless of whether you're interfacing with "labels1" or "labels2", so it appears to be a bug with the feature ID texture in particular.

Environment

Cesium for Unreal version: v2.21.0
Unreal Engine Version: 5.4+
Operating System: Windows 11

Reproduction steps

  1. Start with 06_CesiumMetadata in the Cesium for Unreal Samples.
  2. In the UCesiumFeaturesMetadataComponent, rename _FEATURE_ID_TEXTURE_0 to _FEATURE_ID_TEXTURE_1. (or alternatively, use the Auto Fill button to pick this up).
  3. Refresh the tileset.
  4. Click Generate Material. You may have to reconnect the nodes like so:
Image
  1. Apply the material. Note that the monochrome result.

Supporting evidence

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions