Help with loadSceneHierarchy

this.app.scenes.loadSceneHierarchy(scene.url, function (err, parent) {
        if (!err) {
            oldHierarchy.destroy();
        } else {
            console.error(err);
        }
    });

I am having the same issue. I am new in PlayCanvas. can anyone help me fixing this issue?

The advice in this (the original) thread is outdated, please refer to the new API here: Loading Scenes | Learn PlayCanvas

1 Like