Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
XR Development with Unity
XR Development with Unity

XR Development with Unity: A beginner's guide to creating virtual, augmented, and mixed reality experiences using Unity

Arrow left icon
Profile Icon Anna Braun Profile Icon Rizzo
Arrow right icon
€18.99 per month
Full star icon Full star icon Full star icon Full star icon Half star icon 4.8 (22 Ratings)
Paperback Nov 2023 284 pages 1st Edition
eBook
€15.99 €22.99
Paperback
€27.99
Subscription
Free Trial
Renews at €18.99p/m
Arrow left icon
Profile Icon Anna Braun Profile Icon Rizzo
Arrow right icon
€18.99 per month
Full star icon Full star icon Full star icon Full star icon Half star icon 4.8 (22 Ratings)
Paperback Nov 2023 284 pages 1st Edition
eBook
€15.99 €22.99
Paperback
€27.99
Subscription
Free Trial
Renews at €18.99p/m
eBook
€15.99 €22.99
Paperback
€27.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

XR Development with Unity

Introduction to XR and Unity

In this chapter, we will explore the extraordinary potential of XR development and how Unity, the leading game engine in the field, can help us unlock it. Through this journey, you will gain a deep understanding of the various forms of Extended Reality (XR) and their capabilities, paving the way for you to create immersive and unforgettable experiences. You will discover how Unity plays a crucial role in blending the realms of the physical and digital worlds worldwide. Let's dive into this fascinating world and discover the limitless possibilities that await us.

In this chapter, our discussion will encompass the following topics:

  • Understanding XR and its different forms (AR, MR, and VR)
  • How did Unity evolve as a platform for XR development?

Understanding XR and its different forms (VR, AR, and MR)

XR is an all-encompassing term that includes a range of technologies designed to enhance our senses. Whether it’s providing additional information about the physical world or creating entirely new, simulated worlds for us to explore, XR comprises Virtual Reality (VR), Augmented Reality (AR), and Mixed Reality (MR) technologies. You may be someone who has already put on multiple XR headsets, lost yourself in immersive VR games such as Beat Saber, or even have a VR headset of your own. If so, you already have a pretty good idea of what XR is. You may know that while VR implies a complete immersion experience that shuts out the physical world, AR and MR combine the real and virtual worlds with each other. However, can you pinpoint the differences between AR and MR?

What is the difference between AR and MR?

Let’s explore this through an example – imagine you’re wearing a Meta Quest 3 headset. This...

How did Unity evolve as a platform for XR development?

Unity Technologies, now a billion-dollar titan in the realms of gaming and XR, emerged from humble origins in a cozy Copenhagen flat in 2004. The company’s journey to dominating the market with its Unity game engine has been equally fraught with uncertainty and turbulence, like that of XR technologies.

In 2002, a Danish graphics student sought aid on a digital forum, where a Berliner high schooler with backend experience joined him. Serendipity united their game studio dreams. With only a father’s financial cushion and café wages, they created their first game in 2005 – an alien, trapped in a life-support sphere, navigating Earth. Players tilted the world, and the alien rolled, gathering gems and evading CIA capture, utilizing wall-sticking and jumping tricks. The game’s difficulty overshadowed its cutting-edge lighting, and it found little success. Recognizing their talent for building tools...

Summary

This chapter introduced you to the different facets of XR, namely AR, MR, and VR. You learned how AR strives to enhance our current reality, how MR pushes the boundaries of imagination to envision a world where real and virtual objects merge seamlessly, and how VR creates a completely alternative reality altogether. You now understand how the early dreams of delving into completely virtual or augmented realities transformed into bold actions and how XR development was and still is far from a straightforward path. You learned about Unity, from its humble beginnings to its worldwide dominance in game development, simulations, and XR development, looking at some state-of-the-art use cases. The following chapter will familiarize you with the Unity Hub and Editor. You will learn how to import assets, create materials, and acquire all the other skills you need before you can start developing your first XR experience.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Create impressive XR projects without the need to own expensive VR headsets
  • Explore Unity XR features and techniques such as hand-tracking and plane detection using the XR Interaction Toolkit and AR Foundation
  • Bring your XR projects to life with step-by-step explanations along with practical examples
  • Purchase of the print or Kindle book includes a free PDF eBook

Description

The drastic surge in the demand for XR development has led to an imminent need for comprehensive resources, learning material, and overall know-how in this area. This one-stop resource will ensure that professionals venturing into XR development can access all XR-related techniques to build appealing XR applications, without relying on Google every step of the way. This book is your guide to developing XR applications with Unity 2021.3 or later versions, helping you to create VR, AR, and MR experiences of increasing complexity. The chapters cover the entire XR application development process from setting up an interactive XR scene using the XR Interaction Toolkit or AR Foundation, adding physics, animations, continuous movement, teleportation, sound effects, and visual effects, to testing and deploying to VR headsets, simulators, smartphones, and tablets. Additionally, this XR book takes you on a journey from the basics of Unity and C# to advanced techniques such as building multiplayer applications and incorporating hand- and gaze-tracking capabilities. By the end of this book, you'll be fully equipped to create cutting-edge XR projects for engaging individual, academic, and industrial use cases that captivate your audience.

Who is this book for?

