hz-unity-platform-sdk
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "hz-unity-platform-sdk" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c00f6ec7ebaeb0f9803ff215be1dda5e4b1debf980db159790f7254a0e1c045d. Verify the upstream source and version against https://github.com/meta-quest/agentic-tools before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Guidance for integrating the Horizon Platform SDK into Unity/C# apps for Meta Quest and Horizon OS. Covers achievements, in‑app purchases (IAP), users, leaderboards, challenges, online presence, notifications, abuse reporting, permissions, resources, app lifecycle, user consent, device integrity, language packs, age gating, and ratings & reviews, including installation/configuration, initialization, API usage, data types, error handling and best practices for 18 public platform SDK packages.
Introduction source: third_party · meta-quest · 0.0.1 Reference
SkillPi interpretation
- Tasks
- 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.
- Audience
- 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.
- Testing
- Not tested
Browse files
Frontmatter
name: hz-unity-platform-sdk
license: Apache-2.0
description: 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.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.
Version history
-
v1.8.0
GitHub ↗
Original release notes
**Full Changelog**: https://github.com/meta-quest/agentic-tools/compare/v1.2.3...v1.8.0
-
v1.2.3
GitHub ↗
Original release notes
**Full Changelog**: https://github.com/meta-quest/agentic-tools/compare/v1.2.1...v1.2.3
-
v1.2.1
GitHub ↗
Original release notes
**Full Changelog**: https://github.com/meta-quest/agentic-tools/commits/v1.2.1
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 覆盖 Meta Quest/Horizon OS 上 Unity 应用集成的 18 个核心平台功能,满足开发者高频刚需
- 内容结构化良好,区分通用设置与专项 API 指导,显著降低集成门槛
Highlights
- 触发词精准,明确限定于 Unity/C# 场景,并主动排除 Android/Kotlin 以避免误触
- When to Use 列举典型用例,边界清晰,便于用户判断是否匹配需求
Areas to improve
-
description写错位置 Reported severity: Minor
顶层 frontmatter 中已包含 description,skill_body 开头又重复相同内容
Recommendation: 移除 skill_body 开头的重复 description,保持信息唯一性
Highlights
- Phase 划分清晰(Setup → Specific API → Docs Query),有明确执行路径
- API 功能以表格形式汇总,便于快速定位所需能力
Areas to improve
-
缺少关键操作的确认机制示例 Reported severity: Minor
涉及支付(IAP)、用户同意等敏感操作时,未在主体中展示二次确认或异常回滚逻辑
Recommendation: 在 Quick Start 或 How to Use 中补充对不可逆操作的确认提示说明
Highlights
- 工具来源明确(官方 UPM 包),命名空间与初始化方式准确
- 引导用户查阅官方文档获取精确 API 签名,避免猜测导致的错误
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- developers.meta.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.