# \#scene

**URL:** https://forum.babylonjs.com/tag/scene/191.md

[Latest](https://forum.babylonjs.com/latest.md) · [Categories](https://forum.babylonjs.com/categories.md) · [Tags](https://forum.babylonjs.com/tags.md)

---

## [Game restart: Recreate scene without reloading assets?](https://forum.babylonjs.com/t/game-restart-recreate-scene-without-reloading-assets/63328)

<div class="topic-metadata">

**Author:** [@regna](https://forum.babylonjs.com/u/regna)\
**Replies:** 2\
**Last updated:** [May 5, 2026, 8:18am UTC](https://forum.babylonjs.com/t/game-restart-recreate-scene-without-reloading-assets/63328 "2026-05-05T08:18:56Z")

</div>

Hi folks! To allow users to start a game, exit (to a main menu), and restart the game countless times without reloading the page, is there a recommended, robust way of cleaning up and handling Babylon.js’ lifecycle? Fo…

---

## [Pack / Serialize the Environment (.env) During Export to BabylonJS .babylon File](https://forum.babylonjs.com/t/pack-serialize-the-environment-env-during-export-to-babylonjs-babylon-file/60914)

<div class="topic-metadata">

**Author:** [@staub](https://forum.babylonjs.com/u/staub)\
**Replies:** 3\
**Last updated:** [October 14, 2025, 1:55am UTC](https://forum.babylonjs.com/t/pack-serialize-the-environment-env-during-export-to-babylonjs-babylon-file/60914 "2025-10-14T01:55:05Z")

</div>

Please make it possible to pack / serialize the Skybox environment with all properties within .babylon files during export.

---

## [Live remote scene synchronization](https://forum.babylonjs.com/t/live-remote-scene-synchronization/58571)

<div class="topic-metadata">

**Author:** [@Blackhex](https://forum.babylonjs.com/u/Blackhex)\
**Replies:** 9\
**Last updated:** [May 23, 2025, 7:08am UTC](https://forum.babylonjs.com/t/live-remote-scene-synchronization/58571 "2025-05-23T07:08:55Z")

</div>

Hello. What are the options for live remote scene synchronization either between two browsers or between a bowser and Node.js server unning NullEngine instance? After some research I found only answsers that suggest to…

---

## [ArcRotateCamera ZoomIn/ZoomOut Issue](https://forum.babylonjs.com/t/arcrotatecamera-zoomin-zoomout-issue/57041)

<div class="topic-metadata">

**Author:** [@ilyokonm](https://forum.babylonjs.com/u/ilyokonm)\
**Replies:** 6\
**Last updated:** [March 11, 2025, 7:11pm UTC](https://forum.babylonjs.com/t/arcrotatecamera-zoomin-zoomout-issue/57041 "2025-03-11T19:11:44Z")

</div>

Hello everyone, I am developing a project using BabylonJs and at the same time I am using ArcRotateCamera in my project. I am having a problem with the zoom in and zoom out feature of ArcRotateCamera. When the scene is …

---

## [How to clone a mesh to another scene? Trying to cache meshes in memory and share them between scenes](https://forum.babylonjs.com/t/how-to-clone-a-mesh-to-another-scene-trying-to-cache-meshes-in-memory-and-share-them-between-scenes/55923)

<div class="topic-metadata">

**Author:** [@Khanon](https://forum.babylonjs.com/u/Khanon)\
**Replies:** 15\
**Last updated:** [January 16, 2025, 7:20pm UTC](https://forum.babylonjs.com/t/how-to-clone-a-mesh-to-another-scene-trying-to-cache-meshes-in-memory-and-share-them-between-scenes/55923 "2025-01-16T19:20:11Z")

</div>

Hello, I had a long forced break to continue with my engine :frowning: , but I’m back now 100% with it :slight\_smile: With the purpose of cache meshes in memory, and clone them to be used in N scenes which can be loaded…

---

## [Cloning the current Scene?](https://forum.babylonjs.com/t/cloning-the-current-scene/34641)

<div class="topic-metadata">

**Author:** [@hschmiedhofer](https://forum.babylonjs.com/u/hschmiedhofer)\
**Replies:** 4\
**Last updated:** [December 19, 2024, 12:04pm UTC](https://forum.babylonjs.com/t/cloning-the-current-scene/34641 "2024-12-19T12:04:08Z")

</div>

For some GLB export, I need to make crucial changes to the contents of my current Scene, which I’d have to reverse after the export. In order to avoid that, I would like to know if it is feasible to clone the current S…

---

## [Clone AssetContainer's assets using another scene](https://forum.babylonjs.com/t/clone-assetcontainers-assets-using-another-scene/55448)

<div class="topic-metadata">

**Author:** [@brightMoon](https://forum.babylonjs.com/u/brightMoon)\
**Replies:** 1\
**Last updated:** [December 18, 2024, 9:49pm UTC](https://forum.babylonjs.com/t/clone-assetcontainers-assets-using-another-scene/55448 "2024-12-18T21:49:26Z")

</div>

hi， hello everyone. I want to use AssetContainer to process the models in my scene. So I created scene2 and a new AssetContainer. The reason for creating a new scene is that I want to export the loaded model. I need to…

---

## [Is this a bug - Solid Particles System](https://forum.babylonjs.com/t/is-this-a-bug-solid-particles-system/55408)

<div class="topic-metadata">

**Author:** [@ozgencdev](https://forum.babylonjs.com/u/ozgencdev)\
**Replies:** 2\
**Last updated:** [December 17, 2024, 10:02am UTC](https://forum.babylonjs.com/t/is-this-a-bug-solid-particles-system/55408 "2024-12-17T10:02:07Z")

</div>

Hi, I want to create fireworks using Babylon SPS, but my code isn’t working correctly. I looked at the documentation and found the sps.dispose function, but it doesn’t seem to remove anything from the scene. My expectati…

---

## [scene.removeLight(light) vs light.dispose()](https://forum.babylonjs.com/t/scene-removelight-light-vs-light-dispose/55002)

<div class="topic-metadata">

**Author:** [@onekit](https://forum.babylonjs.com/u/onekit)\
**Replies:** 2\
**Last updated:** [November 26, 2024, 2:13pm UTC](https://forum.babylonjs.com/t/scene-removelight-light-vs-light-dispose/55002 "2024-11-26T14:13:52Z")

</div>

There are two ways to remove a light source from a scene. One is to call the dispose() method on the light object: this.light = new BABYLON.Light() this.light.dispose() The other way is to pass the light source as a pa…

---

## [About multi-scenario solution selection](https://forum.babylonjs.com/t/about-multi-scenario-solution-selection/54800)

<div class="topic-metadata">

**Author:** [@no\_say](https://forum.babylonjs.com/u/no_say)\
**Replies:** 2\
**Last updated:** [November 16, 2024, 6:12pm UTC](https://forum.babylonjs.com/t/about-multi-scenario-solution-selection/54800 "2024-11-16T18:12:54Z")

</div>

I’m developing a game that requires switching between multiple scenes. Then there are two options below： Multiple scenes using multiple babylon scenes A babylon scene is used from beginning to end. When switching betwe…

---

## [Handle deltaTime discrepancy](https://forum.babylonjs.com/t/handle-deltatime-discrepancy/54742)

<div class="topic-metadata">

**Author:** [@Alecell](https://forum.babylonjs.com/u/Alecell)\
**Replies:** 2\
**Last updated:** [November 14, 2024, 11:42am UTC](https://forum.babylonjs.com/t/handle-deltatime-discrepancy/54742 "2024-11-14T11:42:09Z")

</div>

Hey all! I was working with a game that was working smoothly with a fixed value for position change, but as soon as I multiplied it by the deltaTime I notice that sometimes the player movement flicks. Digging deeper on…

---

## [Suggest changing the Layers on the scene to optional](https://forum.babylonjs.com/t/suggest-changing-the-layers-on-the-scene-to-optional/54062)

<div class="topic-metadata">

**Author:** [@brightMoon](https://forum.babylonjs.com/u/brightMoon)\
**Replies:** 2\
**Last updated:** [October 11, 2024, 10:47am UTC](https://forum.babylonjs.com/t/suggest-changing-the-layers-on-the-scene-to-optional/54062 "2024-10-11T10:47:48Z")

</div>

If Layer is not used, it will be undefined in scene.layers. I looked at the source code: So this part is changed to： declare module "../abstractScene" { export interface AbstractScene { /\*\* …

---

## ['scene.enablePrePassRenderer is not a function' when creating a SSRRenderingPipeline?](https://forum.babylonjs.com/t/scene-enableprepassrenderer-is-not-a-function-when-creating-a-ssrrenderingpipeline/53926)

<div class="topic-metadata">

**Author:** [@ClementSXD](https://forum.babylonjs.com/u/ClementSXD)\
**Replies:** 3\
**Last updated:** [October 7, 2024, 8:49am UTC](https://forum.babylonjs.com/t/scene-enableprepassrenderer-is-not-a-function-when-creating-a-ssrrenderingpipeline/53926 "2024-10-07T08:49:14Z")

</div>

Playground: Babylon.js Playground In the Playground, the following is fine: // This creates a basic Babylon Scene object (non-mesh) var scene = new BABYLON.Scene(engine); // This creates and positions a fr…

---

## [Distorted Scene with High Coordinate values and Dynamic Terrain](https://forum.babylonjs.com/t/distorted-scene-with-high-coordinate-values-and-dynamic-terrain/53681)

<div class="topic-metadata">

**Author:** [@fromage9747](https://forum.babylonjs.com/u/fromage9747)\
**Replies:** 2\
**Last updated:** [September 24, 2024, 4:58pm UTC](https://forum.babylonjs.com/t/distorted-scene-with-high-coordinate-values-and-dynamic-terrain/53681 "2024-09-24T16:58:50Z")

</div>

Hi All, I have had this issue for a while now but have been putting it off. When using Dynamic Terrain and having high coordinate values, the camera tears and the image is distorted. I have been able to replicate the i…

---

## [How to combine multiple scenes into one?](https://forum.babylonjs.com/t/how-to-combine-multiple-scenes-into-one/53163)

<div class="topic-metadata">

**Author:** [@ansh21222](https://forum.babylonjs.com/u/ansh21222)\
**Replies:** 13\
**Last updated:** [September 5, 2024, 10:14am UTC](https://forum.babylonjs.com/t/how-to-combine-multiple-scenes-into-one/53163 "2024-09-05T10:14:11Z")

</div>

I am using this function const scene = await BABYLON.SceneLoader.LoadAsync(“”, url); in this the url hits multiple times and from that it extract the models from server and create a scene each time .I want when all the…

---

## [To create a scene from a glb file](https://forum.babylonjs.com/t/to-create-a-scene-from-a-glb-file/53036)

<div class="topic-metadata">

**Author:** [@ansh21222](https://forum.babylonjs.com/u/ansh21222)\
**Replies:** 3\
**Last updated:** [August 27, 2024, 12:42pm UTC](https://forum.babylonjs.com/t/to-create-a-scene-from-a-glb-file/53036 "2024-08-27T12:42:36Z")

</div>

How can I create a scene from the glb file which is hosted in the server.

---

## [I am using scene Optimizer for performance improvement, but it reduces the glow layer intensity from the scene](https://forum.babylonjs.com/t/i-am-using-scene-optimizer-for-performance-improvement-but-it-reduces-the-glow-layer-intensity-from-the-scene/52101)

<div class="topic-metadata">

**Author:** [@Siddhant](https://forum.babylonjs.com/u/Siddhant)\
**Replies:** 4\
**Last updated:** [July 25, 2024, 4:24pm UTC](https://forum.babylonjs.com/t/i-am-using-scene-optimizer-for-performance-improvement-but-it-reduces-the-glow-layer-intensity-from-the-scene/52101 "2024-07-25T16:24:33Z")

</div>

const optimizerOptions = new BABYLON.SceneOptimizerOptions(30, 2000); // Add specific optimizations without affecting glow optimizerOptions.optimizations.push( new BABYLON.HardwareScalingOptimization(0, 1), new BABYL…

---

## [Change camera direction](https://forum.babylonjs.com/t/change-camera-direction/51188)

<div class="topic-metadata">

**Author:** [@yanocv](https://forum.babylonjs.com/u/yanocv)\
**Replies:** 5\
**Last updated:** [June 11, 2024, 7:53am UTC](https://forum.babylonjs.com/t/change-camera-direction/51188 "2024-06-11T07:53:28Z")

</div>

I have a and array of cameras streaming videos. i need half of them to use useRightHandedSystem, and the other half to use useLeftHandedSystem. But when oI do Scene.useRightHandedSystem = false, it changes the whole th…

---

## [Physics gravity value in scene resets when project is played \[Babylon.js NEWBIE\]](https://forum.babylonjs.com/t/physics-gravity-value-in-scene-resets-when-project-is-played-babylon-js-newbie/50641)

<div class="topic-metadata">

**Author:** [@burning-account](https://forum.babylonjs.com/u/burning-account)\
**Replies:** 3\
**Last updated:** [May 23, 2024, 2:30pm UTC](https://forum.babylonjs.com/t/physics-gravity-value-in-scene-resets-when-project-is-played-babylon-js-newbie/50641 "2024-05-23T14:30:58Z")

</div>

this is my first post on this forum so I’ll get to it. I’m working on some silly project and whenever I go into the inspector and select the scene, then go to properties and change the physics and collisions gravity to s…

---

## [Right handed system](https://forum.babylonjs.com/t/right-handed-system/50554)

<div class="topic-metadata">

**Author:** [@Mr\_Anderson](https://forum.babylonjs.com/u/Mr_Anderson)\
**Replies:** 3\
**Last updated:** [May 15, 2024, 9:54am UTC](https://forum.babylonjs.com/t/right-handed-system/50554 "2024-05-15T09:54:53Z")

</div>

When I use the scene.useRightHandedSystem = true; my imported objects still have -Z , where in my 3D program I had +Z. Is my understanding correct that the useRightHandedSystem is supposed to reverse that?

---

## [Problem with scene.unregisterBeforeRender](https://forum.babylonjs.com/t/problem-with-scene-unregisterbeforerender/49989)

<div class="topic-metadata">

**Author:** [@DavidP](https://forum.babylonjs.com/u/DavidP)\
**Replies:** 3\
**Last updated:** [April 24, 2024, 4:44pm UTC](https://forum.babylonjs.com/t/problem-with-scene-unregisterbeforerender/49989 "2024-04-24T16:44:44Z")

</div>

Hello I am experimenting with the code from this thread can you please tell me why the solution offered in the thread is not working? You should be able to pause or replay the light animation with a click of the mou…

---

## [Disposing everything in a large scene takes a very long time](https://forum.babylonjs.com/t/disposing-everything-in-a-large-scene-takes-a-very-long-time/49906)

<div class="topic-metadata">

**Author:** [@FearsomeFlyingJacob](https://forum.babylonjs.com/u/FearsomeFlyingJacob)\
**Replies:** 12\
**Last updated:** [April 23, 2024, 6:44pm UTC](https://forum.babylonjs.com/t/disposing-everything-in-a-large-scene-takes-a-very-long-time/49906 "2024-04-23T18:44:19Z")

</div>

I’m using BabylonJS in a Vue application, and I need to dispose everything when unmounting the component. I have a scene open with many meshes, most of which instances (\>25k). Calling dispose() on this scene (or on the …

---

## [Default scene instead of passing around everywhere](https://forum.babylonjs.com/t/default-scene-instead-of-passing-around-everywhere/49730)

<div class="topic-metadata">

**Author:** [@Mike\_Mainguy](https://forum.babylonjs.com/u/Mike_Mainguy)\
**Replies:** 5\
**Last updated:** [April 17, 2024, 12:53pm UTC](https://forum.babylonjs.com/t/default-scene-instead-of-passing-around-everywhere/49730 "2024-04-17T12:53:12Z")

</div>

There’s a bit of a strange pattern I see with single scene experiences. I don’t know how common that is, but I have to believe at least for beginners it’s the “default” way of operating. Was wondering if there was an a…

---

## [Prevent background deformation](https://forum.babylonjs.com/t/prevent-background-deformation/49703)

<div class="topic-metadata">

**Author:** [@brightMoon](https://forum.babylonjs.com/u/brightMoon)\
**Replies:** 4\
**Last updated:** [April 16, 2024, 4:46pm UTC](https://forum.babylonjs.com/t/prevent-background-deformation/49703 "2024-04-16T16:46:59Z")

</div>

Using BABYLON When Layer uses images as the background of the scene, stretching the screen will cause the images to deform.I want an effect similar to the background on sketchfab, where the background image remains uncha…

---

## [A simple CSS scale and pick adaptation](https://forum.babylonjs.com/t/a-simple-css-scale-and-pick-adaptation/47688)

<div class="topic-metadata">

**Author:** [@late-autumn-give-ear](https://forum.babylonjs.com/u/late-autumn-give-ear)\
**Replies:** 3\
**Last updated:** [February 29, 2024, 7:52am UTC](https://forum.babylonjs.com/t/a-simple-css-scale-and-pick-adaptation/47688 "2024-02-29T07:52:05Z")

</div>

The default resize is 0.5. Click sphere and ground to see the output in the console.

---

## [How to add scripting to an editor?](https://forum.babylonjs.com/t/how-to-add-scripting-to-an-editor/47581)

<div class="topic-metadata">

**Author:** [@Corazone777](https://forum.babylonjs.com/u/Corazone777)\
**Replies:** 6\
**Last updated:** [January 30, 2024, 1:29pm UTC](https://forum.babylonjs.com/t/how-to-add-scripting-to-an-editor/47581 "2024-01-30T13:29:57Z")

</div>

Hi all, I’m trying to add scripting to my editor but I can’t make it work right. I have a main scene, that serves a purpose to an editor, where you can drag models around, change textures, import models and so on. Bec…

---

## [Babylonjs Viewer | wait for a complete scene object](https://forum.babylonjs.com/t/babylonjs-viewer-wait-for-a-complete-scene-object/47118)

<div class="topic-metadata">

**Author:** [@thirdpartycookie](https://forum.babylonjs.com/u/thirdpartycookie)\
**Replies:** 3\
**Last updated:** [January 10, 2024, 1:46pm UTC](https://forum.babylonjs.com/t/babylonjs-viewer-wait-for-a-complete-scene-object/47118 "2024-01-10T13:46:14Z")

</div>

I use the Babylonjs Viewer. As mentioned in the docs, I try to access the scene instance so I can bind data to the meshes. But every one of the 3 observables doesn’t return a complete scene. The method I need is getMeshB…

---

## [Displaying scene axes and grid occluded by original scene?](https://forum.babylonjs.com/t/displaying-scene-axes-and-grid-occluded-by-original-scene/46160)

<div class="topic-metadata">

**Author:** [@murphy](https://forum.babylonjs.com/u/murphy)\
**Replies:** 14\
**Last updated:** [December 5, 2023, 4:41pm UTC](https://forum.babylonjs.com/t/displaying-scene-axes-and-grid-occluded-by-original-scene/46160 "2023-12-05T16:41:52Z")

</div>

Hello, im currently struggling to display scene axes (ground grid, colored lines) occluded by the original scene. while gizmos work perfectly fine as overlays using the utility layer renderers, im struggling to render s…

---

## [WebXR across multiple scenes](https://forum.babylonjs.com/t/webxr-across-multiple-scenes/45846)

<div class="topic-metadata">

**Author:** [@Basic](https://forum.babylonjs.com/u/Basic)\
**Replies:** 5\
**Last updated:** [November 23, 2023, 10:29am UTC](https://forum.babylonjs.com/t/webxr-across-multiple-scenes/45846 "2023-11-23T10:29:11Z")

</div>

Hello, I have just started experimenting with Babylon.js, and want to build a WebXR experience with multiple scenes. So far I have a Lobby Scene and a Game Scene, and I ran into the issue where you can’t use the WebXRD…

---

## [ScenePerformancePriority.Aggressive bugs](https://forum.babylonjs.com/t/sceneperformancepriority-aggressive-bugs/45304)

<div class="topic-metadata">

**Author:** [@zimmed](https://forum.babylonjs.com/u/zimmed)\
**Replies:** 3\
**Last updated:** [November 2, 2023, 11:54pm UTC](https://forum.babylonjs.com/t/sceneperformancepriority-aggressive-bugs/45304 "2023-11-02T23:54:46Z")

</div>

I noticed a critical bug in my own project (@bablyonjs/core 6.24.0) with ScenePerformancePriority.Aggressive where the entire scene fails to render (without any provided errors) after dispose() is called on any mesh. Up…

[Next page](https://forum.babylonjs.com/tag/scene/191.md?match_all_tags=true&page=1&tags%5B%5D=scene)
