unity-xr

Installation
SKILL.md

Unity XR Interaction Toolkit Skills

XR Interaction Toolkit setup and configuration. Every xr_* skill is reflection-based and supports XRI 2.x on Unity 2022 and XRI 3.x on Unity 6 and later. Parameters come from the schema (GET /skills/schema?names=<skill>&wire=v2); execution and dryRun rules: root SKILL.md.

Requires com.unity.xr.interaction.toolkit. When it is missing, every xr_* skill returns the NoXRI() install instruction instead of running.

When to use

  • Building VR or AR interaction
  • Setting up an XR rig
  • Configuring grab, socket or ray interactors

Rules

  • Read this module before the first xr_* call in a session. Wrong property names can fail silently, because the bridge is reflection-based.
  • Property names on XRI components must match XRI 2.x and 3.x exactly. A wrong field name on xr_configure_interactable or xr_configure_haptics is ignored without an error. Check detailed property edits in api-reference.
  • xr_configure_interaction_layers takes layer names or an integer mask, and rejects undefined names.
  • Most locomotion skills assume an XROrigin already exists.
  • Setup, collider rules, class names and version differences: setup-and-colliders.
  • For non-XR Canvas UI use the ui module. For XR gameplay architecture load advisory modules such as architecture, patterns, async or scriptdesign.
Installs
82
GitHub Stars
1.9K
First Seen
Mar 18, 2026