Example projects that use AR Foundation 3.0 and demonstrate its functionality with sample assets and components.
This set of samples relies on five Unity packages:
- ARSubsystems
- ARCore XR Plugin
- ARKit XR Plugin
- ARKit Face Tracking
- ARFoundation
ARSubsystems defines an interface, and the platform-specific implementations are in the ARCore and ARKit packages. ARFoundation turns the AR data provided by ARSubsystems into Unity GameObject
s and MonoBehavour
s.
The master
branch is compatible with Unity 2019.2 and later. For 2018.4, see the 1.5-preview branch. ARFoundation 1.5 is functionality equivalent to 2.2. The only difference is the version of Unity on which it depends.
The ARKit XR Plugin and ARKit Face Tacking packages support both ARKit 2 and ARKit 3 simultaneously. We supply separate libraries and select the appropriate one based on the version of Xcode selected in your Build Settings. This should eliminate the confusion over which package version is compatible with which Xcode version.
The ARKit 3 features require Xcode 11 beta 7 and iOS/iPadOS 13.1 beta.
-
Download the latest version of Unity 2019.2 or later.
-
Open Unity, and load the project at the root of the arfoundation-samples repository.
-
Open your choice of sample scene.
-
See the AR Foundation Documentation for usage instructions and more information.