How To Setup VR Development in Unity 2022.2 with a Quest 2 (XR Interaction Toolkit 2.1)

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ม.ค. 2025

ความคิดเห็น •

  • @RhysDee
    @RhysDee ปีที่แล้ว +60

    For anyone stuck with the play view not working between the Quest and Unity. Open the Oculus software -> go to settings -> general -> make sure OpenXR Runtime is set to active.

    • @autobr_
      @autobr_ ปีที่แล้ว +1

      and further still, I recommend setting it to OpenXR default as well... wouldn't pick up the headset otherwise

    • @妧-n9y
      @妧-n9y ปีที่แล้ว

      Thank you so much. That helps.🥺

    • @BonaTheBone1
      @BonaTheBone1 ปีที่แล้ว +1

      thank you so much it took me 3 weeks to figure that out and this coment helped

    • @joshman234
      @joshman234 11 หลายเดือนก่อน +3

      Thank god for this comment, also you may have to allow unknown sources, which should be just above the OpenXR setting in the general tab

    • @kanter1598
      @kanter1598 8 หลายเดือนก่อน

      Thank you

  • @ThePaperMonde
    @ThePaperMonde 11 หลายเดือนก่อน +24

    MATE, you're saving my final semester project, thanks. You're the best.

  • @massgong2758
    @massgong2758 ปีที่แล้ว +7

    i was wonder why my touch controller cant move ,and i find this , i didnt set controller preset for both hand , u save my day ,much thanks ,liked it !

  • @chrloh9855
    @chrloh9855 ปีที่แล้ว +11

    Man without you my job would be so difficult

  • @ChrisBromley93
    @ChrisBromley93 ปีที่แล้ว +3

    God damn after following 3 tutorials that just broke Unity THIS is what i needed , thx so much i can finally get started with VR stuff lol

  • @lin.256
    @lin.256 2 หลายเดือนก่อน

    Full of useful information and a well rounded tutorial for starting a VR game in Unity. Thanks!

  • @serdardogan4175
    @serdardogan4175 10 หลายเดือนก่อน +1

    This video saved my many hours. Thank you!

  • @huzayfasyed5488
    @huzayfasyed5488 ปีที่แล้ว +7

    way better than the actual unity tutorial lol thank you

  • @kylemorrison8573
    @kylemorrison8573 6 หลายเดือนก่อน +1

    so clear and well done, also a lifesaver for my project semester!!

  • @the1anonlyblake
    @the1anonlyblake ปีที่แล้ว +13

    very good tutorial. Worked flawlessly for me. Keep up the great work! you have earned +1 like

    • @meetras
      @meetras  ปีที่แล้ว

      Glad it helped!

  • @arooly
    @arooly ปีที่แล้ว +3

    Thank you, first tutorial that works.

  • @Bunny_and_Quag
    @Bunny_and_Quag ปีที่แล้ว +2

    You're awesome!! This was so helpful to me just trying to figure out some basics. Cant wait to get more in depth with my VR development. Thanks a ton!

  • @appleseedgames6934
    @appleseedgames6934 ปีที่แล้ว +3

    For those wondering why controllers aren't moving or recieving input, you have to click on the controllers and select 'use reference' and manually put in the input controllers for each one as shown in the video for it to work

  • @FearTec
    @FearTec ปีที่แล้ว +1

    This helped me so much, worked a treat

  • @ancientRL
    @ancientRL 4 หลายเดือนก่อน

    Super helpful! I was stuck on something, and this video really helped me out. Thanks a lot

    • @meetras
      @meetras  4 หลายเดือนก่อน

      Glad it helped!

  • @jucarave
    @jucarave ปีที่แล้ว

    Awesome tutorial, just what I needed to get started

  • @DM-po1xb
    @DM-po1xb 10 วันที่ผ่านมา

    Thank you! Thank you! God Bless you!! Excellent work. Thank you!

  • @Koski_Sampo
    @Koski_Sampo 7 หลายเดือนก่อน

    Thank you. I'm getting an index out of range error at least 2 out of 3 times in one of the libraries when clicking play, but this still got me further than any other guide. Hope I can figure out the errors somehow. Might be because I'm running it on an a Quest 1, since it's all I could get my hands on

  • @junlunwang2676
    @junlunwang2676 ปีที่แล้ว +1

    Very nice tutorial I found a lot of tutorial video only this let me successful in Unity thanks

  • @t90gamemakervietnam8
    @t90gamemakervietnam8 9 หลายเดือนก่อน +1

    It's so awesome! Tks for your tutorial

    • @meetras
      @meetras  9 หลายเดือนก่อน

      You're welcome 😊

  • @jakemacleay
    @jakemacleay ปีที่แล้ว

    I❤U - ive wasted so much time trying to get this working by following wrong instructions. Thankyou!

  • @jeffreyjacobson916
    @jeffreyjacobson916 3 หลายเดือนก่อน

    Very helpful. Thank you for this video!

  • @2024-it
    @2024-it 10 หลายเดือนก่อน

    thanks you so much for the tutorial , save my semester lol

  • @swiatek34
    @swiatek34 ปีที่แล้ว

    Worked for me on first try, thanks

  • @WilEngl
    @WilEngl ปีที่แล้ว +1

    This is beautiful. Thank you so much :)

  • @vaxs_yt
    @vaxs_yt ปีที่แล้ว

    Thank you, this tutorial will help me so much !

  • @RecuRecording
    @RecuRecording 11 หลายเดือนก่อน +1

    Thank you so much. 100% helpfull

  • @sergk5701
    @sergk5701 8 หลายเดือนก่อน +2

    The tutorial is great, but after going precisely step by step - Unity says "Unable to start Oculus XR Plugin." - and nothing works. Cant find any solution to this. UPD ! : so here's what it was. Inside the Headset itself, inside it's VR environment : Settings \ System \ Quest link \ Launch Quest Link (and you actually need to push that thing with your controller ray, though it is not blue or anything) \ and now push button which says "Launch". The view inside headset should change entirely - and seems like that how you actually activate the link. Tricky thing - the "launch Quest Link" button may not be there. This means you need to restart your headset or need another cable or etc.. The video for the steps is here starting 2nd min: th-cam.com/video/kz33-7z_fM4/w-d-xo.htmlsi=hdGPPsgiaYUtNMTM&t=147
    so in your tutorial you are going through this very quickly starting 12th minute. BUT it seems it may be different depending on what happened with the headset before or whatever.

  • @wheatmonke
    @wheatmonke ปีที่แล้ว +1

    4:45 when you say check the android box there’s no android box for me. HELP

  • @Itharhadnana1999
    @Itharhadnana1999 7 หลายเดือนก่อน

    This is beautiful thank you so much

    • @meetras
      @meetras  7 หลายเดือนก่อน

      You're welcome 😊

  • @spark-games-uk
    @spark-games-uk ปีที่แล้ว

    Awsome as usual Luce ;)

  • @Friendlyclassic
    @Friendlyclassic 11 หลายเดือนก่อน +1

    Tip: if the android settings doesn’t show click file in the top left corner and build settings and install android from unity hub

    • @Tiazzful
      @Tiazzful 10 หลายเดือนก่อน

      Thank you!

  • @Nick-sc3hj
    @Nick-sc3hj ปีที่แล้ว +2

    Thank you for this tutorial! it is the First one that actually works!👏👏👏

    • @meetras
      @meetras  ปีที่แล้ว

      Glad it helped!

  • @FaustoTube1972
    @FaustoTube1972 ปีที่แล้ว +1

    Fantastic !!! And if I want to move in the scene ? Thanks

  • @mohamedriyas-r6f
    @mohamedriyas-r6f ปีที่แล้ว +1

    thank you so much brother

  • @einraumdesign
    @einraumdesign ปีที่แล้ว +2

    Very good guide - helped a lot. Thank you!

    • @meetras
      @meetras  ปีที่แล้ว

      Glad it helped!

  • @blaxxun75
    @blaxxun75 ปีที่แล้ว

    Why do you choose WINDOWS tab instead of ANDROID tab @ 5:17?

  • @appleseedgames6934
    @appleseedgames6934 ปีที่แล้ว

    Beautiful tutorial, thanks a lot

  • @tanziee
    @tanziee ปีที่แล้ว +2

    A great tutorial, even though it was setup for quest 2 I could set it up for my Rift!

  • @domolutz
    @domolutz ปีที่แล้ว

    Thank you very much for this tutorial. It worked rly well for the controllers but the headset doesn't get tracked for me, no position or rotation update...

  • @ansdummymail2024
    @ansdummymail2024 8 หลายเดือนก่อน +1

    now the xr interaction toolkit version is 3.0.3 and there is not left hand and right hand controller(no Vr Controller Action Based)
    What to do now? I am stuck in the beginning??

  • @joshuatree1577
    @joshuatree1577 ปีที่แล้ว

    keep doing these tutorials. Well done

  • @AlexRonai
    @AlexRonai ปีที่แล้ว +1

    When I click preset for the Left Controller and Right Controller, I have none even though I have the XR Interaction Toolkit and XR Plugin Management packages installed

    • @meetras
      @meetras  ปีที่แล้ว

      In the package manager for the XR Interaction Toolkit you need to import the sample assets.

  • @johnnywaffles6870
    @johnnywaffles6870 ปีที่แล้ว +1

    Great tutorial, thanks! Does anything change for Unity 2023 release?

    • @meetras
      @meetras  ปีที่แล้ว

      Not that I know of.

  • @benlines2987
    @benlines2987 ปีที่แล้ว +1

    I followed everything you did and the headset still doesn’t move in the Game tab

  • @emilibroooo
    @emilibroooo 3 หลายเดือนก่อน

    Great Tutorial! Can anyone point me in a direction for setting up the button/trigger/joystick animations on the quest controller?

  • @gilatto
    @gilatto ปีที่แล้ว

    You're awesome. Thanks.

  • @johnozier4001
    @johnozier4001 ปีที่แล้ว +1

    Great video.

    • @meetras
      @meetras  ปีที่แล้ว

      Thanks!

    • @johnozier4001
      @johnozier4001 ปีที่แล้ว +1

      @@meetras You’re very welcome. You are one of the few TH-camr who has made it clear to setup Oculus for Development

    • @meetras
      @meetras  ปีที่แล้ว +1

      @@johnozier4001 That’s a lot of praise! I’ve got a few more Unity / VR tutorials in the works, just trying to find the time to make them clear and concise as possible. Really happy to have helped you get setup though!

    • @johnozier4001
      @johnozier4001 ปีที่แล้ว +1

      @@meetras Looking forward to seeing more

  • @ritchiecoleman2813
    @ritchiecoleman2813 ปีที่แล้ว +1

    thank you it works

    • @meetras
      @meetras  ปีที่แล้ว

      You're welcome!

  • @BartMassee
    @BartMassee ปีที่แล้ว

    nice video!! thanks🎉

  • @曹若璇-l5o
    @曹若璇-l5o ปีที่แล้ว

    Thanks a lot! May I ask how can I save the real-time controller data(location and rotation)?

  • @frankreiser_recaremo
    @frankreiser_recaremo 7 หลายเดือนก่อน

    Amazing - thank you

    • @meetras
      @meetras  6 หลายเดือนก่อน

      Thank you too!

  • @Y-U-lookin--my-name
    @Y-U-lookin--my-name 4 หลายเดือนก่อน

    the part where you need to put in the controller model it dosnt let me do it PLEASE RESPOND ASAP

  • @IgnorantIguanna
    @IgnorantIguanna 3 หลายเดือนก่อน

    can someone explain why i can control my camera but it is just black in the headset, thanks

  • @maxhedges4167
    @maxhedges4167 ปีที่แล้ว

    Hey, given that I've completed all you have shown in this video. How do I then include joystick movement?

  • @serotoninshane
    @serotoninshane ปีที่แล้ว +1

    I'm having an issue where my vr controllers can intercept through each other when pushed together from both top ends. Any ideas on what I may be missing. (They track perfectly every other way besides that when touching). Cheers.

    • @meetras
      @meetras  ปีที่แล้ว

      The only thing I can think of is the position of the mesh is not completely at zero on the X, Y and Z this maybe the case for any of their parents too. That’s where I’d check first.

  • @grantsinclair7421
    @grantsinclair7421 ปีที่แล้ว +1

    there is no movement in this video right? i can look around and see the controller but the buttons do nothings. That still needs to be implemented correct?

    • @meetras
      @meetras  ปีที่แล้ว +1

      That is correct, for movement you need a locomotion system and add the necessary components to get teleportation or continuous movement. I have a very basic video on setting up teleportation but I don’t believe I’ve covered continuous movement yet.

  • @derinax3223
    @derinax3223 ปีที่แล้ว +2

    For some reason it wont track my oculus rift s controllers even though I set everything up the way you did

    • @meetras
      @meetras  ปีที่แล้ว

      There's a few things that can stop the controllers from tracking and missing just one of them can cause this headache. First make sure the preset was applied to the XR Controller component on the left and right hand controller game objects. Next check the scene has a XR Interaction Manager game object this should have been created when you added the XR Origin to the scene, if you're missing it right click in the hierarchy > Create > XR > XR Interaction Manager. Finally make sure in the scene there is an input action manager component with the XRI Default Input Actions file applied in the Action assets list, in the video I add this component to the XR Interaction Manager game object. Missing any of these steps can cause the controllers not to track.

    • @Actionsen
      @Actionsen ปีที่แล้ว +3

      @@meetras i have same issue and i made every step from your directions, and my quest 2 controllers still not working in game ((

    • @Actionsen
      @Actionsen ปีที่แล้ว

      But i have unity ver. 2022.2.17* and XRI Toolkit ver. 2.3.1 .. maybe this is important.. Does anyone fixed it?

  • @1979zeesh
    @1979zeesh ปีที่แล้ว

    an awesome and very precise tutorial mate...one question: can we publish our game using free personal plan?or at least visible to us only? just like we install our own android app on the phone for testing out of simulation environment

    • @autobr_
      @autobr_ ปีที่แล้ว +1

      you can build it to your oculus... I don't know that process but it's not "published" per se... as long as you don't officially publish it you won't be hit by that runtime pricing BS

  • @undeaddoeinc.407
    @undeaddoeinc.407 ปีที่แล้ว

    So when I got to preferences it doesnt show up. My Unity also doesnt restart after i install the plugins. What am i doing wrong?

  • @Buff55
    @Buff55 ปีที่แล้ว

    The presets seem to be missing. What are the settings that have to be used?

  • @debasishnath6751
    @debasishnath6751 11 หลายเดือนก่อน

    Is it possible to connect the oculus quest 2 with a USB cable tk pc?

  • @Lherme
    @Lherme ปีที่แล้ว

    does this work with virtual desktop instead of airlink/cable?

  • @lulitoscano
    @lulitoscano ปีที่แล้ว

    Hola! Cada vez que quiero seleccionar en cada controlador, en el XR controller action-based, la opcion del "XR Default..." no me aparece nada mas que "n one". Alguien sabe por qué? gracias!

  • @lelordiii8702
    @lelordiii8702 8 หลายเดือนก่อน

    I've been having this issue where the presets aren't there

  • @MrJostrooper
    @MrJostrooper 2 ปีที่แล้ว +3

    Good setup and easy to follow.
    However, I've been looking for a while how to make the hands visible with the controllers. I want to make the hands slightly translucent so that you can still see the buttons of the controller. The fingers also have to move when I use a button on the controller. Do you know how to set this up? Or do you know a good tutorial that explains that.

    • @meetras
      @meetras  2 ปีที่แล้ว +2

      Great question! What you will need is a hand model thats rigged in a 3D software such as Maya / Blender that has poses setup for each button press / interaction you would like.
      For the translucentcy you would achieve this with a transparent material or appropriate shader for your intended effect.
      For the fingers moving you would use blend shapes with a skinned mesh renderer and lerp between them depending on the provided input. With each button, trigger and analogue stick interaction this could get a little complicated very fast and is probably why there is not too many resources on how to achieve this, if I have time I'll try to make my own tutorial as its a very nice system to try implement.

    • @MrJostrooper
      @MrJostrooper 2 ปีที่แล้ว +1

      @@meetras I hope you can create a solution and looking forward to it already. Thanks

  • @Calabunga567
    @Calabunga567 11 หลายเดือนก่อน

    Where is the link to the oculus download page

  • @ridiqulos
    @ridiqulos ปีที่แล้ว +1

    Genius!

  • @BatukanDemirtaş
    @BatukanDemirtaş 9 หลายเดือนก่อน

    the quest link stuck on black screen with gtx 1650, anyone has a solution?

  • @strummyuke
    @strummyuke ปีที่แล้ว

    I know its probably a silly question, but do I need a physical quest 2 to start developing a game for it?

    • @DaleCooper222
      @DaleCooper222 ปีที่แล้ว

      Probably yes if you want to test it. The new toolkit has a system where you can do testing with keyboard. But it doesn't mean that the experience is the same. I done levels and then tested with oculus just to find lot of bugs

  • @natzos6372
    @natzos6372 ปีที่แล้ว

    the usb test somehow doesnt show up under setup and settings

  • @arsridharsadana7734
    @arsridharsadana7734 ปีที่แล้ว

    Hi in the camera offset I have only main camera there is no left and right quest

    • @meetras
      @meetras  ปีที่แล้ว

      That’s odd. If you go Create > XR > XR Origin (VR) there should be left and right controller automatically there. If not you could replace these by creating an empty game object and attaching an XR Controller component to each the left and right hands.

  • @ricardomiranda7737
    @ricardomiranda7737 2 ปีที่แล้ว

    For some reason only the left controller works when running the game. Any idea what may be happening with the right controller?

    • @meetras
      @meetras  2 ปีที่แล้ว

      On the right hand XR Controller have you applied the right hand preset from the interaction toolkits sample assets?

  • @KidraGames
    @KidraGames 3 หลายเดือนก่อน

    Does this work for quest 3

  • @Sufix_And_Predlog
    @Sufix_And_Predlog ปีที่แล้ว

    I don't Have Lefthand Controller and Righthand Controller

  • @InkGT99997
    @InkGT99997 ปีที่แล้ว

    my gpu is too bad to use the oculus app

  • @Andrew-he5gj
    @Andrew-he5gj ปีที่แล้ว

    brilliant thanks.....can you do one for input controls? got everything working but have no forward back etc

  • @SanyaGrek22
    @SanyaGrek22 ปีที่แล้ว

    What do you cheawing?

  • @SirServi
    @SirServi ปีที่แล้ว

    when i go to add the file from the meta app it wont let me transfer it over to unity

    • @HGodVR
      @HGodVR ปีที่แล้ว

      Same

  • @terryterry8744
    @terryterry8744 ปีที่แล้ว

    I keep getting unable to start Oculus XR Plugin message in console...

  • @Promonstermag_the_memer
    @Promonstermag_the_memer 6 หลายเดือนก่อน

    i dont have android logo

  • @nicolasjochem1814
    @nicolasjochem1814 ปีที่แล้ว

    thank you so much. wait are you telling me i dont need MQDH -.-

  • @cgiink
    @cgiink 10 หลายเดือนก่อน

    Has anyone tried with Quest 3? Pls

  • @Chocmuffin
    @Chocmuffin ปีที่แล้ว

    I can’t get my oculus to connect

  • @poulticegeist
    @poulticegeist ปีที่แล้ว +1

    when installing unity, will we need both openjdk and android sdk and ndk tools as shown in the unity hub installer for developing for the quest 2?

    • @meetras
      @meetras  ปีที่แล้ว +1

      If you plan to run the game as standalone on the Quest 2 yes, you will need to have all the android modules installed for your editor. If you plan to only develop for tethered VR then you’ll be fine with just a windows build. If you don’t have these installed you might be able to add them in Unity hub, if not uninstalling the editor version and reinstalling with the modules enabled will get you going.

  • @kiralight6825
    @kiralight6825 ปีที่แล้ว

    hello. testing

  • @randomchannel1281
    @randomchannel1281 ปีที่แล้ว

    Set it up wrong due to google fml I staysd up all fucking night 😢

  • @l0bst3r-harharharhar
    @l0bst3r-harharharhar ปีที่แล้ว

    i made a game for vr
    😀😀😀😀😀😀😀😁😁😁🤣🤣🤣😂😂😂🤯