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
Free Learning
Arrow right icon
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

eBook
$9.99 $29.99
Paperback
$36.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Colour book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
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
Estimated delivery fee Deliver to Russia

Economy delivery 10 - 13 business days

$6.95

Premium delivery 6 - 9 business days

$21.95
(Includes tracking information)

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 Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Colour book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to Russia

Economy delivery 10 - 13 business days

$6.95

Premium delivery 6 - 9 business days

$21.95
(Includes tracking information)

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
$19.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
$199.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
$279.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 $ 146.97
Enhancing Virtual Reality Experiences with Unity 2022
$59.99
XR Development with Unity
$36.99
Unity Cookbook
$49.99
Total $ 146.97 Stars icon
Banner background image

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 the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela