Example content for Unity projects based on AR Foundation
Example content for Unity projects based on AR Foundation
AR Foundation enables you to create multi-platform augmented reality (AR) apps with Unity. This GitHub repository contains AR Foundation samples, the official AR Foundation sample app that you can download, build to your device, and use as a starting point for your own projects.
This project demonstrates the following AR Foundation implementations:
Platform Plug-in Android Google ARCore XR Plug-in iOS Apple ARKit XR Plug-in Meta Quest Unity OpenXR: Meta Android XR Unity OpenXR: Android XREach AR Foundation feature is used in a minimal sample scene with example code that you can modify or copy into your project.
The main branch of this repository uses AR Foundation 6.3 and is compatible with Unity versions 6000.0 and newer. Refer to the following table for links to other branches of this repository and their corresponding Unity versions.
You can build the AR Foundation Samples project directly to device, which can be a helpful introduction to using AR Foundation features for the first time.
To build to device, follow the steps below:
All sample scenes in this project can be found in the Assets/Scenes folder. To learn more about how each scene works, refer to the AR Foundation samples documentation, which is now published as part of the AR Foundation user manual.
Refer to sections below to understand how to provide different kinds of feedback to Unity.
To report a bug in AR Foundation, please file a bug. You may also submit a GitHub issue, but GitHub issues are unofficial, and we will close your GitHub issue if it does not contain an official bug ID number. The best way to ensure that your issue is addressed is to file a bug using Unity's official bug reporting process.
To request a new feature in AR Foundation or related packages, use Unity's XR Roadmap. Click on the AR Foundation tab, then scroll down to Submit a New Idea.
We are not accepting pull requests at this time. If you find an issue with the samples or would like to request a new sample, please submit a GitHub issue.
Version typo in README
AR Foundation – Image Tracking Offset / Drift for Large-Scale Models
[Bug] VisionOSReferenceObjectEntry does not export properly to AssetBundle
[Bug] Meta Quest 3 TryRequestSceneCapture (Cancel) black background
Tracked images not removed even after assigning fresh mutable reference image library [Bug]
[Bug] Camera feed extreme lag after 6.0.X to 6.1.0 AR foundation upgrade
[Bug] iOS 17 + iPhone 15 Pro - Random Crashes
Xcode error in main funtion [ufw runUIApplicationMainWithArgc: argc argv: argv];
How to convert display and projection matrix from swift to unity
[Bug] ARMeshManager is not able to delete meshes completely