I’m using sandbox of Cesium Sandcastle to add interactivity of my 3dTile dataset that I created with Point cloud, although application works perfectly fine with the default assets, but when I change the asset ID, it stops working.
I can see my data on the map, but metadata and LEFT Click functionality does not work. I’m getting error as
Uncaught TypeError: feature.getPropertyIds is not a function (on line 109)
You mentioned that you created that data set from a point cloud. Note that the metadata handling in this example Sandcastle makes a few assumptions about the type of the data. (Specifically: It makes the assumption that the feature is actually an instance of Cesium3DTileFeature. A cleaner solution would probably to explicitly check whether this is the case).
When creating a tileset from a point cloud, then there may be different forms of metadata associated with the points, but these are usually represented in a different way than for “geometry” (like the buildings). As far as I know, that point metadata cannot be selected with mouse clicks. It is usually only used for styling and custom shaders.
If you give some additional details (like what the source data is, what kind of metadata it contains, and how you would like to use that on the client side), then maybe someone can give more focussed hints about how to achieve your goals.
But as I said: This metadata is isually not available for picking (i.e. you cannot click one individual point and display the metadata). The main goal of preserving this metadata is for styling and visualization.