hz-unity-platform-sdk
Skill200 starsChanged 53 days agoApache-2.0View on GitHub
Guides integration of the Horizon Platform SDK for Meta VR and Horizon OS Unity/C# apps — achievements, IAP, users, leaderboards, challenges, presence, notifications, abuse reporting, entitlements, asset files, application lifecycle, consent, device integrity, language packs, user age categories, and rate and review. Covers setup, initialization, API usage, data types, error handling, and best practices for all 18 public platform SDK packages.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- mirzaaghazadeh/unity-meta-quest-skillsword for word, first seen Nov 15, 2026
Other versions1 project uses a version of this.
Word for word · 1
- mirzaaghazadeh/unity-meta-quest-skills★ 1100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository37 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- hz-android-2d-portingSkill
- hz-api-upgradeSkill
- hz-immersive-designerSkill
- hz-iwsdk-webxrSkill
- hz-metavrx-layout-sdkSkill
- hz-metavrx-ui-setSkill
- hz-new-project-creationSkill
- hz-perfetto-debugSkill
- hz-platform-sdkSkill
- hz-psdk-integrationSkill
- hz-quest-verify-firstSkill
- hz-react-native-expoSkill
- hz-simpleperf-debugSkill
- hz-spatial-sdkSkill
- hz-store-pwaSkill
- hz-store-submitSkill
- hz-unity-code-reviewSkill
- hz-unity-device-readinessSkill
- hz-unity-face-trackingSkill
- hz-unity-fbx-importSkill
- hz-unity-meta-core-sdkSkill
- hz-unity-meta-interaction-sdkSkill
- hz-unity-meta-mixed-reality-utility-kitSkill
- hz-unity-meta-movement-sdk-retargetingSkill
- hz-unity-meta-quest-uiSkill
- hz-unity-passthrough-camera-accessSkill
- hz-unity-placementSkill
- hz-unity-project-analyzerSkill
- hz-unity-sdk-upgradeSkill
- hz-unity-tmp-resourcesSkill
- hz-vr-debugSkill
- hz-xr-simulator-controlSkill
- hz-xr-simulator-install-and-configureSkill
- metavr-cliSkill
- portalSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Use this skill when a developer:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Horizon Platform SDK - Unity/C# Integration Guide
When to Use
Use this skill when a developer:
- Wants to integrate any Horizon Platform SDK feature in a Unity Meta VR application
- Asks about setup, initialization, or dependencies for the Unity SDK package (
com.meta.xr.sdk.platform) - Needs help with a specific public platform API (achievements, IAP, users, etc.) in C#
- Is troubleshooting errors or status codes from any SDK package in Unity
- Asks about
Core.AsyncInitialize,Oculus.Platform, or platform message handling
For Android/Kotlin apps, use the hz-platform-sdk skill instead.
Quick Start
- Setup guide: https://developers.meta.com/horizon/documentation/unity/ps-platform-intro/
- UPM Package:
com.meta.xr.sdk.platformvia Unity Package Manager - Namespace:
Oculus.Platform(backward compatible with legacy LibOVRPlatform SDK)
Available APIs
| Feature | Reference | Description |
| Abuse Report | abuse-report | Listen for system Report button events, respond with in-app flow |
| Achievements | achievements | Unlock, track progress, and query simple/count/bitfield achievements |
| Application | application | Get app version, launch other apps, manage self-update downloads |
| Application Lifecycle | application-lifecycle | Detect launch type, handle deeplinks and invites, log results |
| Asset File | asset-file | List, download, cancel, and delete downloadable asset files (DLC) |
| Challenges | challenges | Time-bound score competitions on top of leaderboards |
| Consent | consent | Check and launch user consent flows with version bumps |
| Device Application Integrity | device-application-integrity | Verify device and app integrity via JWT attestation |
| Entitlements | entitlements | Mandatory anti-piracy check required for all Store apps |
| Group Presence | group-presence | Set/clear presence, manage sessions, send invites, handle join intents |
| In-App Purchases (IAP) | iap | Retrieve products, purchase history, checkout flow, consume purchases |
| Language Pack | language-pack | Get/set language packs with auto-download |
| Leaderboards | leaderboards | Retrieve leaderboard info, fetch/write entries with filtering |
| Notifications | notifications | Send device notifications with toast, feed persistence, and action buttons |
| Rate and Review | rate-and-review | Check eligibility and launch the system rating/review UI |
| Rich Presence | rich-presence | Set/clear rich presence (deprecated; prefer group-presence) |
| User Age Category | user-age-category | Query user age group and report age categories for compliance |
| Users | users | Retrieve user profiles, friends, access tokens, identity verification |
How to Use
- First, read
references/common-setup.mdfor shared setup instructions, initialization code, Editor testing, and common patterns that apply to all APIs. - Then, read the specific reference file for the API you need (e.g.,
references/iap.mdfor in-app purchases). - For exact signatures, query the API index instead of guessing:
metavr docs api-search "<feature> <operation>", thenmetavr docs api-details <entry>for the full entry.
Each reference file contains only the package-specific content: API operations, data types, examples, and package-specific notes. The common setup, initialization patterns, and coding conventions are centralized in common-setup.md to avoid duplication.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

