About ARCore XR Plugin
Use the ARCore XR Plugin package enable ARCore support via Unity's multi-platform XR API. This package implements the following XR Subsystems:
This version of ARCore XR Plugin supports only the functionality available as of ARCore 1.0:
- Device Localization
- Horizontal Plane Detection
- Point Clouds
- Pass-through Camera View
- Light Estimation
- Reference Points
- Hit Testing
- Session Management
Installing ARCore XR Plugin
To install this package, follow the instructions in the Package Manager documentation.
In addition, you will likely want to also install the AR Utilities package which makes use of ARCore XR Plugin package and provides many useful scripts and prefabs.
Using ARCore XR Plugin
The ARCore XR Plugin implements the native endpoints required for building Handheld AR apps using Unity's multi-platform XR API. However, this package does not expose any public scripting interface of its own and most developers should use the scripts, prefabs, and assets provided by AR Utilities as the basis for their Handheld AR apps.
Inclusion of the ARCore XR Plugin will result in the inclusion of source files, static libraries, shader files, and plugin metadata to be included in the XCode project generated as part of the Unity's standard iOS build process.
Technical details
Requirements
This version of ARCore XR Plugin is compatible with the following versions of the Unity Editor:
- 2018.1 and later (recommended)
Known limitations
- Multi-threaded rendering is not presently supported.
- The ARCore app must be installed on the target Android device before running apps built using ARCore XR Plugin. : https://play.google.com/store/apps/details?id=com.google.ar.core&hl=en_US
- The AR Core Supported checkbox in the XR Settings section of the Android Player settings must remain unchecked in order for apps built with the ARCore XR Plugin to work properly.
Package contents
This version of ARCore XR Plugin includes:
- A shared library which provides implementation of the XR Subsystems listed above
- A shader used for rendering the camera image
- A plugin metadata file
Document revision history
Date | Reason |
---|---|
April 19, 2018 | Documentation update. |