GithubHelp home page GithubHelp logo

mubeenfahmed / arfoundation-samples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from unity-technologies/arfoundation-samples

0.0 1.0 0.0 16.32 MB

Example content for Unity projects based on AR Foundation

License: Other

C# 98.72% ShaderLab 1.28%

arfoundation-samples's Introduction

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 XR Plugin
  • ARKit XR Plugin
  • 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 GameObjects and MonoBehavours.

The master 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

TL;DR: If you want to checkout the latest and greatest features in ARKit 3, use this master branch, Xcode 11 beta 3, and a device running iOS 13 beta. Otherwise, see the 2.1 branch, which only lacks support for the new ARKit 3 features.

The master branch includes support for ARKit 3, which is still in beta and requires Xcode 11 beta 3 and iOS 13 beta 3. If you run these samples on a pre-iOS 13 device, your app will crash on startup with this message:

dyld: Symbol not found: _OBJC_CLASS_$_ARMatteGenerator

The 2.1 branch is compatible with Xcode 9 and 10 and only lacks the new ARKit 3 features.

ARFoundation 2.2 provides interfaces for ARKit 3 features, but only Unity's ARKit XR Plugin 2.2 package contains support for these features and requires Xcode 11 beta 3 and iOS 13 beta 3. Unity's ARKit XR Plugin 2.2 is not backwards compatible with previous versions of Xcode or iOS. Unity's ARKit XR Plugin 2.1 will work with the latest ARFoundation (it just doesn't implement the ARKit 3 features).

While Xcode 11 & iOS 13 are in beta, we will continue to maintain both the 2.2 and 2.1 versions of the packages.

The same is also true for Unity's ARKit Face Tracking package 1.1: it requires Xcode 11 beta 3 and iOS 13 beta 3.

This table shows the latest version of Unity's ARKit XR Plugin and its Xcode and iOS compatibility:

Unity ARKit XR Plugin Unity ARKit Face Tracking Xcode Version iOS Version
2.2 1.1 11 beta 3 13 beta 3
2.1 1.0 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

  1. Download the latest version of Unity 2019.1 or later.

  2. Open Unity, and load the project at the root of the arfoundation-samples repository.

  3. Open your choice of sample scene.

  4. See the AR Foundation Documentation for usage instructions and more information.

arfoundation-samples's People

Contributors

todds-unity avatar danmillerdev avatar johnsietsma avatar tdmowrer avatar davidmohrhardt avatar robinmasquesgn avatar malduffin avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.