WebVR Engine
documentation
Build a scene, publish it as a website, and open the same link on a desktop or VR headset.
Quick start
- Open the editor. Choose Projects → Demo room under Start from a template, then confirm. Save your current project first if you want to keep it.
- Select an object in Hierarchy and change its position or colour in the Inspector. To add something, choose Shapes → Box from the left toolbar.
- Click Play in the viewport. On desktop, drag to look, use WASD to move and click hotspots to try them. Click Stop or press Esc to return to editing.
- Use Save or Save as to keep a
.webvrenginebackup. Then follow the publishing steps to try it on a headset.
Publish a website
- In the editor, select Publish → Download site (zip). Read the result in the Publish window for any missing assets or library download errors.
- Unzip the export. Upload the extracted contents to an HTTPS static host so that its
index.htmlis the entry point. Keep the folders together, includingsrc/,scenes/, and any bundled assets and libraries. Keepweb.configif you serve the files through IIS. - Open the published HTTPS URL on desktop first. If a start screen appears, choose Play now or download the experience when prompted. Check that your starting scene, models, and interactions work.
- Share that same HTTPS link with the people who will play it, or open it in your headset browser.
.webvrengine file so you can return to editing. To update the site, export it again and deploy the new extracted files to the same host.Play on a headset
- Open the headset's WebXR-capable browser, such as Meta Quest Browser. Visit the WebVR Engine headset check to test your browser and try a tiny VR scene.
- Open your published HTTPS link while wearing the headset. On the start screen, choose Play now or wait for the download to finish.
- Choose Enter VR in the player and accept the browser's prompt if one appears. Try the controls configured for your scene, then check your spawn point, movement, and a few interactions.
Prepare for limited Wi-Fi
Before exporting, open System → Publishing: offline → Offline play. Choose whether visitors can play immediately or download, must download first, or play online only. Build the ZIP while connected so the editor can bundle the player libraries.
For an event, download the published experience on each headset in advance. Disconnect Wi-Fi and reopen the same address to confirm that it plays on that device.
Editor and projects
- Viewport
- Frame your scene with orbit, pan, and zoom. Use the Move, Rotate, and Scale tools to place selected objects.
- Hierarchy
- Select, rename, reorder, and group objects. Select Camera rig to set where players start and how they move.
- Inspector
- Edit a selected object's transform, appearance, actions, and modifiers. Use Lighting and System for scene settings.
- Project assets
- Use the Project panel to organise assets. For models, use Models and groups → Import a model… to import GLB, FBX, or OBJ. For OBJ materials, include the MTL file and any textures the model uses when you import it.
- Multiple scenes
- Use New scene in the top toolbar to create another scene. Use the scene selector to switch scenes and choose which one opens first.
Save and reopen a project
The editor keeps working data in the current browser on the current site. Use Save as to make a portable backup that includes scenes and project assets. To restore it on another device or domain, open Projects → Open a project file… and select the backup. Opening a full project replaces what is currently open, including the Project panel assets.
Interactables and features
Add objects from the left toolbar or the + beside Hierarchy. Presets give you a starting point. Select one in the scene and use the Inspector to see which actions or modifiers it uses.
- Things to hold
- Interactables includes a grabbable object and a torch. Grip and hand-pose settings let you adjust how an item sits in a player's hand.
- Triggers and movement
- A Trigger zone runs actions when a player enters or leaves. A Snap zone accepts a grabbed object and can run actions when it snaps into place. A Teleport point sets the arrival position and facing direction.
- Physical controls
- Under Triggers and controls you'll find push and toggle buttons, switches, levers, dials, a wheel, a pull cord, a slider, and a plug and socket. Use their events to connect a player's input to something in the scene.
- Interface and feedback
- Use UI panels for text and buttons, Hotspots for information in the world, and Sound for audio. Haptics can provide feedback on supported controllers.
- Game logic
- Modifiers cover variables, timers, health, collectables, checkpoints, spawners, and HUD elements. Try Gem hunt to see scoring in play, or open Variables test room from Projects to inspect an example.
- Physics and layout
- Add collision blockers and walkable areas to shape player movement. Physics modifiers control how supported objects move and collide.
- Motion and atmosphere
- Use a Spline with a Spline follow modifier to move objects along a path. Add lights, fog, particles, water, or floating objects to give a scene atmosphere. Try Spline ride for a working example.
Build a scene portal
- Make two scenes. Switch to the starting scene and add a visible doorway using shapes or a model.
- Choose Triggers and controls → Trigger zone. Place the zone in the doorway, then adjust its size in the Inspector so the player can walk through it.
- Under When someone walks in, add an action and select Go to another scene. Choose the destination scene.
- Set a clear spawn point in the destination. Return to your starting scene, press Play, and walk through the doorway. Save the project once both scenes work.
The zone itself is invisible in Play. For a working example, open Projects → Portal tour (moving between scenes) and inspect the doorways in Hierarchy.
Troubleshooting
The headset says VR is unavailable
Open the published HTTPS URL in the headset's own browser. Run the headset check to verify that the browser supports immersive WebXR.
A model works in the editor but is missing on the published site
Check whether Publish reported missing files. Verify that the exported asset was uploaded to the same relative path and that the host serves it. On IIS, keep the exported web.config for the included file-type mappings.
The site does not offer an offline download
Check the scene's Offline play setting, and see whether Publish fetched and bundled the libraries. Export again while connected and redeploy the contents.
My project is missing on a different device or URL
Browser storage is tied to the browser profile and site address. Open the old editor in the original browser if you still have access, use Save as, then import the resulting .webvrengine file into the new editor.