Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

arfoundation-samples

> 编程语言
Open source

Example content for Unity projects based on AR Foundation

3.4K stars0 likes0 views
WebsiteGitHub

About

Example content for Unity projects based on AR Foundation

AR Foundation samples

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 XR

Each AR Foundation feature is used in a minimal sample scene with example code that you can modify or copy into your project.

Which version should I use?

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.

Unity version AR Foundation version Unity 6.5 beta (6000.5) 6.5 Unity 6.4 (6000.4) 6.4 (main branch) Unity 6.3 LTS (6000.3) 6.3 Unity 6.0 LTS (6000.0) 6.0 2022.3 (Enterprise license only) 5.2

How to use these samples

Build and run on device

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:

  1. Install Unity 6000.0 or newer, and clone this repository.
  2. Open the Unity project at the root of this repository.
  3. As with any other Unity project, go to the Build Profiles window, select your target platform, and build this project.

Understand the sample code

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.

Community and feedback

Refer to sections below to understand how to provide different kinds of feedback to Unity.

AR Foundation bug reports

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.

AR Foundation feature requests

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.

Contributions to this repository

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.

GitHub Issues· 33 open

View all on GitHub
  • #1221

    Version typo in README

    bugUpdated Apr 24, 2026
  • #1220

    AR Foundation – Image Tracking Offset / Drift for Large-Scale Models

    bugUpdated Apr 23, 2026
  • #1218

    [Bug] VisionOSReferenceObjectEntry does not export properly to AssetBundle

    bugUpdated Mar 31, 2026
  • #1213

    [Bug] Meta Quest 3 TryRequestSceneCapture (Cancel) black background

    bugfixedUpdated Jan 28, 2026
  • #1199

    Tracked images not removed even after assigning fresh mutable reference image library [Bug]

    bugUpdated Dec 16, 2025
  • #1206

    [Bug] Camera feed extreme lag after 6.0.X to 6.1.0 AR foundation upgrade

    bugUpdated Oct 19, 2025
  • #1111

    [Bug] iOS 17 + iPhone 15 Pro - Random Crashes

    bugfixpendingUpdated Dec 5, 2024
  • #1172

    Xcode error in main funtion [ufw runUIApplicationMainWithArgc: argc argv: argv];

    Updated Oct 31, 2024
  • #1191

    How to convert display and projection matrix from swift to unity

    how toUpdated Sep 3, 2024
  • #1190

    [Bug] ARMeshManager is not able to delete meshes completely

    bugUpdated Aug 12, 2024

Highlights

  • •C#

> Tags

C#

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言