Google ARCore XR Plug-in
Use the Google ARCore XR Plug-in package to enable ARCore support in your AR Foundation project. This package implements the following AR features using ARCore 1.42:
Feature | Description |
---|---|
Session | Enable, disable, and configure AR on the target platform. |
Device tracking | Track the device's position and rotation in physical space. |
Camera | Render images from device cameras and perform light estimation. |
Plane detection | Detect and track flat surfaces. |
Image tracking | Detect and track 2D images. |
Face tracking | Detect and track human faces. |
Point clouds | Detect and track feature points. |
Ray casts | Cast rays against tracked items. |
Anchors | Track arbitrary points in space. |
Environment probes | Generate cubemaps of the environment. |
Occlusion | Occlude AR content with physical objects and perform human segmentation. |
Unsupported features
This package does not implement the following AR features, as they are not supported by ARCore 1.42:
Feature | Description |
---|---|
Bounding Box detection | Detect and track bounding boxes of 3D objects. |
Object tracking | Detect and track 3D objects. |
Body tracking | Detect and track a human body. |
Meshing | Generate meshes of the environment. |
Participants | Track other devices in a shared AR session. |
Install the Google ARCore XR Plug-in
When you enable the Google ARCore XR Plug-in in Project Settings > XR Plug-in Management, Unity automatically installs this package if necessary. Refer to Enable the ARCore plug-in for instructions.
You can also install and uninstall this package using the Package Manager. Installing through the Package Manager does not automatically enable the plug-in. In this case you must enable it in Project Settings > XR Plug-in Management.
Requirements
Version 6.0 of the Google ARCore XR Plug-in is compatible with the following versions of the Unity Editor:
- Unity 6 (6000.0).
Note
You can visit the Unity Forum for more information on the Unity 6 New Naming Convention.