This recipe will help you create a WebXR project. To do this, you'll need the following:
- A VR headset with the Firefox Reality browser installed. You can find the Firefox Reality browser here: https://labs.mozilla.org/projects/firefox-reality.
- To "host" the generated folder and HTML pages on the internet, you'll need access to a web server. In the There's more... section, you will learn how to do this for free with GitHub Pages.
- WebXR is built on top of WebGL, so you need to ensure the version of Unity you are using can build to a WebGL target platform. This can all be installed using the Installs section of the Unity Hub application. The following is a screenshot of the Unity Hub screen where you can add modules to a Unity Editor version:

Figure 15.37 – Unity Hub WebGL Build Support for the selected Unity Editor