1.8 KiB
AR Foundation Samples
Example projects that use AR Foundation 2.2 and demonstrate its functionality with sample assets and components.
This set of samples relies on four Unity packages:
- ARSubsystems
- ARCore
- ARKit
- 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 mater
branch is compatible with Unity 2019.1 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.
⚠️ ARKit 3 Support
The master
branch includes support for ARKit 3, which is still in beta. While ARFoundation and ARSubsystems 2.2 support ARKit 3, only the ARKit 2.2 package contains support for these features and requires Xcode 11 beta and iOS 13 beta. ARKit 2.2 is not backwards compatible with previous versions of Xcode or iOS.
This table shows the latest version of the ARKit plugin and their Xcode and iOS compatibility:
ARKit XR Plugin | Xcode Version | iOS Version |
---|---|---|
2.2 | 11 beta | 13 beta |
2.1 | 9 or 10 | 11 or 12 |
This distinciton is temporary. Once iOS 13 is no longer in beta, the ARKit package is expected to work with all versions of Xcode 9+ and iOS 11+.
Instructions for installing AR Foundation
-
Download the latest version of Unity 2019.1 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.