Preview Your Scene

What you can see in a scene's preview

Once you have built a new scene or downloaded a scene example you can preview it locally.

Using the Scene Editor in Creator Hub

Make sure you've installed the Creator Hub.

  1. Open your scene project.
  2. Click the Play button on the top-right corner. This will open a new window with the Decentraland Desktop Explorer, running just your scene. There you can move around the scene and interact with interactive items.

Choose where to preview

Click the arrow next to the Play button to open the Play Options menu. The main panel is where you pick what runs your scene:

  • Desktop Client: Opens the preview in the Decentraland Desktop Explorer. This is the default.
  • Web (Bevy): Opens the preview in your browser, using the Bevy Web client. Equivalent to the --web CLI flag.
  • Show QR Code for Mobile: Displays a QR code that opens your scene preview in the Decentraland mobile app. Scan the code with a phone on the same Wi-Fi network as your computer. Click the dark area around the popup to close it. See Preview on mobile for details.

Desktop Client options

Select Desktop Client in the Play Options menu, then hover over it to open a submenu with the settings that only affect the desktop client:

  • Enable Landscape Terrains: Toggles the landscape around the scene. This is enabled by default, disable it to lower the scene's memory footprint. It's greyed out when the scene's own settings already hide the terrain.
  • Multi-Instance Preview: Lets several Explorer windows run at the same time, so you can test a multiplayer scene locally. With this on, each window asks you to sign in, so you can connect as a different player in each one. Only visible when your project uses SDK 7.20.4 or later.
  • Enable MCP Server: Launches the Explorer with the MCP automation server enabled, so AI agents can see and control the running preview. Only visible when your project uses SDK 7.25.0 or later. See Vibe Coding with AI for the full workflow.
  • Compress Assets: Previews the scene with locally generated asset bundles, matching how it renders in production after asset bundle conversion. The first run converts all assets, which can take several minutes on large scenes. Only visible when your platform and your project's SDK version support it. See Preview with optimized assets.

The scene's console output doesn't need a menu option. The Creator Hub opens it for you every time you run a preview. See The Creator Hub console.

Tip: You can also preview your scene directly on the Decentraland mobile app. Use the Show QR Code for Mobile option in Creator Hub, or run npm run start -- --mobile from the CLI. See Preview on mobile for details.

Using the CLI

To preview a scene run the following command on the scene's main folder:

npm run start

Any dependencies that are missing are installed and then the CLI creates a local web server in your system and launches the scene in the Decentraland Desktop client via a decentraland:// deeplink. The Desktop client is the default preview target.

To preview in a browser tab instead, add -- --web (or -- --bevy-web) to open the scene in the Bevy Web client at decentraland.org/bevy-web/.

Every time you make changes to the scene, the preview reloads and updates automatically, so there's no need to run the command again.

πŸ“” Note: Some scenes depend on communicating with an external server to carry out custom logic or store and retrieve data. When previewing one of these scenes, you'll likely have to also run the server locally on another port. Check the scene's readme for instructions on how to launch the server as well as the scene.

Parameters of the preview command

You can add the following flags to the npm run start command to change its behavior:

  • -- --web (alias -- --bevy-web) Opens the preview in the Bevy Web browser client at decentraland.org/bevy-web/ instead of the Desktop Explorer. Chromium-based browsers (Chrome 142+) require the Local Network Access permission for the hosted page to reach your local preview server β€” when the browser asks to access apps on your device, click "Allow".
  • -- --mobile (alias -- -m) Shows a QR code in the terminal that opens your scene in the Decentraland mobile app on a phone connected to the same Wi-Fi network. See Preview on mobile.
  • -- --skip-build Skip build and only serve the files in preview mode.
  • -- --port (alias -- -p) to assign a specific port to run the scene. Otherwise it will use whatever port is available.
  • -- --no-browser (alias -- -b) to prevent the preview from opening a new browser tab.
  • -- -w or -- --no-watch to not watch for filesystem changes and avoid hot-reload whenever the scene's code changes.
  • -- --ci To run the parcel previewer on a remote unix server.
  • -- --multi-instance Allow running multiple Explorer instances simultaneously.
  • -- --asset-bundles Preview with optimized asset bundles. The Desktop Explorer converts the scene's assets into asset bundles itself during preview, matching how the scene renders in production. Equivalent to the Compress Assets option in Creator Hub. Only available with the Desktop Client (not the Bevy Web client). See Preview with optimized assets.
  • -- --no-client Suppress every auto-launch (desktop Explorer deeplink, browser open, mobile QR). The file watcher still notifies a desktop Explorer if it connects on its own. Useful when an external tool owns the Explorer process.
  • -- --mcp Enable the MCP server in the Explorer (forwarded as a deep link parameter).
  • -- --mcp-port Port for the MCP server in the Explorer (forwarded as a deep link parameter). For example: npm run start -- --mcp --mcp-port 3001.

πŸ“” Note: Parameters need to be added with two series of dashes, for example npm run start -- --web3.

Preview with optimized assets

When you publish a scene, the Decentraland servers convert all of its 3D models to asset bundles, an optimized format that is much lighter to load and render. See Asset bundle conversion. By default, local previews skip this step and load the raw models instead.

