SlideShare a Scribd company logo
1 of 14
Unity XR Platform:
New Architecture
Matt Fuad, Product Manager for AR/VR
Michael Durand, Lead Engineer, R&D XR Platforms
Agenda
3
— History of Unity’s XR support
— Learnings
— New Architecture
— Impact to Workflow
Today, Unity supports all major AR/VR platforms.
4
5
• Started working w/
Oculus for Rift +
GearVR support
• Started working w/
Microsoft for HoloLens
support
2014
2015 2017 2019
2016 2018• “One-click integration” --
landed support for
Oculus, HoloLens, and
PSVR
• Direct platform
implementations
• Landed VR multi-device
support, including
Cardboard / Daydream
• Added shared
implementation
• Landed ARKit and
ARCore support
• New plugin architecture
• Migrated platform
implementations as
packages using plugin
architecture
• AR Foundation
released, first user of
plugin architecture
• Landed Magic Leap
support
• VR abstraction for
display
What we’ve learned…
6
Flexibility with Packages
Increased flexibility through
packages, updates decoupled
from Unity core engine
releases.
New AR/VR Features
New AR/VR features are
released at an accelerated
pace.
New AR/VR Hardware
Market will see continued
stream of new devices from
more vendors.
…and our plan to improve.
“Build once, deploy anywhere”
Single framework for using
common features across
multiple platforms (AR
Foundation).
Plugin Architecture
Standardized set of APIs
designed to improve
community’s access to AR/VR
devices and features.
Common Functionalities
Devices share common set of
features across AR and VR –
display, input, etc.
New Plugin Architecture
7
— Provides a native API to HMD manufacturers and exposes a high level managed
(C#) APIs to Unity developers
— Multiple backend plugins (providers), implementing individual engine
features (subsystems), exposed as common developer-facing C# APIs
— Runtime discoverable, runtime activation
– Common life-cycle across all subsystems / providers
— Backwards compatibility
Subsystems
8
A subsystem is a logical group of hardware and/or software
functionality like display, rendering, input, and more.
It fundamentally improves how we deliver and manage SDKs for
our XR platform integrations.
Each subsystem contains…
9
Common engine code
which handles
communicating with the
C# interface, the native
interface, and the rest of
the engine
A native interface which
is implemented by
multiple backends
(Providers) via dynamic
libraries
A developer facing C#
interface
Unity XR Platform
10
Provider
Framework
AR Provider
Mesh
Input
Display
Low Level
(c++ modules)
Unity Core Engine
(rendering, player loop, etc.)
Mesh Input
Display
Native (c++)
Planes
Camera Input
Display
Low-level Managed API
Planes
Developer
Framework
High Level
(Public C# API, components, prefabs )
Camera Input
Display Planes
Environment Faces
Image Track. Obj. Track.
Raycast Meshing
VR Provider
Input
Display
Supported Subsystems
11
— Camera
— Depth
— Display
— Environment Probes
— Face Tracking
— Gesture
— Human Body
— Image Tracking
— Input
— Meshing
— Object Tracking
— Planes
— Raycast
— Reference Points
— Session
Getting Started
12
— All officially supported platforms are now implemented as
packages
– Provider releases now decoupled from Unity core engine releases
— Entry Point: “XR Plugin Management” Package
13
What’s Next?
14
— Migration of platform SDK implementations as packages
with new plugin architecture landing as verified in 2019.3
— Direct platform implementations will be marked as
deprecated in 2019.3
— Continued improvements in UI/UX experience with “XR
Plugin Management” package
Join the conversation on Unity’s XR forum!
— “XR Plugins & Subsystems”

More Related Content

What's hot

What's hot (20)

Introduction-to-Unity.ppt
Introduction-to-Unity.pptIntroduction-to-Unity.ppt
Introduction-to-Unity.ppt
 
Flutter
FlutterFlutter
Flutter
 
Unity Game Engine - Basics
Unity Game Engine - BasicsUnity Game Engine - Basics
Unity Game Engine - Basics
 
Flutter for web
Flutter for web Flutter for web
Flutter for web
 
2022 COMP4010 Lecture2: Perception
2022 COMP4010 Lecture2: Perception2022 COMP4010 Lecture2: Perception
2022 COMP4010 Lecture2: Perception
 
Presentation Virtual Reality and CAD
Presentation Virtual Reality and CADPresentation Virtual Reality and CAD
Presentation Virtual Reality and CAD
 
Flutter presentation.pptx
Flutter presentation.pptxFlutter presentation.pptx
Flutter presentation.pptx
 
Flutter state management from zero to hero
Flutter state management from zero to heroFlutter state management from zero to hero
Flutter state management from zero to hero
 
Comp4010 Lecture10 VR Interface Design
Comp4010 Lecture10 VR Interface DesignComp4010 Lecture10 VR Interface Design
Comp4010 Lecture10 VR Interface Design
 
AR with vuforia
AR with vuforiaAR with vuforia
AR with vuforia
 
Comp4010 lecture11 VR Applications
Comp4010 lecture11 VR ApplicationsComp4010 lecture11 VR Applications
Comp4010 lecture11 VR Applications
 
Metaverse based ESG Digital Transformation for Accelerating Sustainability
Metaverse based ESG Digital Transformation for Accelerating SustainabilityMetaverse based ESG Digital Transformation for Accelerating Sustainability
Metaverse based ESG Digital Transformation for Accelerating Sustainability
 
Mixed reality
Mixed realityMixed reality
Mixed reality
 
Metaverse Enterprise Digital Twins for Sustainability
Metaverse Enterprise Digital Twins for SustainabilityMetaverse Enterprise Digital Twins for Sustainability
Metaverse Enterprise Digital Twins for Sustainability
 
Flutter festival - Write your first Flutter application
Flutter festival - Write your first Flutter applicationFlutter festival - Write your first Flutter application
Flutter festival - Write your first Flutter application
 
Firebase
FirebaseFirebase
Firebase
 
React Native - JSday
React Native - JSdayReact Native - JSday
React Native - JSday
 
React vs angular what to choose for your app
React vs angular what to choose for your appReact vs angular what to choose for your app
React vs angular what to choose for your app
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application Development
 
AUGMENTED REALITY PPT's
AUGMENTED REALITY PPT'sAUGMENTED REALITY PPT's
AUGMENTED REALITY PPT's
 

Similar to Unity XR platform has a new architecture – Unite Copenhagen 2019

"APIs for Accelerating Vision and Inferencing: Options and Trade-offs," a Pre...
"APIs for Accelerating Vision and Inferencing: Options and Trade-offs," a Pre..."APIs for Accelerating Vision and Inferencing: Options and Trade-offs," a Pre...
"APIs for Accelerating Vision and Inferencing: Options and Trade-offs," a Pre...
Edge AI and Vision Alliance
 
"The Vision API Maze: Options and Trade-offs," a Presentation from the Khrono...
"The Vision API Maze: Options and Trade-offs," a Presentation from the Khrono..."The Vision API Maze: Options and Trade-offs," a Presentation from the Khrono...
"The Vision API Maze: Options and Trade-offs," a Presentation from the Khrono...
Edge AI and Vision Alliance
 

Similar to Unity XR platform has a new architecture – Unite Copenhagen 2019 (20)

“Khronos Standard APIs for Accelerating Vision and Inferencing,” a Presentati...
“Khronos Standard APIs for Accelerating Vision and Inferencing,” a Presentati...“Khronos Standard APIs for Accelerating Vision and Inferencing,” a Presentati...
“Khronos Standard APIs for Accelerating Vision and Inferencing,” a Presentati...
 
Dot Net Project Mini Game
Dot Net Project Mini GameDot Net Project Mini Game
Dot Net Project Mini Game
 
KCD Munich - Cloud Native Platform Dilemma - Turning it into an Opportunity
KCD Munich - Cloud Native Platform Dilemma - Turning it into an OpportunityKCD Munich - Cloud Native Platform Dilemma - Turning it into an Opportunity
KCD Munich - Cloud Native Platform Dilemma - Turning it into an Opportunity
 
Crossware-Introduction_AmitDhagat-reduced.pdf
Crossware-Introduction_AmitDhagat-reduced.pdfCrossware-Introduction_AmitDhagat-reduced.pdf
Crossware-Introduction_AmitDhagat-reduced.pdf
 
Виктор Ерухимов Open VX mixar moscow sept'15
Виктор Ерухимов Open VX  mixar moscow sept'15 Виктор Ерухимов Open VX  mixar moscow sept'15
Виктор Ерухимов Open VX mixar moscow sept'15
 
Learn .NET Core - Introduction
Learn .NET Core - IntroductionLearn .NET Core - Introduction
Learn .NET Core - Introduction
 
O futuro do .NET : O que eu preciso saber
O futuro do .NET : O que eu preciso saberO futuro do .NET : O que eu preciso saber
O futuro do .NET : O que eu preciso saber
 
"APIs for Accelerating Vision and Inferencing: Options and Trade-offs," a Pre...
"APIs for Accelerating Vision and Inferencing: Options and Trade-offs," a Pre..."APIs for Accelerating Vision and Inferencing: Options and Trade-offs," a Pre...
"APIs for Accelerating Vision and Inferencing: Options and Trade-offs," a Pre...
 
Augmenting reality: Bring digital objects into the real world
Augmenting reality: Bring digital objects into the real worldAugmenting reality: Bring digital objects into the real world
Augmenting reality: Bring digital objects into the real world
 
Arm
ArmArm
Arm
 
Open Standards for Cross-Platform Gaming, Virtual & Augmented Reality | Neil ...
Open Standards for Cross-Platform Gaming, Virtual & Augmented Reality | Neil ...Open Standards for Cross-Platform Gaming, Virtual & Augmented Reality | Neil ...
Open Standards for Cross-Platform Gaming, Virtual & Augmented Reality | Neil ...
 
Cross Platform Mobile Technologies
Cross Platform Mobile TechnologiesCross Platform Mobile Technologies
Cross Platform Mobile Technologies
 
"The OpenVX Hardware Acceleration API for Embedded Vision Applications and Li...
"The OpenVX Hardware Acceleration API for Embedded Vision Applications and Li..."The OpenVX Hardware Acceleration API for Embedded Vision Applications and Li...
"The OpenVX Hardware Acceleration API for Embedded Vision Applications and Li...
 
Crosswalk and the Intel XDK
Crosswalk and the Intel XDKCrosswalk and the Intel XDK
Crosswalk and the Intel XDK
 
Mobile Web Apps and the Intel® XDK
Mobile Web Apps and the Intel® XDKMobile Web Apps and the Intel® XDK
Mobile Web Apps and the Intel® XDK
 
Spring One Tour Amsterdam 2019
Spring One Tour Amsterdam 2019Spring One Tour Amsterdam 2019
Spring One Tour Amsterdam 2019
 
Deploying Applications Using Pivotal Cloud Foundry - Lars Rosenquist & David ...
Deploying Applications Using Pivotal Cloud Foundry - Lars Rosenquist & David ...Deploying Applications Using Pivotal Cloud Foundry - Lars Rosenquist & David ...
Deploying Applications Using Pivotal Cloud Foundry - Lars Rosenquist & David ...
 
How Igalia Is Driving Innovation In Embedded Systems With Open Source Technol...
How Igalia Is Driving Innovation In Embedded Systems With Open Source Technol...How Igalia Is Driving Innovation In Embedded Systems With Open Source Technol...
How Igalia Is Driving Innovation In Embedded Systems With Open Source Technol...
 
Android seminar report
Android seminar reportAndroid seminar report
Android seminar report
 
"The Vision API Maze: Options and Trade-offs," a Presentation from the Khrono...
"The Vision API Maze: Options and Trade-offs," a Presentation from the Khrono..."The Vision API Maze: Options and Trade-offs," a Presentation from the Khrono...
"The Vision API Maze: Options and Trade-offs," a Presentation from the Khrono...
 

More from Unity Technologies

More from Unity Technologies (20)

Build Immersive Worlds in Virtual Reality
Build Immersive Worlds  in Virtual RealityBuild Immersive Worlds  in Virtual Reality
Build Immersive Worlds in Virtual Reality
 
Let’s get real: An introduction to AR, VR, MR, XR and more
Let’s get real: An introduction to AR, VR, MR, XR and moreLet’s get real: An introduction to AR, VR, MR, XR and more
Let’s get real: An introduction to AR, VR, MR, XR and more
 
Using synthetic data for computer vision model training
Using synthetic data for computer vision model trainingUsing synthetic data for computer vision model training
Using synthetic data for computer vision model training
 
The Tipping Point: How Virtual Experiences Are Transforming Global Industries
The Tipping Point: How Virtual Experiences Are Transforming Global IndustriesThe Tipping Point: How Virtual Experiences Are Transforming Global Industries
The Tipping Point: How Virtual Experiences Are Transforming Global Industries
 
Unity Roadmap 2020: Live games
Unity Roadmap 2020: Live games Unity Roadmap 2020: Live games
Unity Roadmap 2020: Live games
 
Unity Roadmap 2020: Core Engine & Creator Tools
Unity Roadmap 2020: Core Engine & Creator ToolsUnity Roadmap 2020: Core Engine & Creator Tools
Unity Roadmap 2020: Core Engine & Creator Tools
 
How ABB shapes the future of industry with Microsoft HoloLens and Unity - Uni...
How ABB shapes the future of industry with Microsoft HoloLens and Unity - Uni...How ABB shapes the future of industry with Microsoft HoloLens and Unity - Uni...
How ABB shapes the future of industry with Microsoft HoloLens and Unity - Uni...
 
Turn Revit Models into real-time 3D experiences
Turn Revit Models into real-time 3D experiencesTurn Revit Models into real-time 3D experiences
Turn Revit Models into real-time 3D experiences
 
How Daimler uses mobile mixed realities for training and sales - Unite Copenh...
How Daimler uses mobile mixed realities for training and sales - Unite Copenh...How Daimler uses mobile mixed realities for training and sales - Unite Copenh...
How Daimler uses mobile mixed realities for training and sales - Unite Copenh...
 
How Volvo embraced real-time 3D and shook up the auto industry- Unite Copenha...
How Volvo embraced real-time 3D and shook up the auto industry- Unite Copenha...How Volvo embraced real-time 3D and shook up the auto industry- Unite Copenha...
How Volvo embraced real-time 3D and shook up the auto industry- Unite Copenha...
 
QA your code: The new Unity Test Framework – Unite Copenhagen 2019
QA your code: The new Unity Test Framework – Unite Copenhagen 2019QA your code: The new Unity Test Framework – Unite Copenhagen 2019
QA your code: The new Unity Test Framework – Unite Copenhagen 2019
 
Engineering.com webinar: Real-time 3D and digital twins: The power of a virtu...
Engineering.com webinar: Real-time 3D and digital twins: The power of a virtu...Engineering.com webinar: Real-time 3D and digital twins: The power of a virtu...
Engineering.com webinar: Real-time 3D and digital twins: The power of a virtu...
 
Supplying scalable VR training applications with Innoactive - Unite Copenhage...
Supplying scalable VR training applications with Innoactive - Unite Copenhage...Supplying scalable VR training applications with Innoactive - Unite Copenhage...
Supplying scalable VR training applications with Innoactive - Unite Copenhage...
 
XR and real-time 3D in automotive digital marketing strategies | Visionaries ...
XR and real-time 3D in automotive digital marketing strategies | Visionaries ...XR and real-time 3D in automotive digital marketing strategies | Visionaries ...
XR and real-time 3D in automotive digital marketing strategies | Visionaries ...
 
Real-time CG animation in Unity: unpacking the Sherman project - Unite Copenh...
Real-time CG animation in Unity: unpacking the Sherman project - Unite Copenh...Real-time CG animation in Unity: unpacking the Sherman project - Unite Copenh...
Real-time CG animation in Unity: unpacking the Sherman project - Unite Copenh...
 
Creating next-gen VR and MR experiences using Varjo VR-1 and XR-1 - Unite Cop...
Creating next-gen VR and MR experiences using Varjo VR-1 and XR-1 - Unite Cop...Creating next-gen VR and MR experiences using Varjo VR-1 and XR-1 - Unite Cop...
Creating next-gen VR and MR experiences using Varjo VR-1 and XR-1 - Unite Cop...
 
What's ahead for film and animation with Unity 2020 - Unite Copenhagen 2019
What's ahead for film and animation with Unity 2020 - Unite Copenhagen 2019What's ahead for film and animation with Unity 2020 - Unite Copenhagen 2019
What's ahead for film and animation with Unity 2020 - Unite Copenhagen 2019
 
How to Improve Visual Rendering Quality in VR - Unite Copenhagen 2019
How to Improve Visual Rendering Quality in VR - Unite Copenhagen 2019How to Improve Visual Rendering Quality in VR - Unite Copenhagen 2019
How to Improve Visual Rendering Quality in VR - Unite Copenhagen 2019
 
Digital twins: the power of a virtual visual copy - Unite Copenhagen 2019
Digital twins: the power of a virtual visual copy - Unite Copenhagen 2019Digital twins: the power of a virtual visual copy - Unite Copenhagen 2019
Digital twins: the power of a virtual visual copy - Unite Copenhagen 2019
 
Virtual or real? AR Foundation best practices from Krikey - Unite Copenhagen ...
Virtual or real? AR Foundation best practices from Krikey - Unite Copenhagen ...Virtual or real? AR Foundation best practices from Krikey - Unite Copenhagen ...
Virtual or real? AR Foundation best practices from Krikey - Unite Copenhagen ...
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

Unity XR platform has a new architecture – Unite Copenhagen 2019

  • 1.
  • 2. Unity XR Platform: New Architecture Matt Fuad, Product Manager for AR/VR Michael Durand, Lead Engineer, R&D XR Platforms
  • 3. Agenda 3 — History of Unity’s XR support — Learnings — New Architecture — Impact to Workflow
  • 4. Today, Unity supports all major AR/VR platforms. 4
  • 5. 5 • Started working w/ Oculus for Rift + GearVR support • Started working w/ Microsoft for HoloLens support 2014 2015 2017 2019 2016 2018• “One-click integration” -- landed support for Oculus, HoloLens, and PSVR • Direct platform implementations • Landed VR multi-device support, including Cardboard / Daydream • Added shared implementation • Landed ARKit and ARCore support • New plugin architecture • Migrated platform implementations as packages using plugin architecture • AR Foundation released, first user of plugin architecture • Landed Magic Leap support • VR abstraction for display
  • 6. What we’ve learned… 6 Flexibility with Packages Increased flexibility through packages, updates decoupled from Unity core engine releases. New AR/VR Features New AR/VR features are released at an accelerated pace. New AR/VR Hardware Market will see continued stream of new devices from more vendors. …and our plan to improve. “Build once, deploy anywhere” Single framework for using common features across multiple platforms (AR Foundation). Plugin Architecture Standardized set of APIs designed to improve community’s access to AR/VR devices and features. Common Functionalities Devices share common set of features across AR and VR – display, input, etc.
  • 7. New Plugin Architecture 7 — Provides a native API to HMD manufacturers and exposes a high level managed (C#) APIs to Unity developers — Multiple backend plugins (providers), implementing individual engine features (subsystems), exposed as common developer-facing C# APIs — Runtime discoverable, runtime activation – Common life-cycle across all subsystems / providers — Backwards compatibility
  • 8. Subsystems 8 A subsystem is a logical group of hardware and/or software functionality like display, rendering, input, and more. It fundamentally improves how we deliver and manage SDKs for our XR platform integrations.
  • 9. Each subsystem contains… 9 Common engine code which handles communicating with the C# interface, the native interface, and the rest of the engine A native interface which is implemented by multiple backends (Providers) via dynamic libraries A developer facing C# interface
  • 10. Unity XR Platform 10 Provider Framework AR Provider Mesh Input Display Low Level (c++ modules) Unity Core Engine (rendering, player loop, etc.) Mesh Input Display Native (c++) Planes Camera Input Display Low-level Managed API Planes Developer Framework High Level (Public C# API, components, prefabs ) Camera Input Display Planes Environment Faces Image Track. Obj. Track. Raycast Meshing VR Provider Input Display
  • 11. Supported Subsystems 11 — Camera — Depth — Display — Environment Probes — Face Tracking — Gesture — Human Body — Image Tracking — Input — Meshing — Object Tracking — Planes — Raycast — Reference Points — Session
  • 12. Getting Started 12 — All officially supported platforms are now implemented as packages – Provider releases now decoupled from Unity core engine releases — Entry Point: “XR Plugin Management” Package
  • 13. 13
  • 14. What’s Next? 14 — Migration of platform SDK implementations as packages with new plugin architecture landing as verified in 2019.3 — Direct platform implementations will be marked as deprecated in 2019.3 — Continued improvements in UI/UX experience with “XR Plugin Management” package Join the conversation on Unity’s XR forum! — “XR Plugins & Subsystems”

Editor's Notes

  1. Plugin Architecture: This new architecture will allow for easier device integration into Unity in the future. This will also allow Unity developers greater accessibility to devices and features in the future. The architecture also allows us to more quickly respond to new features of the industry and able to deploy them to unity developers quicker.
  2. Subsystems and the APIs that devs use to interact with them are designed to be completely independent from one another. And even may or may not be present at all depending on the platform. So as a real-life example: let’s say you are writing an AR experience that can use 2D image recognition to trigger some behavior but prefers using 3D object recognition to trigger that behavior: your cross-platform code could query for the presence of a ObjectTracking Subsystem. If that subsystem is available you can use it. But for platforms where it isn’t available the application can gracefully fall back to using the ImageTracking subsystem. Again, none of the application code needs to know about any specific platform with this architecture: the code can simply query the availability of a particular feature. In addition, we could have a scenario where two platforms both provide Plane Tracking but one of them only detects horizontal planes and another detects both vertical and horizontal planes. Minor differences in capability like this can be expressed via metadata called a Subsystem Descriptor. In that simple example a readonly C# property expresses the underlying platform’s capabilities but still does so in a functionality-focused manner rather than in a platform-specific manner.
  3. Provider Framework: This layer defines the implementation of the platform and device-specific SDKs, written against predefined subsystem interfaces that connect to the Interface Layer. The Provider framework also handles the translation of platform-specific representations into platform-agnostic subsystem data. Interface Layer: This layer contains the optimized core engine implementation that will execute provider code written against the predefined subsystem interfaces. Note that subsystem APIs purely provide data - not GameObjects. Developer Framework: This layer exposes the functionality of the subsystems in a developer-friendly way, which includes game object-based representations of the data we get from APIs. Again, these are the public APIs that we encourage developers to code against.
  4. So, how does this impact your workflow and why should I care? The developer framework, or AR Foundation, as well as the individual providers (like Oculus, Windows MR, Magic Leap, etc.) are all distributed via the Unity Package Manager. And that’s great because it allows developers to get new functionality and bug fixes without the need to upgrade to an entirely new version of Unity. This allows for increased flexibility where updates to the SDKs can be accessed outside of the core Unity release cycle. This is great, but we realize that loading and managing all of these packages, for the various platforms you want to build for, can get cumbersome. So, we’ve created the XR Plugin Management package, designed to be a single entry point for exactly that, loading and managing the various platform SDKs you want to target.
  5. Here’s what it looks like in the editor. Instead of going to Player Settings as a first step, the settings for XR and SDKs will now appear under Project Settings. Before that though, you’ll need to download the XR Plugin Management package from the Package Manager, making sure you enable preview packages. The XR Management package will now serve as the main entry point for loading the right package for each target SDK/platform and managing respective settings. XR Management is also needed to make the XR Settings show up in Project Settings. Once downloaded, the XR Management package will take you to Project Settings, where the loading and management of supported XR platforms will take place.