# Unity for Android XR template

> A native Unity project for Android XR headsets and glasses (Samsung Galaxy XR, XREAL Project Aura and others): passthrough, real surfaces, hands and gaze, built as an Android app you install on the device.

Source: https://graspable.dev/templates/unity-androidxr

Plan: Pro and higher. See https://graspable.dev/pricing.md.

## What you start with

Unity 6 + OpenXR + Android XR + XR Interaction Toolkit, in a Unity 6 project with a Graspable kit of scripts and prefabs. It is an ordinary Unity project in a folder on your computer, built with your own Unity.

## Where it runs

Meta Quest 3 and 3S, Meta VR Glasses, Android XR headsets and XREAL glasses, as an Android app you build from Graspable and install over USB. Play mode in the Unity Editor stands in for the headset while you work.

Native setup: https://graspable.dev/docs/native-xr.md

## Requests to try

- A plant that I place on a real table by pinching, that grows a little every time I look at it for a second.
- A measuring tape: pinch twice on real surfaces and show the distance between the points as a label in the air.
- A to-do board on my real wall: pinch on the wall to put up a sticky note, grab notes to move them, poke one to mark it done.
- A desk lamp I can grab and put anywhere on the real desk; its light stays where I leave it and a button changes its colour.
- A dart board that I place on a wall, with darts I grab from a holder and throw; the score shows above the board.

## How a run ends

The agent edits the project on your computer. A run ends only when it compiles and runs in play mode without errors.

## Examples

- [A design review of a gearbox](https://graspable.dev/a/dzv4o9cq): A gearbox at real size that comes apart: explode it, cut it open, select a part to read its material and mass, and pin notes to it.

## Start a project

Get Graspable at https://graspable.dev/download. Choose Unity for Android XR when creating a project. For an existing agent, see https://graspable.dev/docs/use-with-ai-agents.md.