Enable optimized assets to run this same conversion locally when you preview your scene. This has two benefits:

  • The preview loads faster and runs smoother, especially on scenes with heavy 3D models.
  • You see the models exactly as players will see them after publishing, so you can catch any issues with the asset compression before you publish.

This option only affects your local preview. The published scene is always converted on the servers, whether you use this option or not.

To enable it:

  • In the Creator Hub: open Play Options next to the Play button, hover over Desktop Client, and check Compress Assets.
  • From the CLI: run npm run start -- --asset-bundles.

With this option enabled, the Decentraland explorer converts the scene's 3D models to asset bundles on your machine before loading them. The conversion is near instant for most scenes, but the first preview can take longer if the scene has very heavy assets. Converted models are cached, so on later previews only new or modified assets need to be converted.

πŸ’‘ Tip: If the conversion of an asset fails for any reason, the preview falls back to loading the raw 3D models, just like a regular preview.

Upload a scene to decentraland

Once you're happy with your scene, you can upload it and publish it to Decentraland. For this you must own LAND, a Decentraland NAME, or an ETH ENS name, or have permissions given by someone that does. See publishing for instructions on how to do that.

Preview scene size

The scene size shown in the preview is based on the scene's configuration.

Edit this on the second tab of the scene menu in the Scene Editor.

Use the dropdowns and click Apply Layout to change the dimensions of your scene. You can also click each individual parcel to toggle it off from your layout.

You can also edit the scene.json file to list multiple parcels in the "parcels" field. See set parcels via the command line for more details.

πŸ’‘ Tip: While running the preview, the parcel coordinates don't need to match those that your scene will really use, as long as they're adjacent and are arranged into the same shape. You will have to replace these with the actual coordinates later when you deploy the scene.

View the scene console

Open the console by clicking the icon on the top-right corner. Here you can see any error messages, and also any text that your scene prints to the console via console.log().

You can also open it by pressing the ` key on your keyboard. You can also press Shift + ` to open the console even wider, in case you need to view more text.

The Creator Hub console

The Creator Hub shows the same output without leaving the editor, and it does so by default. Run a preview and a CONSOLE tab appears next to FILE SYSTEM and ASSET PACKS in the panel at the bottom of the editor.

To stop the console from opening, uncheck Open Debug Console under Play Options on the EDITOR tab of the Creator Hub settings.

To move the console out of the way, click the pop-out icon in its header, labeled Open console in a separate window. The console opens as its own window titled Console, which you can move to a second monitor and keep visible while you edit.

The separate window has a Clear console button, and a Dock back in the editor button that returns the console to the bottom panel. Meanwhile the CONSOLE tab in the editor reads Console opened in a separate window and offers a Dock back here button that does the same thing.

πŸ’‘ Tip: The console keeps collecting output while it's detached, so docking it back doesn't lose anything. When no preview is running it reads Run a scene to see debug output.

Test a multiplayer scene locally

If you launch a scene preview and open it in two (or more) different explorer windows, each open window will be interpreted as a separate player, and a mock communications server will keep these players in sync.

Interact with the scene on one window, then switch to the other to see that the effects of that interaction are also visible there.

Using the Creator Hub, turn on Multi-Instance Preview in the Desktop Client submenu of Play Options, then click the Play button a second time to open a second Decentraland explorer window. You must connect on both windows with different addresses. The same sessions will remain open as the scene reloads.

As an alternative, you can open a second Decentraland explorer window by writing the following into a browser URL:

decentraland://realm=http://127.0.0.1:8000&local-scene=true&debug=true&multi-instance=true

Advanced: Fast iteration with remote asset bundles

πŸ’‘ Tip: For most scenes, the simplest way to preview with asset bundles is to enable optimized assets, which converts your models locally and always reflects their latest version. The mode below is an alternative that reuses the bundles already published on the servers.

For heavy scenes with many 3D models, you can speed up scene loading and reloading by reusing the asset bundles that are already published on Decentraland's servers, instead of loading the raw unoptimized 3D models. This is especially useful when iterating on code-only changes.

To enable this mode, launch the Decentraland Desktop client with the following arguments:

npm run start -- --realm http://127.0.0.1:8000/ --position 0,0 --local-scene true --debug --skip-version-check true --lsd-use-remote-ab <ab-source>

The <ab-source> argument changes depending on where the scene is already published:

  • In Genesis City: --lsd-remote-ab-server Genesis
  • In a World: --lsd-remote-ab-world <world-name>.dcl.eth

For example, to preview a local copy of a scene that's already deployed to a World:

npm run start -- --realm http://127.0.0.1:8000/ --position 0,0 --local-scene true --debug --skip-version-check true --lsd-use-remote-ab --lsd-remote-ab-world myworld.dcl.eth

In both cases, --realm http://127.0.0.1:8000/ points the client at your local preview server (run npm run start first to start it), and --local-scene true tells the client to load the scene's code from there.

πŸ“” Important: When using this mode, it's recommended that all of its art are already published, with their asset bundles fully processed by the content servers. If you've added any new assets, you'll miss out on the optimized loading as they will be loaded as raw gltf files, as happens when you normally run a preview. But if you locally modified an asset that was already published, maintaining the same file name, then you'll be seeing the old published version of that asset.

In that case, redeploy the scene first, wait a few minutes for the asset bundles to be generated (see Asset bundle conversion), and then resume using this mode for code-only iteration.