{"id":15146746,"url":"https://github.com/de-panther/unity-webxr-export","last_synced_at":"2025-05-14T19:03:07.930Z","repository":{"id":37705998,"uuid":"240619834","full_name":"De-Panther/unity-webxr-export","owner":"De-Panther","description":"Develop and export WebXR experiences using Unity WebGL","archived":false,"fork":false,"pushed_at":"2025-02-25T21:44:20.000Z","size":712699,"stargazers_count":1110,"open_issues_count":37,"forks_count":117,"subscribers_count":42,"default_branch":"master","last_synced_at":"2025-04-06T09:02:41.191Z","etag":null,"topics":["augmented-reality","csharp","javascript","mixed-reality","mixed-reality-capture","unity","unity-webxr-exporter","unity3d","virtual-reality","webar","webassembly","webgl","webvr","webxr","webxr-unity","xr"],"latest_commit_sha":null,"homepage":"https://de-panther.github.io/unity-webxr-export/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/De-Panther.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"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},"funding":{"github":"De-Panther"}},"created_at":"2020-02-15T00:05:34.000Z","updated_at":"2025-04-01T15:42:19.000Z","dependencies_parsed_at":"2024-01-02T10:28:15.063Z","dependency_job_id":"498effc7-139b-4eaf-9f65-8ab60ca8108b","html_url":"https://github.com/De-Panther/unity-webxr-export","commit_stats":null,"previous_names":[],"tags_count":59,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/De-Panther%2Funity-webxr-export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/De-Panther%2Funity-webxr-export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/De-Panther%2Funity-webxr-export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/De-Panther%2Funity-webxr-export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/De-Panther","download_url":"https://codeload.github.com/De-Panther/unity-webxr-export/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248717240,"owners_count":21150387,"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":["augmented-reality","csharp","javascript","mixed-reality","mixed-reality-capture","unity","unity-webxr-exporter","unity3d","virtual-reality","webar","webassembly","webgl","webvr","webxr","webxr-unity","xr"],"created_at":"2024-09-26T12:04:21.499Z","updated_at":"2025-04-13T12:46:06.611Z","avatar_url":"https://github.com/De-Panther.png","language":"JavaScript","funding_links":["https://github.com/sponsors/De-Panther"],"categories":[],"sub_categories":[],"readme":"# [WebXR Export](https://github.com/De-Panther/unity-webxr-export/)\n\nYou can [check the live demo here](https://de-panther.github.io/unity-webxr-export/Build).\n\nOr the [XR Interaction Toolkit demo here](https://de-panther.github.io/unity-webxr-export/XRInteractionToolkitDemo).\n\nDevelop and export WebXR experiences using the [Unity Engine](https://unity.com/).\n\nWebXR Export supports both Augmented Reality and Virtual Reality [WebXR API](https://www.w3.org/TR/webxr/) immersive sessions.\n\nIt integrates the WebXR JavaScript API to [Unity WebGL](https://docs.unity3d.com/Manual/webgl.html) and lets you develop experiences in the familiar editor using C#.\n\n[⭐Star to show interest⭐](https://github.com/De-Panther/unity-webxr-export/stargazers)\n\n[❤Sponsor to support the development❤](https://github.com/sponsors/De-Panther)\n\n![Demo](/Documentation/webxr-input-profiles.gif)\n\n\u003chr\u003e\n\n## 💾 Downloads\n\nBetter option: Import WebXR Export and WebXR Interactions packages from OpenUPM.\n- [WebXR Export ![openupm](https://img.shields.io/npm/v/com.de-panther.webxr?label=openupm\u0026registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.de-panther.webxr/)\n- [WebXR Interactions ![openupm](https://img.shields.io/npm/v/com.de-panther.webxr-interactions?label=openupm\u0026registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.de-panther.webxr-interactions/)\n\nOr import the packages from git, more info at [WebXR Export](Packages/webxr/README.md) and [WebXR Interactions](Packages/webxr-interactions/README.md).\n\n## 📄 Documentation\n\nFor more info on getting started and how to use WebXR Export, you can check the [Documentation](Documentation) folder.\n\n## 🧩 Compatibility\n\n**Important notice** regarding this Git repository - This repository use Symlinks. make sure that Symlinks are enabled when you clone.\n\n`git config core.symlinks true`\n\nOr just use this as a Unity Package (UPM), more info [here](Packages/webxr/README.md)\n\n### 📝 Unity Editor version\n\n* `2020.3.11f1` and up.\n* `2021.1.4f1` and up.\n* `2022.1` and up.\n* `2023.1` and up.\n* `6000.0.23f1` and up.\n\n### 🗺️ Browser Compatibility\n\nThis is a list of browsers and platforms that the WebXR Export demo was tested on.\n\nGoogle Chrome on Windows.\n\nMicrosoft Edge on Windows.\n\nQuest Browser on Meta Quests (1, 2, Pro, etc...).\n\nWolvic on Meta Quests (1, 2, Pro, etc...).\n\nMicrosoft Edge on Hololens 2.\n\nGoogle Chrome on Android (Supports both AR and VR sessions).\n\nSamsung Internet Browser on Android (Supports both AR and VR sessions).\n\nMozilla WebXR Viewer on iOS.\n\nFirefox Reality on VIVE Focus Plus.\n\nWolvic on VIVE Focus 3.\n\nHelio on Magic Leap 2.\n\nPICO Browser on PICO 4 and PICO 4E.\n\nWolvic on PICO 4 and PICO 4E.\n\n#### 🐞 Has bugs/issues\n\nHelio on Magic Leap One (Has a bug related to eye views).\n\nSafari on Apple Vision Pro (Needs to enable flags in system settings. No `selected` event on hand pinch).\n\n### 🛤️ Roadmap\n\nWebXR Export version 0.20.0 and up includes Unity XR SDK support.\nFollowing that, AR Foundation support is next. Currently there's passthrough/seethrough and Hit-Test support not using AR Foundation.\nVersion 0.20.0 also dropped the support for Built-in Render Pipeline, which needs more investigation if it's possible to add back.\n\n### ⚙️ WebXR APIs support\n\n[WebXR Device API](https://immersive-web.github.io/webxr/) - Supports Unity Display and Input XR Subsystems\n\n[WebXR Gamepads Module](https://immersive-web.github.io/webxr-gamepads-module/) (Including [hapticActuators](https://w3c.github.io/gamepad/extensions.html) on supported devices) - Supports Unity New Input System\n\n[WebXR Augmented Reality Module](https://immersive-web.github.io/webxr-ar-module/)\n\n[WebXR Hit Test Module](https://immersive-web.github.io/hit-test/) (Currently limited to viewer space Hit Test source) - Not using AR Foundation hit test\n\n[WebXR Hand Input](https://github.com/immersive-web/webxr-hand-input) - Supports Unity XR Hands package\n\n[WebXR Input Profiles](https://github.com/immersive-web/webxr-input-profiles) using [WebXR Input Profiles Loader](https://github.com/De-Panther/webxr-input-profiles-loader) - Supports XR Interaction Toolkit\n\n![Hands](/Documentation/webxr-hands-api.gif)\n\n#### More features\n\nSpectator Camera\n\n[WebXR Mixed Reality Capture](Documentation/WebXR-Mixed-Reality-Capture.md)\n\n### 📊 Polyfilled WebXR / WebVR\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. We did made sure to make it light, so mobile devices would be able to handle it, and it is able to run on high end mobile devices with some optimizations. See [Unity's WebGL browser compatibility](https://docs.unity3d.com/2019.3/Documentation/Manual/webgl-browsercompatibility.html).\n\n### 📜 Version History and Notes\n\nYou can check the changelogs of [WebXR Export](Packages/webxr/CHANGELOG.md) and [WebXR Interactions](Packages/webxr-interactions/CHANGELOG.md) for version history.\n\n## 🤝 Contributing\n\nYou're encouraged to [open an issue](https://github.com/De-Panther/unity-webxr-export/issues/new), report a problem, contribute with code, open a feature request, share your work or ask a question. But remember that it's an experimental project.\n\n## 🔗 Useful links and info\n\nMuch of the WebXR upgrades and API usage made possible thanks to these resources.\n\n[WebVR to WebXR Migration Guide](https://github.com/immersive-web/webxr/blob/master/webvr-migration.md)\n\n[WebXR Device API Explained](https://github.com/immersive-web/webxr/blob/master/explainer.md)\n\n[WebXR Input Profile Viewer](https://immersive-web.github.io/webxr-input-profiles/packages/viewer/dist/index.html)\n\n[WebXR Samples](https://immersive-web.github.io/webxr-samples/)\n\n[WebXR Polyfill](https://github.com/immersive-web/webxr-polyfill)\n\n[The Immersive Web Working Group/Community Group](https://immersive-web.github.io/)\n\n[SimpleWebXR by Rufus31415](https://github.com/Rufus31415/Simple-WebXR-Unity)\n\n[WebXR Discord](https://discord.gg/Jt5tfaM)\n\n## 🎞️ Credits\n\nSpecial thanks to [needle.tools](https://needle.tools/) for the help in making this a proper package.\n\nThanks to [Brandon Jones (@toji)](https://github.com/toji) who wrote [WebVR to WebXR Migration Guide](https://github.com/immersive-web/webxr/blob/master/webvr-migration.md) and lots of samples that helped in converting the code from WebVR to WebXR.\n\nMozilla's Unity WebVR Export 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\nAs the base project used the Apache License, Version 2.0, we will continue with it.\n\nWebXR Export License:\n\nCopyright 2020 Oren Weizman\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\n\u003chr\u003e\n\nThis is a project based on Mozilla's [Unity WebXR Exporter](https://github.com/MozillaReality/unity-webxr-export) (from when it was WebVR exporter).\n\nUnity WebVR Exporter License:\n\nCopyright 2017 - 2018 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%2Fde-panther%2Funity-webxr-export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fde-panther%2Funity-webxr-export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fde-panther%2Funity-webxr-export/lists"}