Get Started with Meta Quest Development in Unity | Meta's new XR SDK release!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi XR developers in this video we're going to look at how to get started with meta Quest development in unity if you just got your meta Quest and you would like to develop for The Meta ecosystem this tutorial is for you in this video we're going to set up your development environment and headset install and use the meta developer Hub and finally create our first VR app on the meta Quest if you enjoy this type of videos and you would like to support me please check out my patreon where you can find all the source codes for each tutorial or simply subscribe to this channel for any questions feel free to join our XR developers discore Community now let's get started the recommended process of developing apps in unity for meta follows a basic pattern firstly you would get familiar with and set up your development environment which usually consists of your Hardware like your quest and your computer a game engine like unity in this case as well as any additional software that is required or very helpful in development such as the meta Quest developer Hub secondly you start reading the documentation getting familiar with the key terms and building your first app fast make mistakes fast and learn from them as well as try to fix them by looking at the documentation yourself thirdly know how to properly download install and update the necessary sdks and XR plugins for meta development then number four learn new tools to make your development even faster such as the project setup Tool The Meta XR simulator and building blocks number five and at this time you will already have a good understanding of the meta ecosystem and the Oculus integration for Unity we are then ready to develop basic apps and study existing samples for different features such as hand tracking pass through mode or voice SDK at this point we are ready to to fully Embrace and dive into the meta presence platform which includes capabilities like mixed reality consisting of pass through spatial anchors and scene understanding then interactions consisting of the interaction SDK hand tracking voice SDK tracked keyboard audio SDK and virtual keyboard and finally social presence consisting of the movement SDK for eye face and body tracking last after learning about all of those Concepts there is still more to explore such as performance optimizations how to distribute your app on applab or The Meta Quest store how to design user experiences or simply explore new and upcoming developer tools let's finally dive into the setup of the development environment we require any meta Quest headset such as meta Quest 2 3 or Pro and a computer with a 2.0 gz processor or higher and at least 2 GB of Ram it can either run Windows 10 or higher or Macos Sierra 10 or higher if you are setting up your medaquest for the first time install the Oculus mobile app from Google Play or the App Store and follow either the instructions on your phone and inside your meta Quest or simply follow this in-depth tutorial from meta on how to set up your meta Quest then we are ready to install the unity Hub go to the website in the description and download the installer and begin the installation once everything is ready you can sign into your Unity account and choose your license either free or professional will work next we can finally install our Unity editor understanding these different versions is very important meta recommends us to use Unity 2021 LTS to learn more about the different versions check out the unity download archive the link is in the description let's select the latest Unity 2021 LTS version version and make sure to select the necessary modules if you haven't installed any IDE like Visual Studio definitely also do this here I have it installed so I unselect it for meta it is necessary to include all the Android modules if you forgot to add them don't worry you can always go back and add additional modules just go to the installs Tab and click on the gear icon and choose your modules next let's create our first app we open the project tab select new project and select our Unity version that we would like to create our app in then we select a template and the render pipeline I recommend starting out with the universal render pipeline or urp for short let's give our project a name choose a place to save it and then since Unity Hub version 3.6 we also have to select our Unity organization if we want to use Unity cloud and unity's Version Control we don't so we uncheck it then click on create project once the project is open let's place our first game object in our scene let's rightclick into our hierarchy and create a new sphere let's position it a little bit forward on the z- AIS and reduce its size to 0.2 make sure to save your project frequently before we continue let's open the build settings and make sure we are on the Android platform Pro tip make sure to switch to the Android platform before importing any assets or package since it will otherwise take a long time to recompile your project then go to the project settings and then down to the XR plug-in management and let's install it once installed we can install the XR plugins we need for our device for meta you can either choose the Oculus Plugin or the open XR plugin let's keep it simple for now and go with the Oculus plugin and check the checkbox for Android and Windows we are finally ready to import our first SDK which is the Oculus integration from meta there are multiple ways how to install this package you can either download the unity asset from the developer Center and then simply drag it into your project window this can be helpful if you need to find and install an older version which you can select in the drop- down window here however and even easier way is to use the unity asset store directly you can find the link in the description we simply add the package to our assets and then open it in our package manager go to my assets search for the Oculus integration and wait a little bit for Unity to find it in your assets click on download and then on import when clicking on import you can see all the folders and files included in the Oculus integration you rarely will use all of of them this is why starting from version 59 onwards meta will split up different features in separate Unity packages which can be found separately on the unity asset store the all-in-one package that we now used for version 57 will not be available anymore you may be wondering now which separate packages you will need but don't worry meta has listed all packages on this page and I will leave the link in the description the packages you will use most likely are the core package containing essential functionalities for your camera rig and controllers as well as the interaction package adding interactions like Ray poke Locomotion and grab for controllers hands and controllers as hands so make sure to get familiar with its structure to keep your project as lean as possible for the sake of Simplicity let's import all and see what we are working with here during the setup process you will get several dialogue Windows just accept each one until your Unity project will restart and you are finally ready to use all the features meta has to offer with the Oculus integration installed we have access to the so-called project setup tool which is the small Oculus logo at the bottom of our editor here we can see all the recommended changes to our project settings that optimize our app for meta Quest development this is super practical and saves us a lot of time configuring our project let's apply all the changes now awesome guys we now continue with the development of our app we delete the main camera in our scene and instead search for OVR camera rig in the project Windows search bar then drag it into your scene let's click on it and let's look at the OVR manager which is the heart of our player in the settings let's make sure to set the tracking origin type to floor and check the checkbox for our device now testing your app on the device itself before deployment is crucial and meta offers multiple ways on how to do that let me show you a very neat tool allowing you to test your app directly from the editor namely the Oculus link app keep in mind that this app only runs on Windows computers also make sure you have a graphics card and at least 8 gab of ram when using the Oculus link app you can check the requirements in the description below let's download the software now and install it on our machine you can find the link in the description below once installed log into your account and go to the settings tab under General next to open XR runtime select set Oculus as active if it is already active it will be grayed out finally let's go to the devices Tab and connect our meta quest to our Windows PC by cable make sure you follow the setup instructions and agree to any dialogue window inside your device once set up you can choose to either connect your device using a the Link cable or airlink which means just using your Wi-Fi to connect to your PC this can be achieved by using the toggle in your meta Quest menu when connect ing to Oculus link you will be brought into another environment inside your meta Quest where you can even see your PC screen you can either Press Play Here directly inside your headset or normally on your PC and as we can see we can now look around in our meta and see our sphere that we placed before we can also see the exact same in our Unity editor now this tool alone doesn't let you realistically test your app since it running on your PC and just showing the image on your metac reest to accurately test your app and especially also its performance you will need to build and install an APK which can be done in several ways if we open the build settings again we can see two buttons saying build or build and run now the fastest way is to connect our meta Quest refresh the device list select our device and then click on build and run once the process is finished this will start the APK on our device this is great for quick testing and with unity's incremental builds only the first time building will take several minutes and after that each change and additional build will take merely seconds but what if we want more control over our testing process maybe we want to start and stop or directly uninstall our app again or maybe we would like to measure our performance inside the headset or record some gameplay for this let's take the APK that was created from build and run or simply build a new one and then install the so-called meta Quest developer Hub or mqd for short which is the last tool we will look at in this video also this software runs both on Windows and Mac OS the mqd is a must for every developer and allows you to connect your headset to your PC either through cable or Wi-Fi lets you disable your guardian for testing receive device logs capture screenshots and videos deploy apps cast your gameplay directly to your p PC and download the latest meta tools and sdks all right let's download the mqd for your operating system and install it once that's done we connect our device allow USB debugging inside your headset and follow the setup very importantly if you haven't activated the developer mode yet you can do so by either doing that now by selecting it when it pops up in the dialogue window in the setup or by going to the menu inside your Oculus mobile app then devices and then select your device and open the headset settings where you can toggle the developer mode without the developer mode you cannot install your APK on your device now take your APK from before and simply drag and drop it into the apps tab in the developer Hub this will install the APK on device on the right side you will have options now to start and stop or uninstall your APK if you have any recordings or screenshots on your device you can simply access them by going to the file manager and open them in the file [Music] explorer awesome guys and that's how you get started with meta Quest development and set up the most important developer tools thank you so much for watching and definitely keep an eye out for new tutorials and also for the new mixed reality features especially for the meta Quest 3 and pro see you in the next [Music] video
Info
Channel: Black Whale Studio - XR Tutorials
Views: 17,754
Rating: undefined out of 5
Keywords: meta quest, meta quest unity, meta quest 3, meta quest 4, meta quest pro, meta quest 2, meta quest passthrough, develop app for meta quest, unity vr, unity meta, unity vr tutorial, unity tutorial 2024, meta quest tutorial, meta quest developer, meta presence platform, oculus integration, unity installation, meta vr, meta mixed reality, meta quest developer tools, meta setup tool, meta building blocks, meta xr simulator, meta quest depth api, unity meta xr
Id: BU9LYKM2TDc
Channel Id: undefined
Length: 14min 9sec (849 seconds)
Published: Sun Nov 05 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.