{"id":25636328,"url":"https://github.com/vivesoftware/vive-openxr-sample-unity","last_synced_at":"2025-06-30T20:04:29.997Z","repository":{"id":271830939,"uuid":"821189385","full_name":"ViveSoftware/VIVE-OpenXR-Sample-Unity","owner":"ViveSoftware","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-10T07:56:51.000Z","size":68211,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-30T20:03:37.524Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ViveSoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.pdf","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,"zenodo":null}},"created_at":"2024-06-28T02:22:45.000Z","updated_at":"2025-01-10T06:07:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"98779e89-9b71-463c-b1ea-105ef6abd53b","html_url":"https://github.com/ViveSoftware/VIVE-OpenXR-Sample-Unity","commit_stats":null,"previous_names":["vivesoftware/vive-openxr-sample-unity"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/ViveSoftware/VIVE-OpenXR-Sample-Unity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViveSoftware%2FVIVE-OpenXR-Sample-Unity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViveSoftware%2FVIVE-OpenXR-Sample-Unity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViveSoftware%2FVIVE-OpenXR-Sample-Unity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViveSoftware%2FVIVE-OpenXR-Sample-Unity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ViveSoftware","download_url":"https://codeload.github.com/ViveSoftware/VIVE-OpenXR-Sample-Unity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViveSoftware%2FVIVE-OpenXR-Sample-Unity/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262842896,"owners_count":23373164,"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":[],"created_at":"2025-02-23T00:41:39.077Z","updated_at":"2025-06-30T20:04:29.942Z","avatar_url":"https://github.com/ViveSoftware.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Code Samples Banner](./Documentations/Medias/code_samples_banner.png \"CodeSamples\")\n\n# VIVE OpenXR Code Samples\n\nThe start samples here depend on [VIVE OpenXR Unity Plugin](https://developer.vive.com/resources/openxr/unity/) and will inspire you on how to use the features.\n\nThe [HTC License](./LICENSE.pdf) applies to the samples.\n\nThis project was built using the [Unity 2021.3.16f1](https://unity.com/download).\n\n## Get Code\n\nClone this repo using the \"Code\" button above, or below commands:\n\n- Using SSH\n```sh\ngit clone git@github.com:ViveSoftware/VIVE-OpenXR-Sample-Unity.git\n```\n\n- Using HTTPS\n```sh\ngit clone https://github.com/ViveSoftware/VIVE-OpenXR-Sample-Unity.git\n```\n\n## Run in Unity\n\n1. Make sure you're using **Unity 2021.3.16f1** or newer.\n2. Switch to the **Android** or **Windows** platform in **Build Settings**.\n3. Click on *VIVE* \u003e *OpenXR Installer* \u003e *Install or Update latest version* from the menu bar to import the **VIVE OpenXR Unity Plugin**.\n4. Navigate to *Project Settings* \u003e *XR Plug-in Management* \u003e *OpenXR* platform settings, select **VIVE XR Support** and enable features you need.\n\n## Test on VIVE XR Elite / VIVE Focus Vision\n\n\u003cdetails\u003e\n\u003csummary\u003e MR \u003c/summary\u003e\n\n+\tSet Build `Settings \u003e Platform` to Android\n+   Import [[Customizable Planet Shaders]](https://assetstore.unity.com/packages/vfx/shaders/customizable-planet-shaders-131872) package into project.\n+\tAdd scenes `BaseScene`, `GameFlow`, `RobotAssistant`, `Setup` and `MRPerformance` to the build setttings accordingly.\n+\tCheck OpenXR in `Project Settings \u003e XR Plug-in Management \u003e Initialize XR on Startup`\n+ In `File \u003e Build Settings` click `Build And Run`\n\u003c/details\u003e\n\n## Developer Guidelines\n- [MR Documentation](https://github.com/ViveSoftware/VIVE-OpenXR-Sample-Unity/blob/main/Documentations/MR/JelbeeMR.md) \n- [MR Performance Setting Documentation](https://github.com/ViveSoftware/VIVE-OpenXR-Sample-Unity/blob/main/Documentations/MR/MR_Performance.md)\n- [Passthrough Documentation]() (To be released)\n- [Accessory Documentation]() (To be released)\n- [Human Info Documentation]() (To be released)\n- [Interaction Documentation]() (To be released)\n- [Body Tracking Documentation]() (To be released)\n\n## Integrate Samples to Your Own Project\n1. Make sure your project uses the same SDK version\n2. Move the samples to your project\n   \u003cdetails\u003e\n      \u003csummary\u003e\u003cb\u003eCopy Samples Directory\u003c/b\u003e\u003c/summary\u003e\n\n      + Copy [Assets/CodeSamples](./Assets/CodeSamples) directory to your own project\n    \u003c/details\u003e\n    \u003cdetails\u003e\n      \u003csummary\u003e\u003cb\u003eCreate and Import UnityPackage\u003c/b\u003e\u003c/summary\u003e\n\n      1. Open VIVE-OpenXR-Sample-Unity project in Unity\n      2. Right-click on [Assets/CodeSamples](./Assets/CodeSamples) and select \u003ci\u003eExport Package...\u003c/i\u003e\n      3. Save package in an easy location to retrieve\n      4. Open your own project (where you want the samples to be added)\n      5. Click on \u003ci\u003eAssets \u003e Import Package \u003e Custom Package...\u003c/i\u003e from the menu bar\n      6. Find the package we saved in step 3 and click \u003ci\u003eOpen\u003c/i\u003e\n    \u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvivesoftware%2Fvive-openxr-sample-unity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvivesoftware%2Fvive-openxr-sample-unity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvivesoftware%2Fvive-openxr-sample-unity/lists"}