AR Foundation samples is a collection of example projects demonstrating augmented reality development with Unity.
The samples address the challenge of learning how to implement AR features across multiple platforms by providing minimal, focused example scenes for each AR Foundation capability. Each scene demonstrates a specific feature with example code that developers can study, modify, or copy directly into their own projects. The repository supports Android via Google ARCore, iOS via Apple ARKit, Meta Quest via Unity OpenXR, and Android XR via Unity OpenXR, allowing developers to understand platform-specific implementations within a unified AR Foundation framework.
Developers building AR applications with Unity should use these samples as a learning resource and starting point. The project suits anyone new to AR Foundation who wants to understand how individual features work before integrating them into production applications. The samples are organized by feature rather than by platform, making it straightforward to find implementations of specific capabilities like plane detection, image tracking, or object placement. The repository maintains multiple branches aligned with different Unity versions, so you can select the branch matching your target Unity release.
The project receives active maintenance with branches tracking multiple Unity versions including long-term support releases. Sample scenes are documented as part of the official AR Foundation user manual, indicating ongoing integration with the broader AR Foundation documentation. The maintainers direct bug reports through Unity's official bug reporting process rather than relying solely on GitHub issues, reflecting a structured approach to issue management across the larger AR Foundation ecosystem.