Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Virtual Reality

hector alvarado
hector alvarado
15,784 Points

Obsolete stuff the library VR changed for XR

When I run unity it tell's me that all the libraries are obsolete, I think it solves by changing VR to XR but I'm not sure if it works and why... hehe

1 Answer

Unity depreciated the VR namespace and replaced it with the XR namespace. This was done in support of having a unified namespace for VR, AR and mixed reality as opposed to having multiple namespaces for technologies that have a lot of intersect. Currently the XR namespace focuses on VR because

  1. VR is the primary focus of all the HMDs on the market including Microsoft's Mixed Reality offerings.
  2. All the current AR platforms are either proprietary to a platform (ARcore = Android, ARkit = iOS) or require a paid license for commercial use (Vuforia) and thus exist currently as plug-ins.
  3. Outside of Hololens (which Microsoft has said currently has no commercial release planned) no other HMD even supports AR.

Unity Manual: XR