For the complete documentation index, see llms.txt. This page is also available as Markdown.

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 Preview 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.



Configure different preview options from the dropdown menu next to the Preview button:

  • Preview with: Choose between Desktop Client (the default Decentraland Explorer) and Bevy (Web), which opens the preview in your browser using the Bevy Web client. The Bevy Web option is equivalent to the --web CLI flag.

  • Open Console Window During Preview: Opens a new window with the console output of the scene. This is useful to debug errors in the scene.

  • Skip Auth Screen: Skips the account selection screen and automatically logs you in with your currently logged in account. This is disabled by default, enable it if you want to test multiple accounts.

  • Landscape Terrain Enabled: Toggles the landscape around the scene. This is enabled by default, disable it to lower the scene's memory footprint.

  • 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's SDK version supports it. See Vibe Coding with AI for the full workflow.

  • Optimize 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 available with the Desktop Client (not Bevy Web).

  • 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. See Preview on mobile for details.

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:

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.

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.

  • -- --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.

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.

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, click the Preview button a second time, and that opens 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

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:

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:

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.

Last updated