SlideShare ist ein Scribd-Unternehmen logo
1 von 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”

Weitere ähnliche Inhalte

Was ist angesagt?

Augmented reality report
Augmented reality reportAugmented reality report
Augmented reality report
Satyendra Gupta
 

Was ist angesagt? (20)

AR / VR -- Rise of Technology
AR / VR -- Rise of Technology AR / VR -- Rise of Technology
AR / VR -- Rise of Technology
 
Augmented reality report
Augmented reality reportAugmented reality report
Augmented reality report
 
Unity 3D, A game engine
Unity 3D, A game engineUnity 3D, A game engine
Unity 3D, A game engine
 
Comp4010 lecture6 Prototyping
Comp4010 lecture6 PrototypingComp4010 lecture6 Prototyping
Comp4010 lecture6 Prototyping
 
Augmented reality and virtual reality (1)
Augmented reality and virtual reality (1)Augmented reality and virtual reality (1)
Augmented reality and virtual reality (1)
 
Research Directions in Transitional Interfaces
Research Directions in Transitional InterfacesResearch Directions in Transitional Interfaces
Research Directions in Transitional Interfaces
 
Introduction to Extended Reality - XR
Introduction to Extended Reality - XRIntroduction to Extended Reality - XR
Introduction to Extended Reality - XR
 
Augmented Reality
Augmented RealityAugmented Reality
Augmented Reality
 
Augmented reality
Augmented realityAugmented reality
Augmented reality
 
AR - Augmented Reality
AR - Augmented RealityAR - Augmented Reality
AR - Augmented Reality
 
Augmented Reality
Augmented Reality Augmented Reality
Augmented Reality
 
Augmented Reality (AR)
Augmented Reality (AR)Augmented Reality (AR)
Augmented Reality (AR)
 
Lecture 2 Presence and Perception
Lecture 2 Presence and PerceptionLecture 2 Presence and Perception
Lecture 2 Presence and Perception
 
Advanced Methods for User Evaluation in AR/VR Studies
Advanced Methods for User Evaluation in AR/VR StudiesAdvanced Methods for User Evaluation in AR/VR Studies
Advanced Methods for User Evaluation in AR/VR Studies
 
COMP 4010 - Lecture 4: 3D User Interfaces
COMP 4010 - Lecture 4: 3D User InterfacesCOMP 4010 - Lecture 4: 3D User Interfaces
COMP 4010 - Lecture 4: 3D User Interfaces
 
Augmented reality technical presentation
 Augmented reality technical presentation Augmented reality technical presentation
Augmented reality technical presentation
 
Augmented Reality
Augmented RealityAugmented Reality
Augmented Reality
 
UNITY 3D.pptx
UNITY 3D.pptxUNITY 3D.pptx
UNITY 3D.pptx
 
Comp4010 Lecture7 Designing AR Systems
Comp4010 Lecture7 Designing AR SystemsComp4010 Lecture7 Designing AR Systems
Comp4010 Lecture7 Designing AR Systems
 
Comp 4010 2021 Lecture1-Introduction to XR
Comp 4010 2021 Lecture1-Introduction to XRComp 4010 2021 Lecture1-Introduction to XR
Comp 4010 2021 Lecture1-Introduction to XR
 

Ähnlich wie 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
 

Ähnlich wie 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...
 

Mehr von Unity Technologies

Mehr von 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 ...
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 

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”

Hinweis der Redaktion

  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.