Discover
Discover is a Mixed Reality (MR) project demonstrating how to use key MR features and integrate them into your own project.
This codebase serves as both a reference and a template for MR projects. You can test the game on Meta Horizon Store - Discover.
Project Description
This project showcases the use of Scene API, Interaction SDK, Passthrough, Spatial Anchors, and Shared Spatial Anchors.
It was built using the Unity engine with Photon Fusion. It also includes the Meta Utilities, Meta Input Utilities, and Meta Avatars Utilities packages, which contain useful tools and methods.
How to Run the Project in Unity
-
Configure the project with Meta Quest and Photon
-
Make sure you're using Unity 6000.0.59f2 or newer.
-
Load the Assets/Discover/Scenes/Discover scene.
-
To test in the Editor, you'll need to use Quest Link:
- Enable Quest Link:
- Put on your headset, navigate to "Quick Settings", and select "Quest Link" (or "Quest Air Link" if using Air Link).
- Select your desktop from the list, then select "Launch". This launches the Quest Link app, allowing you to control your desktop from your headset.
- With the headset on, select "Desktop" from the control panel in front of you. You should see your desktop in VR.
- Navigate to Unity and press "Play"; the application should launch on your headset automatically.
Dependencies
This project uses the following plugins and software:
To test this project within Unity, you need:
Getting the Code
First, ensure you have Git LFS installed by running:
git lfs install
Then, clone this repository using the "Code" button above or this command:
git clone https://github.com/oculus-samples/Unity-Discover.git
Documentation
More information is available in the Documentation section of this project.
Custom Packages:
License
Most of Discover is licensed under the MIT LICENSE. However, files from Text Mesh Pro and Photon SDK are licensed under their respective terms.
Contribution
See the CONTRIBUTING file for information on how to contribute.