unity-xr

Automates XR toolkit setup and wiring for Unity projects.

1|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/mufengbufeng/EF --skill unity-xr-mufengbufeng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-xr
Source: https://github.com/mufengbufeng/EF/tree/main/UnityProject/.claude/skills/unity-skills/skills/xr
Command: npx skills add https://github.com/mufengbufeng/EF --skill unity-xr-mufengbufeng

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines Unity XR development by providing a comprehensive, ready-to-use set of XR Toolkit skills that automate rig creation, interactor setup, and UI integration, reducing manual configuration time.

Core Features & Use Cases

  • XR rig setup: Create an XROrigin with camera and controllers and the required components.
  • Interactor configuration: Add ray, direct, and socket interactors with correct colliders and physics settings.
  • UI and diagnostics: Make canvases XR-ready and provide scene validation guidance for XR scenes.
  • Teleportation and locomotion: Configure teleport areas and basic movement/rotation providers for comfortable navigation.

Quick Start

Install the XR Interaction Toolkit package and run the XR setup workflow to create a complete XR Origin rig with controllers and basic interactors.

Frequently Asked Questions about unity-xr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up an XR Origin rig with controllers and interactors in Unity?

To set up a Unity XR Origin rig, you need to configure a single XRInteractionManager, an XROrigin with a main camera, and attach colliders for interactors and interactables. This process automates rig creation and interaction wiring for VR/AR projects.

What is needed to configure ray and direct interactors for Unity XR interactions?

Configuring Unity XR interactors requires applying correct colliders and physics settings to ray, direct, and socket interactors. This ensures objects respond accurately to controller inputs within the virtual environment.

Do I need an XRInteractionManager before adding interactables in Unity?

Yes, an XRInteractionManager is a strict prerequisite before adding interactables in Unity. The setup enforces a single XRInteractionManager alongside a configured XROrigin with a main camera to ensure proper interaction wiring.

How do I make Unity canvases ready for XR interaction and UI input?

To make Unity canvases ready for XR interaction, you apply XR UI configuration to accept ray and direct interactor inputs. This allows users to navigate menus and interact with interfaces directly using VR or AR controllers.

What's the best way to configure teleportation and locomotion in a Unity XR scene?

The best way to configure teleportation and locomotion in a Unity XR scene is to set up teleport areas and basic movement/rotation providers. This provides comfortable navigation and prevents motion sickness during VR exploration.

Why does my Unity XR setup fail across different toolkit versions?

Unity XR setups often fail across different toolkit versions due to API changes. Applying cross-version compatibility via reflection ensures the interaction wiring and interactor components function correctly regardless of the installed package version.