Exporting for Web

To export your experience as a Web app, follow the procedure corresponding to your version of Unity.

Settings for Unity 6

  • From the Unity editor's menu bar, go to Zoe > Build Target Window.

  • Click on Switch build target to Web. Wait a moment for the process to complete.

  • Make sure that Enable Desktop Camera Control is checked in the inspector of your interactive camera(s) (Interaction Rig).

What was modified?

When switching the build target to Web, Zoe for Unity automatically modifies several project settings in the background. If you want to double check or are curious, here are the settings that are modified:

The steps described below are not needed and should be automatically set up when switching the build profile to Web.

  • Open File > Build Profiles.

  • From the Build Profiles window, click on Player Settings.

  • Select Player from the sidebar.

  • From the Web tab (symbolized by a world globe), expand Publishing Settings.

    • Compression Format is set to Gzip.

    • Data Caching is unchecked.

  • Select XR Plug-in Management from the sidebar, then the Web tab (symbolized by a world globe).

    • Initialize XR on Startup is unchecked.

Exporting for Web

This process covers all versions of Unity.

  • In File > Build Profiles (or Build Settings), make sure all necessary scene(s) of your experience are selected in the Scene List.

  • Hit Build.

  • Name your build, select a folder for it to be exported to, then click Save.

It will take a few minutes for your build to export. Once done, your exported files will automatically open in a new window.

Playing your Experience

Once you've exported a build for web, it's time to play it.

  • Select your build and compress it as a .zip file (Windows: right-click on folder, Compress to... > ZIP File / macOS: right-click on folder, Compress "[Build name]").

Make sure to compress the root folder of your build and not a subfolder. The root folder is the one you named when exporting, and it always contains an index.html file.

  • Log into your Unity account, then click on the Upload icon on the right side of the menu bar.

  • Select your build's ZIP file or simply drag and drop it into the Upload section.

  • Fill in the Title and Description fields, then hit Save.

If your build's visibility is set to Public, you'll be able to share it with anyone via an url address.

  • Hit the Play button to launch your experience!

Last updated