{"id":13318282,"url":"https://github.com/rodydavis/unity-webxr","last_synced_at":"2026-05-10T09:36:36.014Z","repository":{"id":101928916,"uuid":"259173457","full_name":"rodydavis/unity-webxr","owner":"rodydavis","description":"Unity WebXR Samples","archived":false,"fork":false,"pushed_at":"2020-04-27T01:31:52.000Z","size":100712,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T22:40:43.430Z","etag":null,"topics":["oculus","unity","webassembly","webxr","webxr-boilerplate"],"latest_commit_sha":null,"homepage":"https://rodydavis.github.io/unity-webxr/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rodydavis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-27T01:30:29.000Z","updated_at":"2025-02-04T00:03:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"5c6baf60-e131-4a22-b912-f94fd63e961c","html_url":"https://github.com/rodydavis/unity-webxr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodydavis%2Funity-webxr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodydavis%2Funity-webxr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodydavis%2Funity-webxr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodydavis%2Funity-webxr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodydavis","download_url":"https://codeload.github.com/rodydavis/unity-webxr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246068279,"owners_count":20718503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["oculus","unity","webassembly","webxr","webxr-boilerplate"],"created_at":"2024-07-29T18:29:55.923Z","updated_at":"2026-05-10T09:36:30.970Z","avatar_url":"https://github.com/rodydavis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unity WebXR Exporter\n\nAssets for creating [WebXR](https://developer.mozilla.com/topics/mixed-reality/)-enabled [Unity3D](https://unity.com/) projects.\n\n**[Check out the demo now!](https://mixedreality.mozilla.org/unity-webxr-export/)**\u003cbr\u003e\n[Read our blog post (March 2020 - WebXR Update).](https://blog.mozvr.com/unity-webxr-exporter-update/)\n[Read our blog post (February 2018).](https://hacks.mozilla.org/2018/02/create-vr-on-the-web-using-unity3d/)\n\n[![Preview of Unity WebXR-exported project in the browser](https://raw.githubusercontent.com/mozillareality/unity-webxr-export/master/img/webxr-small.gif)](https://mozillareality.github.io/unity-webxr-export/)\n\n**[Free to download](https://assetstore.unity.com/packages/templates/systems/webxr-exporter-109152)** and available now on the [Unity Asset Store](https://assetstore.unity.com/packages/templates/systems/webxr-exporter-109152).\n\n\u003ca href=\"https://assetstore.unity.com/packages/templates/systems/webxr-exporter-109152\" title=\"Download the WebXR Assets package for free on the Unity Asset Store\"\u003e\n\u003c/a\u003e\n\n\u003chr\u003e\n\n## Getting started\n\n* [Setting up a Unity project for WebXR](./docs/project-setup.md)\n* [Controllers and input system](./docs/controllers.md)\n* [In-editor VR playback for rapid testing](./docs/xr-testing.md)\n* [Publishing](./docs/publishing.md)\n* [Adding Google Analytics to your game](./docs/customization/adding-ga.md)\n* [Troubleshooting and FAQ](./docs/troubleshooting-faq.md)\n\n## Need help?\n\n* [Join the WebVR Slack](https://webvr-slack.herokuapp.com/) (join the [#unity channel](https://webvr.slack.com/messages/unity))\n\n## Compatibility\n\n### Unity editor version\n\n* `2018.4` and newer.\n\n### Browser Compatibility\n\nWebXR has limited support at time of writing. See compatibility at [caniuse](https://caniuse.com/#feat=webxr) or on [MDN](https://developer.mozilla.org/en-US/docs/Web/API/WebXR_Device_API)\n\nA special build of Firefox, [Fiefox Reality](https://mixedreality.mozilla.org/firefox-reality/), has built-in support for WebXR.\n\nThe polyfill will fall back to the old WebVR API if it is available.\n\n| Platform | Browser | Compatible headsets | Notes |\n| --- | --- | --- | --- |\n| Desktop | Firefox | HTC VIVE, Oculus Rift, Windows Mixed Reality headsets (using Steam VR) | [Setup instructions](https://webvr.rocks/firefox) |\n| Desktop | Microsoft Edge | Windows Mixed Reality headsets | [Setup instructions](https://webvr.rocks/microsoft_edge) |\n| Desktop | Chrome Canary | HTC VIVE, Oculus Rift, Windows Mixed Reality headsets | Browser flags required. [Setup instructions](https://webvr.rocks/chrome) |\n| Mobile | Oculus Browser | Oculus Quest |\n| Mobile | Firefox Reality | Oculus Quest |\n\n### Polyfilled WebXR\n\nIf the user does not have supported headset, browser or device, the content will still work through the use of the [WebXR Polyfill](https://github.com/immersive-web/webxr-polyfill).\n\n### Mobile support\n\nThis asset works by utilizing Unity's WebGL platform support and therefore shares the same limitations. Because of this, mobile support is limited and may not work. See [Unity's WebGL browser compatibility](https://docs.unity3d.com/Manual/webgl-browsercompatibility.html).\n\n### Version History and Notes\n\n* [See all releases](https://github.com/mozilla/unity-webvr-export/releases)\n\n\n## Contributing\n\nContributions from the developer community are very important to us. You're encouraged to [open an issue](https://github.com/mozilla/unity-webvr-export/issues/new), report a problem, contribute with code, open a feature request, share your work or ask a question.\n\nTake a look at the contributor guides too.\n\n* [Building the Unity Assets Package](./docs/build.md)\n\n\n## We want to hear from you!\n\nWe’d love to hear about what you come up with using the _WebXR Assets_. **Share your work with us** and use the [#unitywebvr](https://twitter.com/search?f=tweets\u0026q=%23unitywebvr) Twitter hashtag.\n\nThe Unity WebXR Assets is an open-source project (licensed under Apache 2) [available on GitHub](https://github.com/mozilla/unity-webvr-export).\n\n* [View known issues](https://github.com/mozilla/unity-webvr-export/issues)\n* [File an issue or feature request](https://github.com/mozilla/unity-webvr-export/issues/new)\n* [Contribute code or documentation to the project](https://github.com/mozilla/unity-webvr-export#contributing)\n\nReach out to us with any questions you may have or help you may need, and participate in the discussions on the [WebVR Slack](https://webvr-slack.herokuapp.com/) in the [#unity channel](https://webvr.slack.com/messages/unity).\n\n* [Join the WebVR Slack](https://webvr-slack.herokuapp.com/) (join the [#unity channel](https://webvr.slack.com/messages/unity))\n\n\n## Developer Privacy Notice for Data Collection\n\n_Last updated: March 2018_\n\nTo help improve the [WebVR API](https://immersive-web.github.io/webvr/spec/1.1/) and the [Unity WebVR Assets](https://assetstore.unity.com/packages/templates/systems/webvr-assets-109152) package, each time a web page built using the [WebVR Assets](https://assetstore.unity.com/packages/templates/systems/webvr-assets-109152) is loaded, Mozilla automatically receives general-usage statistics and uncaught JavaScript errors encountered by end-users, using [Google Analytics](https://analytics.google.com/analytics/web/) and [Sentry](https://sentry.io), respectively. [The *complete list of collected data*](https://github.com/mozilla/unity-webvr-export/blob/master/TELEMETRY.md#list-of-collected-data) includes metrics for counting the number of unique web-page sessions; time for web pages to load and time open; JavaScript error exceptions occurred on the page; the number of times a VR device is mounted and worn; number of times VR mode is enabled and time spent; and a random identifier.\n\nYou as a developer can turn off this data collection by [modifying the configuration snippet that comes with the VR template](https://github.com/mozilla/unity-webvr-export/blob/master/docs/customization/disabling-telemetry.md). It is your obligation to inform your end-users of this data collection and to inform them that it can be turned off by [enabling “Do-Not-Track”](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DNT) in their browsers.\n\n\n## Credits\n\nThis project was heavily influenced by early explorations in using Unity to build for WebVR by [@gtk2k](https://github.com/gtk2k), [Chris Miller (@chrmi)](https://github.com/chrmi) and [Anthony Palma](https://twitter.com/anthonyrpalma).\n\nAlso, thanks to [Arturo Paracuellos (@arturitu)](https://github.com/arturitu) for creating the [3D-hand models](https://github.com/aframevr/assets/tree/gh-pages/controllers/hands) used for controllers in these examples.\n\n## License\n\nCopyright 2017 - 2020 Mozilla Corporation\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodydavis%2Funity-webxr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodydavis%2Funity-webxr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodydavis%2Funity-webxr/lists"}