How to create a Quest 3 Mixed Reality App - Unity BEGINNER Tutorial!
Вставка
- Опубліковано 5 лют 2025
- I'll walk you through creating a Mixed Reality app based on a productivity app idea I had, using Meta Platform Tools in Unity. We'll be using Buildings Blocks to add a camera rig, passthrough, controller tracking, and interactions.
❤️ Support on Patreon: / dilmerv
🔔 Subscribe: / @dilmerv
🐦 Twitter X: / dilmerv
👥 Discord : / discord
📸 Instagram : / dilmerval
📌 Requirements:
Meta XR All-in-One SDK: (Affiliate Link) assetstore.uni...
Unity 2022 LTS With Android Build Support:
unity.com/prod...
📌 Here's a summary of today's Unity Mixed Reality Quest 3 video:
Unity Mixed Reality project setup and configuration (Project Setup Tool & Building Blocks)
Creating a Measuring Tape feature (C# MonoBehaviour with input handling, line generation, and measurement label placement)
Creating a Level Tool feature (grab interactions + C# MonoBehaviour)
Creating a simple UI with buttons (poke interactions + C# MonoBehaviour)
Demos showing the finished prototype, as well as an extended prototype I submitted to Meta as part of a new program.
💡Get Started With Meta Presence Platform & Building Blocks:
ocul.us/3Vadlsx
📌 Few Important resources to get to follow along:
Learn XR Core package: github.com/dil...
Menu prefab & icons: github.com/dil...
🥽 Learn & Get my XR Courses from:
www.learnxr.io
👉 My Blog / 🔥 Newsletter (Subscribe to get up to date XR news)
blog.learnxr.io
#meta #unity #quest3
📌 Full Unity project available on 𝑷𝒂𝒕𝒓𝒆𝒐𝒏: www.patreon.com/dilmerv
💡Let me know if you’ve any questions about this project or any doubts you may have about your own projects.
Thanks everyone and your support means a lot.
I can't wait to try it out tonight🎉 thanks Dilmer for this!!
Excellent, let me know how it goes, and have fun man! Thanks for your comment.
This is great idea Dilmer! Wonderfully done too
Thanks my friend, it was pretty fun to make it and make a video about it. Let me know if you have any questions.
Great work
I am glad you liked it, thanks for your feedback!
@@dilmerv Can u do a video how to optimize, anti aliasing and set urp settings for Oculus quest 2
Yes, absolutely! I'll be adding it to my TODO list, thanks for your feedback.
@@dilmerv thank you. I will be waiting for that video
That UI you used, wasnt available at the link. Is that still available?
Hey I apologize about this, looks like I had the GitHub repo as private. Try it again and you should be able to get the files. Thanks!
ide like to give you some advice,
I'm a Unity developer also I teach VR and Unity development in college.
even I'm having a hard time following you. because if you do something I don't know, there is no explanation about what you did.
this should have been a 2-hour video, not a 30-minute one.
I promise you'll get 1000 times more views if you explain what you're doing. XR is kinda new and there is a lot of demand with little to no supply.
Thank you for your honest feedback. I struggled to find the right balance between “too much” and “not enough,” and it sounds like this video didn’t go in the direction I intended. I’ll keep this in mind for future videos, perhaps being more detailed so beginners get the information they need while letting the more advanced devs skip over areas they already know.
Thanks again, and it’s amazing that you’re teaching in college, great work!
@@dilmerv thank you for your answer.
Ide take this video and make it 15 video of around 10 min each. Each video will be about building a single feature.
Is it possible to share the view through Meta Quest 3's passthrough via WebRTC?
I believe there are hacks to make that work but officially no there is no way to get access to the camera stream. Good question!
@@dilmerv Thanks so much for your answer.
By the way, in what you mentioned, does the fact that there’s no official way to access the camera stream mean it’s due to Meta’s policy blocking access to the camera?
Hello Mr. Dilmer. I tried your tutorial until the first part where we simulated in computer. After clicking the button, black screen appears, however no problems or bugs were written in console. Do you know what could cause the problem or how to solve it? Thank you for your videos!
Good question, did you end up using a Mac or a PC? also, is your current platform set to Standalone or Android?
@@dilmerv Yeap, I switched from Android to Mac, Pc, Linux and started simulation. Is it because of my MacBook where is not enough gpu?
but I am using on M1 chip
Are you using Meta Quest3?
Yes that’s what I am using in this video. But you could use a Quest 2 as well since they are not required features needing a Quest 3.
Ah my comment was deleted.. ok thanks.
Andrew thanks for your comment, I don't believe I've deleted any comments on this video. Do you mind asking what you thought was commented again? happy to help.
@@dilmerv It is youtube that autodelets comments . I guess they are running an AI on every comment that is written that checks if the comment was considered good or sounding mean. I wrote something like "The SSH at 4 minutes is not showing for me in github"
Good question. I believe you can use the HTTPS option and if your git credentials are setup correctly on your machine then it should allow you to get the package from the package manager. For SSH to show, you will need to login to GitHub.
Let me know if you have additional questions.
This looked like a very useful first time project I could demo at work but it goes too fast. I got to the point where you switched platforms and then say everything looks like it's working at 12:59 but when I do that and hit build and run I get a black screen and at that point I have to reboot my entire computer because it's completely hosed. Lol. Oh well, no free lunches today.
Thanks for your feedback, sounds like the majority of people want a more slow paced video, I will make sure to do so in the future. If you got a black screen make sure to switch to android but also go to the Project Setup Tool and apply all the fixes. When changing platforms the Project Setup Tool will need to run again since the settings do vary from platform to platform.
@@dilmerv Thanks. Do I need to enable developer mode on my meta quest 3 to complete this application?
Instead of cross product with the up vector which will change the measurementinfo location depending on which way the line is drawn, use the camera direction which you can get through the Billboard Alignment if you make the cameraRig transform public, then use this code to always put the measurement info in front of the line from the users perspective.
``` lastMeasurementInfo.transform.SetParent(lastTapeLineRenderer.transform);
// mid point calculation
Vector3 midpoint = 0.5f * (lastTapeLineRenderer.GetPosition(0) + lastTapeLineRenderer.GetPosition(1));
Vector3 directionToCamera = lastMeasurementInfo.GetComponent().cameraTransform.position - midpoint;
lastMeasurementInfo.transform.position = midpoint + (directionToCamera.normalized * measurementInfoLineOffsetLength);
```
Amazing thanks Michael, I will review it tomorrow and more likely push a change. Much appreciated!