---
# System prepended metadata

title: AR Plane Tracking

---

---
robots: noindex, nofollow
---
[toc]

# AR Plane Tracking

## Helpfull links

* https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@4.0/manual/plane-manager.html

## Implementing Plane Tracking
One of the fundamental trackables that almost all AR apps use are planes. You usually place your holograms on horizontal surfaces detected in the real world. A plane is stable to track, directly corresponds to a major physical structure in the real world, and usually provides a bigger physical area than a single feature point as reference.

To visualize planes, apply these steps:

1. Right-click on the scene > GameObject > XR > **Add AR Default Plane**
1. In `ARSessionOrigin`: add the `ARPlaneManager` script

Make use of a prefab. Drag and drop the `AR Default Plane` GameObject from your scene hierarchy to your assets window, so that its icon turns blue. You can now delete the GameObject from your scene. Once this is done, assign the prefab from the assets to the `ARPlaneManager` script. The prefab will now be created on-the-fly during runtime by the manager when it detects the first plane.

![](https://hackmd.io/_uploads/SknftLPfj.png) 
*Add the AR Plane Manager to your AR Session Origin object in Unity.*

In the detection mode, you can select which kinds of planes you want to detect. For example, if you only need horizontal planes to place objects on the floor, it increases performance and stability to disable vertical plane detection.