This book is for students, developers, researchers, and professionals with a background in computer science. Business analysts, PMs, and other management professionals and executives will also benefit from this book. If you have basic knowledge of programming and are looking to gain expertise in creating virtual reality and augmented reality applications in Unity, then this book is for you. While having experience as a VR game player with basic programming knowledge can enhance your understanding of the content, it is not a prerequisite.

What you will learn

  • Get started with Unity by building your own 3D project
  • Explore the XR Interaction Toolkit and AR Foundation, as well as test XR applications on your PC
  • Find out how to deploy XR projects on different platforms
  • Build interactive XR apps with increasing degrees of complexity by leveraging C# scripting
  • Create a fully immersive VR drum scene by using Unity's audio and particle systems
  • Add advanced XR techniques such as hand-tracking, gaze-tracking, and multiplayer capabilities to your XR apps

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Nov 30, 2023
Length: 284 pages
Edition : 1st
Language : English
ISBN-13 : 9781805128120
Languages :
Concepts :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Nov 30, 2023
Length: 284 pages
Edition : 1st
Language : English
ISBN-13 : 9781805128120
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 110.97
Unity Cookbook
€37.99
XR Development with Unity
€27.99
Enhancing Virtual Reality Experiences with Unity 2022
€44.99
Total 110.97 Stars icon

Table of Contents

14 Chapters
Part 1 – Understanding the Basics of XR and Unity Chevron down icon Chevron up icon
Chapter 1: Introduction to XR and Unity Chevron down icon Chevron up icon
Chapter 2: The Unity Editor and Scene Creation Chevron down icon Chevron up icon
Part 2 – Interactive XR Applications with Custom Logic, Animations, Physics, Sound, and Visual Effects Chevron down icon Chevron up icon
Chapter 3: VR Development in Unity Chevron down icon Chevron up icon
Chapter 4: AR Development in Unity Chevron down icon Chevron up icon
Chapter 5: Building Interactive VR Experiences Chevron down icon Chevron up icon
Chapter 6: Building Interactive AR Experiences Chevron down icon Chevron up icon
Chapter 7: Adding Sound and Visual Effects Chevron down icon Chevron up icon
Part 3 – Advanced XR Techniques: Hand-Tracking, Gaze-Tracking, and Multiplayer Capabilities Chevron down icon Chevron up icon
Chapter 8: Building Advanced XR Techniques Chevron down icon Chevron up icon
Chapter 9: Best Practices and Future Trends in XR Development Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.8
(22 Ratings)
5 star 90.9%
4 star 4.5%
3 star 0%
2 star 4.5%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Harry Hirsch Jul 04, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
To me it is an extremely good book, it has been copyread by serious people. I am still in the midst of it, struggling to get everything working, but this very well be due to me, most probably. I am also fairly new to Unity, though it looks a lot like Blender. The book is very modern, so you need to have a computer with graphic card, a Meta quest, and maybe more. Managed to get modernized by buying new equipment. Am really looking forward working through the book and get the examples working. The book uses one specific version of the XR interaction toolkit and warns you to stick to it, while there have been updates in just a few month and you get all kind of warnings.
Feefo Verified review Feefo
Christine Dec 07, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is ideal for beginners and those seeking insights into XR's different forms (VR, AR, and MR) in order to make informed decisions about their particular focus. It provides step-by-step guidance to start projects, thoroughly navigating the Unity Editor. The detailed coverage of computer technical requirements is uniquely helpful for newcomers. Even if coding isn't your forte, the book explains how to incorporate interactivity into VR scenes using both code-dependent and code-free methods in Unity. I appreciate how it touches on hand- and gaze-tracking, along with multiplayer VR. The inclusion of practical projects like the VR drum scene offer valuable hands-on learning, especially in implementing specific aspects like sound within experiences.
Amazon Verified review Amazon
Melina Nov 30, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Absolutely blown away by 'XR Development with Unity'! As a beginner in XR, I found the step-by-step tutorials incredibly helpful. It's like having a personal mentor guiding you through Unity. The sections on hand-tracking and plane detection are game-changers. Highly recommend!
Amazon Verified review Amazon
KC Dec 04, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
'XR Development with Unity' is an expertly designed handbook that is a must-have for anyone going into the world of Extended Reality (XR) using Unity. The book's thorough coverage of the most recent XR technologies — including Virtual Reality (VR), Augmented Reality (AR), and Mixed Reality (MR) — making it an important resource for both novice and expert developers. Its thorough examination of Unity's features, combined with practical examples, gives readers a thorough understanding of XR application development. The writers, Anna Braun and Raffael Rizzo, use their significant experience to deliver complicated topics in a clear and understandable manner, guaranteeing users with the knowledge and abilities needed to create immersive and interactive XR apps. The book's systematic method offers a smooth learning curve, from fundamental Unity setup to advanced XR techniques. Furthermore, the incorporation of real-world applications and future trends in XR strengthens the learning experience, transforming 'XR Development with Unity' into more than just an instructional tool, but a foresight into the future of XR technology.
Amazon Verified review Amazon
Andrea Cubeddu Nov 30, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The book covers everything from basics to advanced techniques. The multiplayer integration part was particularly enlightening. It's not just a book, but a comprehensive toolkit for anyone serious about XR development in Unity
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.