Decentraland lets you test scenes locally before publishing them to LAND or Worlds
Decentraland lets you run a scene locally to inspect its layout and interactions before publishing the scene. Creator Hub and the software development kit (SDK 7) support previews without requiring LAND ownership or an Ethereum transaction. A local preview uses project files on your computer; publishing uploads content to a chosen destination. Deployment on LAND requires deployment rights for the target parcels, while Worlds use separate name-based authorization. Rendering, multiplayer behavior, and external services need testing in their relevant environments.
An optimized desktop preview can reveal model-conversion problems before the scene reaches a published environment.
Configured parcels and upload limits
Genesis City allows 15 MB of uploaded content per parcel, up to 300 MB for a scene. The parcel arrangement also defines the footprint that the scene can occupy. Creator Hub displays resource usage against the limits associated with that layout. File-size and file-count limits can block deployment, while geometry and rendering budgets generally produce warnings. A scene that runs in preview can therefore still exceed its publishing allowance.
The upload total includes deployed models and audio, excluding development dependencies that remain on your computer. Preview also marks content outside the configured parcel boundaries; public rendering clips geometry that crosses them. Assess the scene within its intended footprint before spending time polishing an overhanging structure. Adding more detail changes resource demand even when the occupied layout stays the same.
Creator Hub and command-line previews
Creator Hub combines visual scene editing with a Preview control that opens the Desktop Explorer by default. Asset placement and custom TypeScript behavior become part of the running scene, where an avatar can explore them. The command-line route requires Node.js 20 or later. The default desktop preview also requires the Desktop Explorer installed. Command-line testing starts with
npm run start
from the scene project folder. The CLI creates a local server and launches the desktop client. The Scene Editor runs the same command-line operations behind its controls, so both interfaces support local compilation and preview. For a browser preview, allow Local Network Access when prompted in Chromium-based browsers such as Chrome 142 or later. The command
npm run start -- --web
selects the Bevy Web client.
Saved edits normally reload the running preview automatically. This makes iteration possible without repeatedly closing the client, although it does not replace testing the specific interactions that changed.
What does a successful local preview prove?
A successful local preview shows that the scene runs in the selected client with the dependencies available during that test. It does not establish publishing rights or reproduce every condition of a public visit.
A clear route through a draft scene
A hypothetical LAND scene has a connected parcel layout, with publishing permission still pending. The layout test asks whether an avatar can reach the intended endpoint without an obstruction.
Local testing uses the draft project and its configured layout. Temporary parcel coordinates can stand in for the intended site while retaining its adjacency and shape. In this example, the avatar reaches the endpoint in preview, supporting the layout choice before publishing permission arrives.
The walk-through answers the layout question for that client and configuration. Publication still requires the actual target coordinates and an authorized deployment. Changing the footprint or adding collision geometry would require another check of the route.
Console errors and rendering diagnostics
An empty preview can indicate a compilation failure, so inspect compiler output before assuming that a model disappeared. Errors may appear in the code editor, the scene console, or the output that launched the preview. The scene console also displays messages that the program writes with
console.log(). Those messages help distinguish a code path that never executes from an asset that fails to render. Logging should identify the relevant state or operation; repeated unrelated output makes a specific failure harder to follow.
The desktop debug panel reports memory use and frame rate. These measurements describe the running client, and frame rate varies with the hardware rendering the scene.
Brief loading pauses can remain noticeable even when average frame rate looks acceptable. Memory demand can also increase after publication because neighboring scenes and other avatars share the client. Texture reuse and lighter models reduce asset demands, while event-driven logic can reduce unnecessary recurring checks. Meeting an upload allowance alone does not establish smooth performance.
Asset conversion and client-specific behavior
Publishing converts the scene's glTF and GLB models into optimized asset bundles. Raw-model previews skip that conversion, leaving possible compression and rendering differences outside the initial test.
Desktop model conversion
Locally optimized assets
The Optimize Assets option, or
npm run start -- --local-ab, generates bundles locally for desktop preview. The option is unavailable for Bevy Web. Converted models are cached, so later previews process new or modified assets. A failed local conversion can fall back to the raw model. Seeing that model appear therefore does not, by itself, demonstrate that its optimized bundle succeeded.
Reused published bundles
An advanced desktop preview can reuse bundles from an existing publication for code-only iteration. A locally modified model that retains its published filename can appear as the older published version in this mode. Locally generated bundles are more suitable for assessing changed model files because the conversion uses the development copy.
Mobile controls and screen layout
The mobile app can load a scene through a preview QR code when it shares the computer's local network. Draco-compressed glTF or GLB models load on mobile only after asset optimization; exporting without Draco compression avoids that requirement. The command
npm run start -- --mobile
generates that code. Touch handling, interface sizing, and performance need examination on the phone itself. Mobile preview also reloads after scene edits, without requiring another scan for every change.
Shared interactions and external services
Local multiplayer testing uses separate Explorer instances with different addresses and a mock communications server that synchronizes them. Shared effects still depend on the scene's synchronization logic; opening another window does not automatically make a private interface change visible to everyone. Account-dependent behavior also needs appropriate player data, including equipped wearables when the scene reads them.
External backends remain separate from the preview server. A scene that stores data or runs custom logic on another service needs that service available during testing. Local development may require running the backend on another port. A locally rendered scene can still send requests to external services, so local preview does not mean every operation stays on the computer. Request inspection can reveal the data that the scene sends and receives.
Can a tested scene be published without LAND?
Yes, you can publish a tested scene to a World when the signing account has the required authorization for its Decentraland NAME or ENS domain. The destination determines the applicable deployment permissions and storage limits.
Publishing to LAND requires deployment rights for every target parcel. Owners and authorized operators can deploy on unrented LAND; the tenant selects the operator for rented LAND. Preview configuration grants no deployment rights. A World and a Genesis City location also have different upload allowances, so a test publication does not establish eligibility for another destination.
Earlier publishing instructions required main-network parcel permissions for the shared test Catalyst server; its status endpoint reports that services are healthy and the server is accepting users. Custom servers can apply different deployment validation. Content on that test server was accessible to people who connected there, so it was not confidential storage.
Authorization precedes content distribution and model conversion. Public clients may temporarily display an earlier scene version while the update propagates or model conversion remains incomplete. Check the deployed version in its destination before relying on it for a live event; the local preview cannot confirm that distribution has finished.
Decentraland: questions and answers
How can private project files stay out of a deployment?
The.dclignore file in the project excludes selected files and folders from a scene upload. Inspect the upload list before authorizing publication, especially when the project contains development notes or unrelated assets. Ignore rules do not protect values embedded in compiled scene code. Content delivered to visitors should contain only information intended for publication.
Does the preview catch every TypeScript error?
The preview runs less rigorous type checks than a full build. Running npm run build can reveal errors that npm run start did not report. Deployment normally runs the build step too, unless that step is explicitly skipped. The project can run locally while failing its deployment build.
What prevents a phone from opening the scene preview QR code?
The phone must have the Decentraland app installed and be able to reach the development computer on the same local network. Some Wi-Fi networks isolate devices even when they share a network name. If the app does not open, confirm that it has been launched at least once. Network isolation may require a different network or a personal hotspot.
When is an offline scene preview possible?
Local development can work offline when the required tools, dependencies, and assets are already available on the computer. Features that contact remote services still need those services to be reachable. Initial dependency installation and downloading missing assets require connectivity. Offline testing of self-contained scene behavior does not require publishing the scene or making an Ethereum transaction.
Why is a code-created object missing from the Scene Editor?
Entities created in index.ts can appear in the running preview without appearing in the Scene Editor canvas or entity tree. Their absence from the editor alone does not indicate a broken scene. Examine the running preview to assess those runtime objects.
Is a material mismatch always caused by broken scene code?
Materials can look different in the Explorer because rendering engines handle lighting and materials differently. The in-world time of day also changes illumination and shadows. Examine the model under relevant lighting conditions before treating its appearance as a programming fault. Model-conversion differences are another separate concern, so a visually incorrect surface does not identify its cause on its own.