XR & AR Foundation - Part 1

Download

Unity Cheat Sheet: #40

Author Name

Author Name

Author Role

Basic XR Setup

  • Device Init: Get XR running
  • Resolution: Match device displays
  • Preview: Test in editor
  • Session: Handle XR lifecycle
  • Camera: Configure XR view

AR Features

  • Plane Detection: Find surfaces
  • Image Tracking: Follow markers
  • Face Tracking: Track expressions
  • Session Handling: Manage AR state
  • Camera Background: Show real world

Input Systems

  • Controller Tracking: Where are controllers
  • Hand Tracking: Natural interaction
  • Gestures: Recognize movements
  • Button Maps: Input standardization
  • Triggers: Handle interactions

Device Management

  • Headset: Track user view
  • Controllers: Monitor states
  • Capabilities: What device can do
  • Features: Available inputs
  • Nodes: Track positions

Pro Tips

  • Disconnects: Handle gracefully
  • Tracking: Monitor states
  • Render Scale: Balance quality
  • Input Cache: Fast response
  • Platform Tests: Check compatibility

Common Pitfalls

  • Permissions: Missing platform rights
  • Performance: Poor optimization
  • Tracking Loss: Unhandled states
  • Input Lag: Slow responses
  • Resolution: Wrong display settings

Show More