How to load new scene and dispose old one?

I need to load new scene with the imported data and dispose the old scene. But it seems that the new scene got frozen after rendered, i created the simple background here:

I got three questions below, actually they all can be summarized into one question: What is the proper way to replace the old scene with new scene?

  1. Do i need to dispose the old engine and create new one?
  2. Since the new scene carries with camera data, do i need to create new camera again?
  3. Why the new scene got frozen after imported since it carries the camera data?

Before that, i saw someone posted this playground as it uses SceneLoader.Append which adds the new scene to the old scene, it uses scene.createDefaultCameraOrLight(true, true, true) after creating the new scene and it works fine: (tips: you may need to click on the canvas and move so that the plane can be seen).
Can anyone help me with that?

You have to set the new camera as the new scene’s active camera: import new scene and dispose old scene | Babylon.js Playground (


thank you, it works!