Develop
Develop
Select your platform

Code samples

Explore how Meta Horizon can transform your ideas into virtual experiences.
Displaying (26)
UNITYSpatial Lingo: Language Practice
Spatial Lingo is a Meta Quest app for interactive language practice—identifies real-world objects and checks translations using Passthrough, voiceSDK, and Llama APIs for contextual, AI-powered lessons.
AI ML, CAMERA ACCESS, ENAGAGEMENT, PASSTHROUGH, SCENE, VOICE
UNITYUnity InteractionSDK Samples
Sample projects to showcase the features of the Unity Meta XR Interaction SDK.
HANDS, INTERACTION, UI
UNITYUnity MR Utility Kit Sample
This repository hosts a collection of samples designed to help you explore and integrate the features of the Meta Mixed Reality Utility Kit (MRUK) into your projects.
DEPTH, PASSTHROUGH, SCENE, TRACKABLES
UNITYUnity NorthStar
North Star is a VR showcase for Unity, demonstrating cutting-edge graphics and immersive gameplay on Meta Quest devices. Join a crew of pirates on a quest for mythic treasure, and uncover the secrets of creating exceptional visual...
AUDIO, HANDS, GRAPHICS, MOVEMENT SDK, PERFORMANCE, INTERACTION
UNITYMixed Reality Motifs
Motifs are blueprints for recurring ideas which we expect, and have observed, our community to build. They are not full applications, but rather recurring aspects of applications, which may require a collection of technical featur...
MULTIPLAYER, PASSTHROUGH, PLATFORM, SCENE, SPATIAL ANCHORS, DEPTH, COLOCATION, AVATAR
UNITYUnity SpiritSling
Spirit Sling is a social mixed reality (MR) app created to show developers how to build exciting tabletop games that give users a reason to be together in MR.With our new and improved Avatars, and the power of mixed reality, users...
AVATAR, MULTIPLAYER, GRAPHICS, HANDS, INTERACTION, PASSTHROUGH, PLATFORM, SOCIAL
UNITYUnity MetaXRInteractionSDK-AvatarSample
This repository provides a comprehensive sample project showcasing the integration of Meta's Avatars with the Meta XR Interaction SDK in Unity. It serves as a practical guide for developers, demonstrating how to create custom hand...
AVATAR, HANDS, INTERACTION, GRAPHICS
UNITYUnity PerformanceSettings
Performance settings testing ground, showing how to use game-engine-agnostic performance controls for Meta Quest devices such as dual-core boost and dynamic resolution.
PERFORMANCE
UNITYUnity LocalMultiplayerMR
Mixed Reality samples that demonstrate how to enable multiplayer using colocation (in the same physical space). This project contains a reusable package agnostic of the networking stack and 3 demonstration on how to integrate it u...
MULTIPLAYER, COLOCATION, PASSTHROUGH, SOCIAL, PLATFORM
UNITYUnity Cryptic Cabinet
Cryptic Cabinet is a short Mixed Reality (MR) experience for Meta Quest headsets. It will demonstrate the possibilities of MR through gameplay, narrative, and aesthetics. The app adapts to your room (big or small) to create a uniq...
MULTIPLAYER, AUDIO, HANDS, COLOCATION, GRAPHICS, INTERACTION, PASSTHROUGH, PERFORMANCE, PLATFORM, SCENE, SOCIAL, SPATIAL ANCHORS
UNITYUnity StarterSamples
This repository brings multiple samples that can help you explore features and bring them into your project.
HANDS, PASSTHROUGH, SPATIAL ANCHORS
UNITYUnity MoveFast
Oculus Interaction SDK showcase demonstrating the use of Interaction SDK in Unity with hand tracking for a fitness-style app. This project contains the code and assets used in the "Move Fast" demo available on App Lab. The Oculus ...
HANDS, AUDIO, INTERACTION, GRAPHICS, PERFORMANCE
UNITYUnity Phanto
Phanto is a showcase of the Meta Quest Mixed Reality APIs. This project demonstrate how to use Meshes. The Oculus SDK and other supporting material is subject to the Oculus proprietary license.
GRAPHICS, INTERACTION, PASSTHROUGH, SCENE
UNITYUnity DepthAPI
Examples of using Depth API for real-time, dynamic occlusions
DEPTH, GRAPHICS, PASSTHROUGH
UNITYUnity Meta XR Audio SDK
This project contains Unity samples for Meta's Presence Platform Audio SDK.
AUDIO
UNITYUnity Discover
Discover is a showcase of the Meta Quest Mixed Reality APIs. This project demonstrate how to use Passthrough, Spatial Anchors, Scene API, Colocation and Shared Anchors.
AVATAR, MULTIPLAYER, COLOCATION, PASSTHROUGH, PLATFORM, SOCIAL, SPATIAL ANCHORS
UNITYDecommissioned in Unity
Decommissioned was built to demonstrate how to use the Oculus Integration SDK, the Meta Interaction SDK, and the Meta Avatars SDK to create a social gaming experience in VR.
PLATFORM, AVATAR, AUDIO, MULTIPLAYER, INTERACTION
UNITYWhisperer using Voice SDK in Unity
Oculus Voice SDK showcase demonstrating the use of Voice SDK in Unity. This project contains the source code for the "Whisperer" demo available on App Lab. The Oculus SDK and other supporting material is subject to the Oculus prop...
AUDIO, HANDS, VOICE
UNITYUltimate Glove Ball in Unity
Meta Quest ESport Showcase demonstrating multiplayer functionalities in Unity. Including Oculus Social APIs, Avatars, Oculus Platform authentication, Oculus Multiplayer APIs, Photon Realtime, and Photon Voice with Oculus Spatializ...
AVATAR, MULTIPLAYER, PLATFORM, SOCIAL, MONETIZATION, MOVEMENT SDK, AUDIO, INTERACTION, GRAPHICS, PERFORMANCE, ENAGAGEMENT
UNITYShared Spatial Anchors in Unity
Unity-SharedSpatialAnchors was built to demonstrate how to use the Shared Spatial Anchors API, available in the Oculus Integration SDK for the Unity game engine. The sample app showcases the creation, saving, loading, and sharing ...
SCENE, SPATIAL ANCHORS, PASSTHROUGH
UNITYMovement in Unity
Movement is a package that uses OpenXR’s tracking layer APIs to expose Meta Quest Pro’s Body, Eye, and Face Tracking capabilities. Bring the expressiveness of users using custom avatars.
HANDS, MOVEMENT SDK, PERFORMANCE
UNITYFirst Hand in Unity
Oculus Interaction SDK showcase demonstrating the use of Interaction SDK in Unity with hand tracking. This project contains the interactions used in the "First Hand" demo available on App Lab. The Oculus SDK and other supporting m...
HANDS, INTERACTION
UNITYApplication SpaceWarp (AppSW) in Unity
Application SpaceWarp showcase demonstrating how developers can generate only every other frame for their application, effectively allowing them to render at half framerate. This gives developers more time to generate better graph...
PERFORMANCE
UNITYThe World Beyond in Unity
Presence Platform showcase demonstrating usage of Scene, Passthrough, Interaction, Voice, and Spatializer.
PASSTHROUGH, VOICE, INTERACTION, SCENE, AUDIO, GRAPHICS
UNITYAsset Streaming in Unity
Oculus asset streaming showcase demonstrating how to use asset streaming when navigating open world project while using different level of details. This sample also demonstrates how to use the Unity Addressables system.
PLATFORM, PERFORMANCE
UNITYOculus Shared Spaces in Unity
Oculus multiplayer showcase demonstrating basic multiplayer functionality in Unity. Including: Oculus Social APIs, Oculus Platform authentication, Photon Realtime, and Photon Voice with Oculus Spatializer.
PLATFORM, MULTIPLAYER, SOCIAL, AUDIO