Reviews Unity C# code and project settings targeting Meta VR headsets for performance issues, rendering best practices, and common VR pitfalls. Use during code review or when diagnosing Meta VR performance problems.
Ships in Quest Core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill when reviewing Unity C# code or project settings that target Meta VR headsets. This includes:
Meta VR applications must use the Universal Render Pipeline (URP) with specific settings optimized for mobile VR. The Built-in Render Pipeline is not recommended for new Meta VR projects.
Critical settings to verify:
Meta VR has draw call budgets that vary by workload complexity. Every draw call has CPU overhead that directly impacts frame timing.
| Metric | Quest 2 / Quest Pro | Quest 3 / Quest 3S | Meta VR Glasses |
|---|---|---|---|
| Draw calls (busy simulation) | 80-200 | 200-300 | 200-300 |
| Draw calls (medium simulation) | 200-300 | 400-600 | 400-600 |
| Draw calls (light simulation) | 400-600 | 700-1000 | 700-1000 |
| Triangles per frame | 750K-1M | 1M-2M | 1M-2M |
| SetPass calls | < 50 | < 80 | < 80 |
Enable and verify:
Mobile GPUs on Meta VR cannot handle desktop-class shaders. Review all materials for:
GC allocations cause frame hitches and must be eliminated from hot paths.
// BAD: Allocates every frame
void Update() {
string label = "Score: " + score.ToString();
var enemies = FindObjectsOfType<Enemy>();
var filtered = enemies.Where(e => e.IsAlive).ToList();
}
// GOOD: Zero allocations in Update
private StringBuilder _sb = new StringBuilder(32);
private List<Enemy> _enemyCache = new List<Enemy>();
private Enemy[] _enemyArray;
void Start() {
_enemyArray = FindObjectsOfType<Enemy>();
}
void Update() {
_sb.Clear();
_sb.Append("Score: ");
_sb.Append(score);
}
Meta VR supports multiple input modalities. Code should handle:
OVRInput is maintained for legacy supportOVRHand and OVRSkeleton for hand pose dataOVREyeGaze (Quest Pro / Meta VR Glasses, requires permission)Physics simulation is expensive on mobile. Review for:
Audio is often overlooked but can impact performance:
| Area | Target | Notes |
|---|---|---|
| Draw calls | 80-200 (busy) to 400-600 (light) | Use batching, instancing, atlasing |
| Triangles | 750K-1M/frame | Use LODs, occlusion culling |
| Texture resolution | Max 2K, 4K sparingly | ASTC compression required |
| Shader | URP mobile shaders | No Standard shader, no screen-space effects |
| Rendering mode | Single-pass multiview | Must be enabled in XR settings |
| FFR | Enabled (High or HighTop) | Fixed foveated rendering reduces edge fragment cost |
| MSAA | 4x quality / 2x perf | Free on tile-based GPU when configured correctly |
| Target frame rate | 72 Hz minimum | 90 Hz recommended, 120 Hz for smooth experiences |
| GC allocations | 0 B/frame in steady state | No allocations in Update/LateUpdate/FixedUpdate |
| Audio sources | < 16 simultaneous | Use pooling for audio sources |
// Flag these patterns in code review:
Camera.main // Calls FindWithTag internally
GameObject.Find("name") // Linear search every call
GetComponent<T>() in Update // Cache the result
new List<T>() in Update // Allocates on heap
string + string in Update // Creates new string objects
foreach on non-List collections // Enumerator allocation
LINQ queries (.Where, .Select) // Multiple allocations
Boxing (int -> object) // Heap allocation
delegate/lambda in hot paths // Closure allocation
// BAD: Empty Update still has overhead
void Update() { }
// BAD: Logic that doesn't need per-frame execution
void Update() {
SavePlayerPrefs(); // Should be event-driven
}
// GOOD: Use events, coroutines, or InvokeRepeating for non-per-frame logic
void OnScoreChanged(int newScore) {
UpdateScoreUI(newScore);
}
// BAD: Camera.main uses FindWithTag internally
void Update() {
transform.LookAt(Camera.main.transform);
}
// GOOD: Cache the reference
private Transform _cameraTransform;
void Start() {
_cameraTransform = Camera.main.transform;
}
void Update() {
transform.LookAt(_cameraTransform);
}
// BAD: Expensive search every frame
void Update() {
var player = GameObject.FindWithTag("Player");
var rb = player.GetComponent<Rigidbody>();
}
// GOOD: Cache in Awake/Start or use dependency injection
private Rigidbody _playerRb;
void Awake() {
_playerRb = GameObject.FindWithTag("Player").GetComponent<Rigidbody>();
}
You can use the metavr tool to validate builds and check device-side behavior. Invoke via metavr <args> (published as the npm package metavr; if metavr is not on PATH, run npx -y metavr <args>) — no install required.
# Check connected Meta VR device
metavr device list
# Install and run a build
metavr app install path/to/build.apk
metavr app launch com.company.app
# Check device logs for errors
metavr adb logcat --tag Unity
# Monitor GPU performance
metavr perf capture
Use device-side profiling to validate that code review findings translate to real performance improvements.
For detailed guidance on specific topics, see the following reference documents:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
27 skills in this plugin
/horizon-launch-roadmapPlan and sequence a Unity Meta Quest game launch on the Meta Horizon Store: which skill to use at each phase, the irreversible decisions (package name, signing key, Early Access, pre-order and Coming Soon windows, Data Use Checkup auto-approval, Meta VR Glasses input and targeting), and a dated timeline counting back from launch day (Coming Soon up to 360 days, pre-orders up to 90 days, submit at least 2 weeks ahead, release date at least 14 days out), plus post-launch growth tools (alerts, price A/B tests, Try Before You Buy). Use when the user asks "how do I publish my Quest game", "what's the release process", "plan my launch", "when should I submit", "can I do early access / pre-orders", "should I support Meta VR Glasses", or starts a new Quest game meant for the store./horizon-store-listing-assetsPrepare and validate a Meta Horizon Store product listing for a Quest game: exact art specs (covers, Hero, Logo, Icon, Spatialized tile, screenshots, trailer, 360 preview), asset VRCs, metadata limits, specs (play area, input, comfort), age group and IARC rating, privacy policy and Data Use Checkup, pricing, price A/B tests, Try Before You Buy, sales, bundles, promo codes, keys, Early Access, Coming Soon, pre-orders, Store analytics and alerts, and what Meta VR Glasses change. Use when the user asks for "store assets", "cover art size", "hero image dimensions", "screenshots for the Horizon Store", "trailer requirements", "store description", "age rating / IARC", "privacy policy for my Quest app", "set the price", "A/B test my price", "free trial", "run a sale", "generate keys", "early access", or "store analytics". Replaces the asset table in Meta's hz-store-submit, which has wrong dimensions and limits./horizon-store-publish-unityShip a Unity Meta Quest game build to the Meta Horizon Store: one-time Developer Dashboard setup (org verification, app record, App ID and credentials, Developer Distribution Agreement), Unity release-APK settings (IL2CPP, ARM64, target API 34, keystore signing, Bundle Version Code bump), a headless build with the Unity CLI, local APK verification, and upload with ovr-platform-util upload-quest-build (OBB, asset files/DLC, debug symbols) to ALPHA/BETA/RC/production, device targeting (Future devices for Meta VR Glasses, quest3+ channel suffix), promotion between channels, and CI. Use when the user says "upload my Quest build", "push to alpha/beta/RC", "release build for the Horizon Store", "bump the version code", "sign the APK", "ovr-platform-util", "upload-quest-build", "ship to Meta VR Glasses", "target Quest 3 only", or "set up CI for Quest uploads". Complements hz-store-submit (submission, review) and unity-quest-android-build (build routes, build failures)./horizon-vrc-checklistPre-submission audit of a Unity Meta Quest game against Meta's current Virtual Reality Checks (VRCs) for the Horizon Store, by VRC ID (VRC.Quest.Packaging/Performance/Functional/Security/Tracking/Input/Asset/ Privacy, VRC.Content, VRC.Publishing). Covers what to check in Unity code and settings, how to test each on a headset with metavr, adb and OVR Metrics Tool, and an evidence table showing pass/fail per VRC. Use when the user asks "will this pass review", "run the VRC checklist", "check store requirements", "why was my app rejected (VRC...)", "frame rate requirement", "focus awareness", "pause when headset removed", "entitlement check required?", "is my game ready for Meta VR Glasses", or before Submit for Review. Takes precedence over the generic VRC notes in Meta's hz-store-submit, which are partly out of date./hz-immersive-designerGuides design of comfortable, intuitive VR/MR experiences for Meta VR and Horizon OS — comfort guidelines, interaction patterns, spatial layout, accessibility. Use during UX design review or when evaluating comfort and accessibility. Build paths: Meta Spatial SDK, Unity, Unreal, native OpenXR, and WebXR; for 2D panel apps use hz-panel-designer if available. Use hz-quest-verify-first if the build path is unclear./hz-new-project-creationScaffolds new Meta VR and Horizon OS projects after the build path is selected — Standard Android, Meta Spatial SDK, Unity, Unreal, or WebXR. Use when creating a new Meta VR app from scratch. Build paths: all; use hz-quest-verify-first to choose the path./quest-core:hz-unity-code-reviewfrom Quest Core
npx claudepluginhub mirzaaghazadeh/unity-meta-quest-skills --plugin quest-core2 plugins ship this exact skill · first indexed Sep 24, 2026
Other plugins' skills for the same job