Cant display 3d tile

i am not progammer… i just have little knowledge about it. any body can help me to solve this problem. below is may funtion, the problem is my data 3dtile not display in map :slight_smile:

function loadkk5Maran() {
    if (!kk5Maran) {
        var tilesetUrl = 'data/vektor_data/KK5_Maran/tileset.json';

        var tileset = new Cesium.Cesium3DTileset({
            url: tilesetUrl
        });

        viewer.scene.primitives.add(tileset);
        kk5Maran = tileset;

        viewer.camera.flyTo({
            destination: Cesium.Cartesian3.fromDegrees(102.8869, 3.6695, 1000.0), // Sesuaikan skala jika perlu
            orientation: {
                heading: Cesium.Math.toRadians(0),
                pitch: Cesium.Math.toRadians(-90.0),
                roll: 0.0,
            },
            easingFunction: Cesium.EasingFunction.QUADRATIC_IN_OUT,
            duration: 5
        });
    }
}

Which version of CesiumJS are you using?
The part that says

        var tileset = new Cesium.Cesium3DTileset({
            url: tilesetUrl
        });

should be

        var tileset = await Cesium.Cesium3DTileset.fromUrl(tilesetUrl);

unless you are using an old version of CesiumJS.

(You’ll have to declare the function as async, and maybe add await where this function is called. If you provide more context (preferably, a complete Sandcastle example), then the help can be more focussed on that)