How to test your game without a VR Headset with the new XR Device Simulator and the HMD Mock. ▶ Get access to the source code: / valemvr ▶ Join the Discord channel: / discord
Жүктеу.....
Пікірлер: 185
@johnisking342 Жыл бұрын
a year later and still a great video. for anybody watching this in the future you can follow all of these instructions except use "XR Origin (action based)" instead of the XR Rig shown in the video. If you dont use the action based one it wont show your controllers. Thank you for posting the video you're a hero in my book
@Bikerbarrie
Жыл бұрын
head movement works but i cannot get controllers to work at all. but everything is setup to a T. not sure why it isnt working can you help?
@SatoziEditZ
Жыл бұрын
Thanks
@snowtail19513 жыл бұрын
Perfect. Now I can make a VR game for little cost, then use the royalties from the game to buy a VR setup so I can actually test my product after it's finished.
@levifink3 жыл бұрын
I definitely would be interested in a video on the action based XR Rig, keep up the awesome work!
@ronaldpavon34343 жыл бұрын
You're a true hero. Keep creating this type of videos you will get very far with this content.
@Hex0dus3 жыл бұрын
Very cool stuff Valem! Keep on doing it! And yes, the new setup would make a good addition!
@marcoszanre Жыл бұрын
Amazing tutorial as always, thank you! Being able to start developing for XR, even if just for learning purposes, without an HMD is very welcome!
@ecykal353 жыл бұрын
This is really helpful because my laptop is not compatible with my headset so I can make my game while I save up for a better pc
@rollizle
3 жыл бұрын
I had to buy a new laptop to run VR, and once I got it, despite having the specs to run it, it wasn't compatible with my headset. Over a year later the Oculus Quest 2 launched, and Oculus Link works with my laptop so now I have both a laptop that can run VR and a headset that works with it. For the longest time though I had to build on my desktop which was super annoying. (Couldn't work on my project in class, couldn't build VR games at game jams, etc)
@tsykelvin6203
3 жыл бұрын
i can just move my sight why cant move my both hand?
@The_Mario_Files
Жыл бұрын
Mine too
@SYBIOTE3 жыл бұрын
this is so helpful , this is absolutely critical for testing and smooth workflow
@shashanksundi56693 жыл бұрын
Just the video I was looking for...Thank You!!!
@Bricksalive3 жыл бұрын
Thanks for this series man! Super helpful! Can you please do a tutorial for detecting hand motion for actions like running. Eg: swaying hands makes you run faster. And like in the game Stride where you can pull yourself over ledges with hand collision?
@JackieJKENVtuber3 жыл бұрын
This is great! My VR-Ready laptop is really low on storage space so being able to use my lesser (but usable) laptop to playtest without having to import the project to the headset everytime I change something.
@gracezhang36962 жыл бұрын
thank you so much for making this tutorial! so glad that i found this, i'm using macos so linking oculus to my laptop doesn't work... now i'm able to test play my project without building and deploying onto my headset!
@jakubpukovec77553 жыл бұрын
I couldn't get the action based input system working in Unity 2020.2. After switching to 2021.1.0b3 it started working. Thanks for the great video!
@tonilaseng46202 жыл бұрын
Deym this is so helpful, I need to develop vr environment for my final year project but my laptop couldn't support my oculus 2 link mode. I always sideload my apk for testing, but now I dont have to. Thank you!!!
@lionrouge74233 жыл бұрын
Merci beaucoup pour ce tuto Valem, je devais faire tout un environnement de réalité virtuelle sans head-set et c'était vraiment compliqué même si j'avais commencé à le faire avec tes anciens tutos J'aimerais que tu puisses expliquer tout le nouveau XR Rig et aussi comment mettre du son Merci :)
@mesopable3 жыл бұрын
Valem is a king! Thank you for the video. Going to test can I setup this with mac. Previously not been able.
@mesopable
3 жыл бұрын
Meh. Not a valid way for mac yet. Someday.
@GloryMeat3 жыл бұрын
As soon as I get the Oculus Quest 2 for Christmas, I'll be able to follow every tutorial you've made!
@MrVic-qu9qh
3 жыл бұрын
well some don't work with each other so be careful.
@TheGuayeah3 жыл бұрын
It would be great if you could make a video about Setting up the New Input System for any VR Controller
@densityvr3858
3 жыл бұрын
I agree!
@nouranelhamdy5954
3 жыл бұрын
Yeah I am really stuck at this point and I can't test any animation. Is there an alternative for TryGetFeatureValue() to use?
@lizzeplays1232
2 жыл бұрын
Yay
@christophercoutinho92813 жыл бұрын
Great tutorial. First one out explaining how to use the Simulator. Hope you can do one showing us how to connect an Xbox controller to the simulator. Also as Input Actions are the way forward in Unity, it would be good to know how to write code using these new Input Actions.👍
@Kombo-Chapfika3 жыл бұрын
Thank you, this is very useful while I wait for my oculus link cable.
@Mlop2213 жыл бұрын
Thanks that is really helpful!
@tbnr_skull Жыл бұрын
can you make a new version of this
@Quineywinnie3 жыл бұрын
Lol i was literally hoping youd make this vid.
@silviagioiaflorio51373 жыл бұрын
In newer versions you have to go in edit-> project settings and enable pre-release packages to see the XR package
@flamz1243
3 жыл бұрын
How do I get to the place were I enable pre-release
@lolous-studio3 жыл бұрын
Thank you so much !
@makulVR3 жыл бұрын
Can you please do a video for the new Input system? It would be very cool if those who have a Vive or GO also can enjoy your content.
@moishirand53243 жыл бұрын
it's very important, thanks
@dianacarolinaquintero6633 жыл бұрын
Thank you!
@vilelminigotsi40643 жыл бұрын
You are the best person in the whole world
@ELRandomMan3 жыл бұрын
Hey Valem, can you please make a tutorial on how to slice objects in VR, such as cutting bread or something, everything I find wont work, or is out of date. If you can take your time to do this, thank you
@dreamlands79263 жыл бұрын
Hey great video! I can't seem to find the source code in the Patreon page although there is a link in the description, is it suppose to be there?
@yasseralkhatib90922 жыл бұрын
French = merci Spanish = gracias German = danke Italian = grazie Portuguese = obrigado Farsi/Persian = mam’noon Hindi/Indian = dhanyavaad Chinese = xièxiè Arabic = shukraan Japanese = arigato Thai = khàawp-khun Zulu = ngiyabonga Navajo = ahéhee’ Tongan = mālō Esperanto = dankon you just saved me with this tutorial bro
@srikantramesh45533 жыл бұрын
Very nice video, Hats off.. Can you please make some more videos like this without VR Headset... Where did you get the hands, Is it there in standard assets?
@drseed28282 жыл бұрын
Thanks for the tutorial! I got most things working, on an existing game, I had just began to work on. One problem; my laptop doesn't have a scroll wheel. Is there a way to remap the keys to use the up and down arrows, instead of the scroll button? I am a newbie to VR, but I did notice there was a "T" that I can click, in the: XR device simulator/scroll [Mouse]/ binding properties/Binding Path, that has /scroll and was wondering if that is where I can edit the scrolling mouse, to a different method, like the up and down arrows. Any ideas welcome.
@lambsaucesauce46793 жыл бұрын
thanks i recentally got into building games and wanted to make games for vr
@GarrettHoyos3 жыл бұрын
You're a saint
@maxknight23723 жыл бұрын
Heyo thanks for this tutorial but i was wondering if you could add this onto your multiplayer series to fully implement both headset and non headset in the same world (: (Btw your the best!!)
@maxknight2372
3 жыл бұрын
Including it automatically detects if the player has a vr headset or not or the player has to choose (: Sorry if this is a lot to ask I seriously cannot find a way to do this.
@saltytree7293 жыл бұрын
Hey valem! I am the most beginner level programmer ever and your channel is amazing! I want to learn to make games as a hobby. Do you have a Roadmap of what I need to learn to become even half as good as you!? I am also going to subscribe to your patron in hopes to learn how to code and stuff! Is there a good book to learn or can a total beginner not do this and needs to go to school to learn computer science :(? Hope all is well in these horrible times my friend
@ryanraphael30463 жыл бұрын
Since the lockdown, I've been doing this, without an headset. I'm yet to get one😫but I've made many VR apps already.
@sarakhaled4493
3 жыл бұрын
can u connect with my pls
@usernamecantbeblank___49562 жыл бұрын
Super tutorial! Helped me a lot!:) But I have an issue with scrolling the mouse wheel. In play mode, the camera won't Zoom in or out. Any suggestions how to fix it?
@Akka50003 жыл бұрын
im getting a pcvr soon so im looking at this video
@Ralzone2 жыл бұрын
imagine if someone makes a game in pair with into the radius or half life alyx without a vr headset, it would be cool asf ngl.
@UrMom-tq9hb3 жыл бұрын
Hey Valem i like your content and its really helping me but could you make a tutorial how to copy my character like a window . So when i move the clone is moving too and things like that ?
@muhiramadhan5913 жыл бұрын
Hi just a question, with this way do we still need a real vr device (oculus, vive, or other) to do the settings or using the HMD mock is enough to guarantee everything work in editor is also work in real device?
@sumankumar-wk5gb2 жыл бұрын
Which key you have pressed that is holding the object and which key to drop the object on table. Because when I press shift+G it is simply moving from one place to other and dropping simply, could not hold for more time.
@skippy56523 жыл бұрын
This tutorial is wonderful. It's clear and easy to follow. Do you know if it is now possible to toggle between an active HMD and the Mock HMD while the game is running? If so then a tutorial on how to set up the script would be amazing!
@GeeCeeAte
Жыл бұрын
Anyone ever figure this out?
@skippy5652
Жыл бұрын
@@GeeCeeAte Not realy. I ended up making some work around where i would have both a VR rig and the mock rig in the same game object then forcibly swap the object's control from one to the other. I think it's a bit easier to do now since there are more tools and extensions in the OpenXR for this, but it is not a feature built into unity. It will require code.
@ChaosContrl2 жыл бұрын
How would you go about manipulating HTC Vive Trackers during mockup, for example?
@swastikdev61813 жыл бұрын
Dani's reaction after watching this : fuck wasted time and 700$
@teomandi3 жыл бұрын
I am on Unity 202.3.3f1 in a clean URP project and I when I enable the Mock HDM Loader, I get hundreds time that error: ``` Attempting to determine the size of an unknown feature type Id [-1]. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) ``` Can anyone help me please because I am stuck with that.
@mrslake70963 жыл бұрын
Thx
@ecykal353 жыл бұрын
Can you do a tutorial on adding shooting in your multiplayer series please?
@maxknight2372
3 жыл бұрын
^
@mohamedmah538 ай бұрын
Hey thanks for the helpful tutorial. Id did everything like in the video but I have one issue. I cant move my hands in game everything else works just the had. Does someone had a same problem?
@madlenbarth44853 жыл бұрын
For a reason I can't turn by using the mouse. I checked the inputs and everything looks right to me.. Maybe someone knows how to fix this issue?
@christmasjade1274
3 жыл бұрын
I have been trying for weeks and it still would not work for me neither
@ge926
3 жыл бұрын
I had the same problem. It turns out I forgot to add the Input Action Manager component to XR Rig and later add the sample XRI Defauld Input actions to it from the assets/samples/XR Interaction Toolkit/...
@mrslake70963 жыл бұрын
does the code for handling input change when using the action based xr rig ? Thanks
@hafsasheikh95113 жыл бұрын
Please suggest me any of your playlist which I should watch to learn VR game development from scratch As I don't know a single word and I have to create my final year project within 2 months.
@user-ou4yt9qf8e2 жыл бұрын
Can someone help? The only input working for me is the right click to move the camera around, that's it, even the scroll is not working. I don't know how to fix it, I followed all the steps. ok really dumb mistake, turns out I didn't save it so when I click to play it doesn't work
@benemy9 Жыл бұрын
I have this weird bug where I can, for example grab objects with the "G" key, and move the camera with holding right click and moving the mouse, but whatever buttons I press I cannot move the VR hands.
@marcelogoycochea81952 жыл бұрын
does it support m1 chip? becouse i tried doing these step and when i go on play mode the screen flickers
@benr32933 жыл бұрын
Everything worked perfectly for me, except head rotation. I hold down control and nothing happens. Hands rotate as normal. Did this happen for anyone else?
@ryrilya2289
3 жыл бұрын
This also happens to me. Any idea?
@robertanetzova795
3 жыл бұрын
Another comment helped me I paste it here 1. In the Hierarchy panel, under "XR Rig > Camera Offset", select Main Camera 2. In the Inspector panel for the camera expand Tracked Pose Driver (New Input System) 3. Double click on centerEyeRotation [XR HMD] under Rotation Action 4. Change the Path to XR HMD > XR Simulated HMD > centerEyeRotation 5. The Rotation action binding should now show centerEyeRotation [XR Simulated HDR] 6. Make sure that Tracking Type is set to Rotation And Position.
@waleedsaeed75213 жыл бұрын
Can you guide how can i walk in all directions of unity terrain using oculus quest???
@xAjido3 жыл бұрын
I'm getting "Attempting to determine the size of an unknown feature type Id [-1]" error, I noticed you were getting this too in the earlier part of the video but not later, I'm still getting it even after following along with everything. Any suggestions?
@just-dodo
3 жыл бұрын
+1...
@galactic_nova6653
3 жыл бұрын
I was getting spammed by this error too. Just figured out that Valem is getting spammed by it too but he has "collapse" activated in the debug console which keeps it from spamming. Hoped this helped. Have a good day. Edit: I've heard its a bug on unity's part
@nicolaskamien1825
2 жыл бұрын
I'm getting this too. Got a workaround?
@cobweb2404
2 жыл бұрын
Had the same bug. Should be fixed since 2020.3.27. I use 2020.03.32 and the error no longer occurs.
@ryekis Жыл бұрын
help: all emulator keys are working EXCEPT for the left mouse button work doesn't work to trigger or grab an objct :((
@sillyfella20093 жыл бұрын
You will need: Milk Phone Knife Patience
@vomitshot2896
3 жыл бұрын
And Don't Forget *UNITY'S PARTICLE SYSTEM*
@user-eg5jd9mw2n2 жыл бұрын
it didn't tell me about the device active is true even I followed everything Valem you've done... how to get that msg out? I'm afraid I'm falling on the first part
@jayhenstridge7519 Жыл бұрын
how do you get the xr settings in the player settings???
@avya800 Жыл бұрын
Why should I buy a 20k INR Headset for 15k INR freelancing project
@r1pfake5213 жыл бұрын
What's the best way to pause a VR game (for example while a menu is open)? Usually you can set the time scale to 0, but then my tracking scripts will also stop, do I have to manually disable all other (non VR) scripts / animators in the whole scene just to pause the game or am I missing something easy?
@yoshiegg6537
3 жыл бұрын
That depends on the game, but yes, pause all animators and transport the player to a black bubble or something in the scene somewhere with menus. Its complicated because unity's XR doesn't offer a build in solution yet.
@bassamaboallaban2 жыл бұрын
I cant move anything when in the game mode using my mouse, I followed every step carefully - Please help!
@prathamsinhmedhat20303 жыл бұрын
Please make tutorial a cricket batting vr game
@shreyasshevale68113 ай бұрын
Still works! just in case..
@anonymoussloth6687 Жыл бұрын
How did you change the controllers to hands??
@sxzdarkwrath2 жыл бұрын
If I build this game for pc vr, can I still play it without a pc vr headset??
@levexis3 жыл бұрын
if you buy vr addict do you get everything?
@Louuloutre3 жыл бұрын
Can we test the Game without the headset but with the Vr controller?
@shashwatsharma5803 жыл бұрын
I can't access the eye resolution in vr studio, can anyone help me.
@haritharajeev7108 Жыл бұрын
I am getting experimental package in use for MockHMD XR Plugin. What should I do?
@Un4eseen
2 ай бұрын
did you solve the issue?
@Mr77igor3 жыл бұрын
Someaone know what key exactly should i press to make the left cube move? And my camera does not rotate nor go forward, someone solved this problem?
@test-qm5vt
3 жыл бұрын
try left shift, or spacebar instead of left caps
@JuliXR5253 жыл бұрын
What is that VR SDK and how to install it?
@hanpol2 жыл бұрын
Where do you get the xr interaction toolkit? its not in the asset store
@nrb2488
2 жыл бұрын
kzread.info/dash/bejne/naKhm66igdLdmZc.html
@zohaibgamer24843 жыл бұрын
Make video on VR multiplayer game
@yanmin77313 жыл бұрын
12:45 does anyone know what is "left caps button"? how did he get the left cube to start moving?
@test-qm5vt
3 жыл бұрын
try left shift
@Mr77igor
3 жыл бұрын
im with the same problem
@HexOverride3 жыл бұрын
Yup
@lionrouge74233 жыл бұрын
Does somebody know why I can't rotate my head with Ctrl key but when I use it for the two controllers the rotation works fine?
@cristianorossetti987
3 жыл бұрын
+1
@przemeks9899
3 жыл бұрын
I had the same problem and for me it was enough to change the rotation binding for the Tracked Pose Driver of the Main Camera to centerEyeRotation [XR Simulated HMD]: 1. In the Hierarchy panel, under "XR Rig > Camera Offset", select Main Camera 2. In the Inspector panel for the camera expand Tracked Pose Driver (New Input System) 3. Double click on centerEyeRotation [XR HMD] under Rotation Action 4. Change the Path to XR HMD > XR Simulated HMD > centerEyeRotation 5. The Rotation action binding should now show centerEyeRotation [XR Simulated HDR] 6. Make sure that Tracking Type is set to Rotation And Position.
@yuanthony5199
3 жыл бұрын
Mayber it is with "Shift" key not "Ctrl" key
@robertanetzova795
3 жыл бұрын
@@yuanthony5199 shift is used to control the right hand controller, so it would not work for head rotation.
@quangnguyen3663
3 жыл бұрын
@@przemeks9899 you are right ... Amazing good job bro
@m.muhajirin773 жыл бұрын
How to make VR Game with 5DT data Glove ? Should you give us some tutorial about it
@corbinsteinmuller98612 жыл бұрын
5 mins in and stuck with the following error; Assets\HMDinfomanager.cs(11,52): error CS0117: 'XRSettings' does not contain a definition for 'isDeactiveActive' is there an updated version? thanks for the content :)
@halildogan7075
2 жыл бұрын
it's "isDeviceActive" , you typed "isDeactiveActive" . spelling problem. fix this and its all good to go
@anubis5203 жыл бұрын
I think I am losing my mind. xr interaction toolkit does not show up for me in the package manger under unity registry, is there something else I need to enable?
@Manish-be2pj
2 жыл бұрын
you need to enable the preview
@nrb2488
2 жыл бұрын
kzread.info/dash/bejne/naKhm66igdLdmZc.html Enable isn't enough (developpers are really dumbs)
@ejoojoo2 жыл бұрын
how to export webXR using this?
@mohammadrazakhan38523 жыл бұрын
So i can make the game the i can even use it with headset and its controller
@icelakegd3 жыл бұрын
yesssssssss
@abhinavsaha33423 жыл бұрын
I followed all the steps till 11:15 but the camera doesn't move for me using left mouse button please help!
@lucidity7145
3 жыл бұрын
The left mouse button selects I believe, try using the right one if you haven't happened to figure it out yet xD
@abhinavsaha3342
3 жыл бұрын
@@lucidity7145 thanks for your comment! I did something donno what and it started working lol
@lucidity7145
3 жыл бұрын
@@abhinavsaha3342 Aight great!
@alexasoryu7613 жыл бұрын
Hopely someone will answer my question, anyone else know how to build menu setting vr without headshet and vr with headshet in one apk?
@ChazMations3 жыл бұрын
Is this possible to run on Mac? and the newest version of unity???
@JayneJacobs
3 жыл бұрын
I am having no luck with using HMD simulator on Mac
@Manish-be2pj2 жыл бұрын
the hands will fall down if i add the rigidbody :(
@tinytea33233 жыл бұрын
I cant seem to make the camera rotation work :( any idea how to fix this?
@aloknarula803
3 жыл бұрын
I am facing similar issue
@przemeks9899
3 жыл бұрын
I had the same problem and for me it was enough to change the rotation binding for the Tracked Pose Driver of the Main Camera to centerEyeRotation [XR Simulated HMD]: 1. In the Hierarchy panel, under "XR Rig > Camera Offset", select Main Camera 2. In the Inspector panel for the camera expand Tracked Pose Driver (New Input System) 3. Double click on centerEyeRotation [XR HMD] under Rotation Action 4. Change the Path to XR HMD > XR Simulated HMD > centerEyeRotation 5. The Rotation action binding should now show centerEyeRotation [XR Simulated HDR] 6. Make sure that Tracking Type is set to Rotation And Position.
@ligacaopeptidica7524
3 жыл бұрын
@@przemeks9899 Helped a lot, thanks!
@docandree4818
3 жыл бұрын
@@przemeks9899 May God bless you. I have struggling with this for days!
@Gazeld
3 жыл бұрын
@@docandree4818 so have I ! :(
@acidblue42803 жыл бұрын
Hello. Tu es francophone ?
@mariyavesna2074 Жыл бұрын
why when I go to Player I don't have XR Settings there?
@jayhenstridge7519
Жыл бұрын
me too
@nrb24882 жыл бұрын
How to avoid objects of falling after rigidbody ?
@nrb2488
2 жыл бұрын
I found it, you must add a collider on your sphere and another on your cube
@m.muhajirin773 жыл бұрын
I have learned but i cant do that
@cursetin98332 жыл бұрын
Hi there! I need help, how do u move the perspective of the player by moving the phone itself? I've been searching for a tutorial but I cant find it anywhere :( my team is making a VR mobile game but we would like to have 2 viewing options. One with the VR headset like google cardboard and the other is just normal screen view but with the same UI system. can anyone help pls?
@fukukyun78
2 жыл бұрын
Hey, hope you figured it out by now, but if not, Valem also has a Google Cardboard tutorial here, I watched it months ago kzread.info/dash/bejne/o46uyrqBobuzXco.html I have it working, I haven't used it in awhile, but I'm also pretty sure the Google Cardboard SDK comes with a "Toggle" function with a button that let's you switch between VR and normal phone movement, so it's probably exactly what you're looking for.
@cursetin9833
2 жыл бұрын
@@fukukyun78 Hi there ! yes we used this too but sadly the switch view does not work :'') we are still trying to find a solution, do u know any codes that might help?
@cursetin9833
2 жыл бұрын
@@fukukyun78 we were planning to have 2 buttons once selected they will be able to switch from 2d view or the stereoscopic views
@fukukyun78
2 жыл бұрын
@@cursetin9833 Ah, sorry to hear that. I'm not too familiar with VR... But, I hope this helps you figure it out, I believe you can find the function for switching in the camera pointer script? I believe there's a function that disables VR mode. I hope that helps you out.
@cursetin9833
2 жыл бұрын
@@fukukyun78 Ill check that out, Thank you so much for the help!!
Пікірлер: 185
a year later and still a great video. for anybody watching this in the future you can follow all of these instructions except use "XR Origin (action based)" instead of the XR Rig shown in the video. If you dont use the action based one it wont show your controllers. Thank you for posting the video you're a hero in my book
@Bikerbarrie
Жыл бұрын
head movement works but i cannot get controllers to work at all. but everything is setup to a T. not sure why it isnt working can you help?
@SatoziEditZ
Жыл бұрын
Thanks
Perfect. Now I can make a VR game for little cost, then use the royalties from the game to buy a VR setup so I can actually test my product after it's finished.
I definitely would be interested in a video on the action based XR Rig, keep up the awesome work!
You're a true hero. Keep creating this type of videos you will get very far with this content.
Very cool stuff Valem! Keep on doing it! And yes, the new setup would make a good addition!
Amazing tutorial as always, thank you! Being able to start developing for XR, even if just for learning purposes, without an HMD is very welcome!
This is really helpful because my laptop is not compatible with my headset so I can make my game while I save up for a better pc
@rollizle
3 жыл бұрын
I had to buy a new laptop to run VR, and once I got it, despite having the specs to run it, it wasn't compatible with my headset. Over a year later the Oculus Quest 2 launched, and Oculus Link works with my laptop so now I have both a laptop that can run VR and a headset that works with it. For the longest time though I had to build on my desktop which was super annoying. (Couldn't work on my project in class, couldn't build VR games at game jams, etc)
@tsykelvin6203
3 жыл бұрын
i can just move my sight why cant move my both hand?
@The_Mario_Files
Жыл бұрын
Mine too
this is so helpful , this is absolutely critical for testing and smooth workflow
Just the video I was looking for...Thank You!!!
Thanks for this series man! Super helpful! Can you please do a tutorial for detecting hand motion for actions like running. Eg: swaying hands makes you run faster. And like in the game Stride where you can pull yourself over ledges with hand collision?
This is great! My VR-Ready laptop is really low on storage space so being able to use my lesser (but usable) laptop to playtest without having to import the project to the headset everytime I change something.
thank you so much for making this tutorial! so glad that i found this, i'm using macos so linking oculus to my laptop doesn't work... now i'm able to test play my project without building and deploying onto my headset!
I couldn't get the action based input system working in Unity 2020.2. After switching to 2021.1.0b3 it started working. Thanks for the great video!
Deym this is so helpful, I need to develop vr environment for my final year project but my laptop couldn't support my oculus 2 link mode. I always sideload my apk for testing, but now I dont have to. Thank you!!!
Merci beaucoup pour ce tuto Valem, je devais faire tout un environnement de réalité virtuelle sans head-set et c'était vraiment compliqué même si j'avais commencé à le faire avec tes anciens tutos J'aimerais que tu puisses expliquer tout le nouveau XR Rig et aussi comment mettre du son Merci :)
Valem is a king! Thank you for the video. Going to test can I setup this with mac. Previously not been able.
@mesopable
3 жыл бұрын
Meh. Not a valid way for mac yet. Someday.
As soon as I get the Oculus Quest 2 for Christmas, I'll be able to follow every tutorial you've made!
@MrVic-qu9qh
3 жыл бұрын
well some don't work with each other so be careful.
It would be great if you could make a video about Setting up the New Input System for any VR Controller
@densityvr3858
3 жыл бұрын
I agree!
@nouranelhamdy5954
3 жыл бұрын
Yeah I am really stuck at this point and I can't test any animation. Is there an alternative for TryGetFeatureValue() to use?
@lizzeplays1232
2 жыл бұрын
Yay
Great tutorial. First one out explaining how to use the Simulator. Hope you can do one showing us how to connect an Xbox controller to the simulator. Also as Input Actions are the way forward in Unity, it would be good to know how to write code using these new Input Actions.👍
Thank you, this is very useful while I wait for my oculus link cable.
Thanks that is really helpful!
can you make a new version of this
Lol i was literally hoping youd make this vid.
In newer versions you have to go in edit-> project settings and enable pre-release packages to see the XR package
@flamz1243
3 жыл бұрын
How do I get to the place were I enable pre-release
Thank you so much !
Can you please do a video for the new Input system? It would be very cool if those who have a Vive or GO also can enjoy your content.
it's very important, thanks
Thank you!
You are the best person in the whole world
Hey Valem, can you please make a tutorial on how to slice objects in VR, such as cutting bread or something, everything I find wont work, or is out of date. If you can take your time to do this, thank you
Hey great video! I can't seem to find the source code in the Patreon page although there is a link in the description, is it suppose to be there?
French = merci Spanish = gracias German = danke Italian = grazie Portuguese = obrigado Farsi/Persian = mam’noon Hindi/Indian = dhanyavaad Chinese = xièxiè Arabic = shukraan Japanese = arigato Thai = khàawp-khun Zulu = ngiyabonga Navajo = ahéhee’ Tongan = mālō Esperanto = dankon you just saved me with this tutorial bro
Very nice video, Hats off.. Can you please make some more videos like this without VR Headset... Where did you get the hands, Is it there in standard assets?
Thanks for the tutorial! I got most things working, on an existing game, I had just began to work on. One problem; my laptop doesn't have a scroll wheel. Is there a way to remap the keys to use the up and down arrows, instead of the scroll button? I am a newbie to VR, but I did notice there was a "T" that I can click, in the: XR device simulator/scroll [Mouse]/ binding properties/Binding Path, that has /scroll and was wondering if that is where I can edit the scrolling mouse, to a different method, like the up and down arrows. Any ideas welcome.
thanks i recentally got into building games and wanted to make games for vr
You're a saint
Heyo thanks for this tutorial but i was wondering if you could add this onto your multiplayer series to fully implement both headset and non headset in the same world (: (Btw your the best!!)
@maxknight2372
3 жыл бұрын
Including it automatically detects if the player has a vr headset or not or the player has to choose (: Sorry if this is a lot to ask I seriously cannot find a way to do this.
Hey valem! I am the most beginner level programmer ever and your channel is amazing! I want to learn to make games as a hobby. Do you have a Roadmap of what I need to learn to become even half as good as you!? I am also going to subscribe to your patron in hopes to learn how to code and stuff! Is there a good book to learn or can a total beginner not do this and needs to go to school to learn computer science :(? Hope all is well in these horrible times my friend
Since the lockdown, I've been doing this, without an headset. I'm yet to get one😫but I've made many VR apps already.
@sarakhaled4493
3 жыл бұрын
can u connect with my pls
Super tutorial! Helped me a lot!:) But I have an issue with scrolling the mouse wheel. In play mode, the camera won't Zoom in or out. Any suggestions how to fix it?
im getting a pcvr soon so im looking at this video
imagine if someone makes a game in pair with into the radius or half life alyx without a vr headset, it would be cool asf ngl.
Hey Valem i like your content and its really helping me but could you make a tutorial how to copy my character like a window . So when i move the clone is moving too and things like that ?
Hi just a question, with this way do we still need a real vr device (oculus, vive, or other) to do the settings or using the HMD mock is enough to guarantee everything work in editor is also work in real device?
Which key you have pressed that is holding the object and which key to drop the object on table. Because when I press shift+G it is simply moving from one place to other and dropping simply, could not hold for more time.
This tutorial is wonderful. It's clear and easy to follow. Do you know if it is now possible to toggle between an active HMD and the Mock HMD while the game is running? If so then a tutorial on how to set up the script would be amazing!
@GeeCeeAte
Жыл бұрын
Anyone ever figure this out?
@skippy5652
Жыл бұрын
@@GeeCeeAte Not realy. I ended up making some work around where i would have both a VR rig and the mock rig in the same game object then forcibly swap the object's control from one to the other. I think it's a bit easier to do now since there are more tools and extensions in the OpenXR for this, but it is not a feature built into unity. It will require code.
How would you go about manipulating HTC Vive Trackers during mockup, for example?
Dani's reaction after watching this : fuck wasted time and 700$
I am on Unity 202.3.3f1 in a clean URP project and I when I enable the Mock HDM Loader, I get hundreds time that error: ``` Attempting to determine the size of an unknown feature type Id [-1]. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) ``` Can anyone help me please because I am stuck with that.
Thx
Can you do a tutorial on adding shooting in your multiplayer series please?
@maxknight2372
3 жыл бұрын
^
Hey thanks for the helpful tutorial. Id did everything like in the video but I have one issue. I cant move my hands in game everything else works just the had. Does someone had a same problem?
For a reason I can't turn by using the mouse. I checked the inputs and everything looks right to me.. Maybe someone knows how to fix this issue?
@christmasjade1274
3 жыл бұрын
I have been trying for weeks and it still would not work for me neither
@ge926
3 жыл бұрын
I had the same problem. It turns out I forgot to add the Input Action Manager component to XR Rig and later add the sample XRI Defauld Input actions to it from the assets/samples/XR Interaction Toolkit/...
does the code for handling input change when using the action based xr rig ? Thanks
Please suggest me any of your playlist which I should watch to learn VR game development from scratch As I don't know a single word and I have to create my final year project within 2 months.
Can someone help? The only input working for me is the right click to move the camera around, that's it, even the scroll is not working. I don't know how to fix it, I followed all the steps. ok really dumb mistake, turns out I didn't save it so when I click to play it doesn't work
I have this weird bug where I can, for example grab objects with the "G" key, and move the camera with holding right click and moving the mouse, but whatever buttons I press I cannot move the VR hands.
does it support m1 chip? becouse i tried doing these step and when i go on play mode the screen flickers
Everything worked perfectly for me, except head rotation. I hold down control and nothing happens. Hands rotate as normal. Did this happen for anyone else?
@ryrilya2289
3 жыл бұрын
This also happens to me. Any idea?
@robertanetzova795
3 жыл бұрын
Another comment helped me I paste it here 1. In the Hierarchy panel, under "XR Rig > Camera Offset", select Main Camera 2. In the Inspector panel for the camera expand Tracked Pose Driver (New Input System) 3. Double click on centerEyeRotation [XR HMD] under Rotation Action 4. Change the Path to XR HMD > XR Simulated HMD > centerEyeRotation 5. The Rotation action binding should now show centerEyeRotation [XR Simulated HDR] 6. Make sure that Tracking Type is set to Rotation And Position.
Can you guide how can i walk in all directions of unity terrain using oculus quest???
I'm getting "Attempting to determine the size of an unknown feature type Id [-1]" error, I noticed you were getting this too in the earlier part of the video but not later, I'm still getting it even after following along with everything. Any suggestions?
@just-dodo
3 жыл бұрын
+1...
@galactic_nova6653
3 жыл бұрын
I was getting spammed by this error too. Just figured out that Valem is getting spammed by it too but he has "collapse" activated in the debug console which keeps it from spamming. Hoped this helped. Have a good day. Edit: I've heard its a bug on unity's part
@nicolaskamien1825
2 жыл бұрын
I'm getting this too. Got a workaround?
@cobweb2404
2 жыл бұрын
Had the same bug. Should be fixed since 2020.3.27. I use 2020.03.32 and the error no longer occurs.
help: all emulator keys are working EXCEPT for the left mouse button work doesn't work to trigger or grab an objct :((
You will need: Milk Phone Knife Patience
@vomitshot2896
3 жыл бұрын
And Don't Forget *UNITY'S PARTICLE SYSTEM*
it didn't tell me about the device active is true even I followed everything Valem you've done... how to get that msg out? I'm afraid I'm falling on the first part
how do you get the xr settings in the player settings???
Why should I buy a 20k INR Headset for 15k INR freelancing project
What's the best way to pause a VR game (for example while a menu is open)? Usually you can set the time scale to 0, but then my tracking scripts will also stop, do I have to manually disable all other (non VR) scripts / animators in the whole scene just to pause the game or am I missing something easy?
@yoshiegg6537
3 жыл бұрын
That depends on the game, but yes, pause all animators and transport the player to a black bubble or something in the scene somewhere with menus. Its complicated because unity's XR doesn't offer a build in solution yet.
I cant move anything when in the game mode using my mouse, I followed every step carefully - Please help!
Please make tutorial a cricket batting vr game
Still works! just in case..
How did you change the controllers to hands??
If I build this game for pc vr, can I still play it without a pc vr headset??
if you buy vr addict do you get everything?
Can we test the Game without the headset but with the Vr controller?
I can't access the eye resolution in vr studio, can anyone help me.
I am getting experimental package in use for MockHMD XR Plugin. What should I do?
@Un4eseen
2 ай бұрын
did you solve the issue?
Someaone know what key exactly should i press to make the left cube move? And my camera does not rotate nor go forward, someone solved this problem?
@test-qm5vt
3 жыл бұрын
try left shift, or spacebar instead of left caps
What is that VR SDK and how to install it?
Where do you get the xr interaction toolkit? its not in the asset store
@nrb2488
2 жыл бұрын
kzread.info/dash/bejne/naKhm66igdLdmZc.html
Make video on VR multiplayer game
12:45 does anyone know what is "left caps button"? how did he get the left cube to start moving?
@test-qm5vt
3 жыл бұрын
try left shift
@Mr77igor
3 жыл бұрын
im with the same problem
Yup
Does somebody know why I can't rotate my head with Ctrl key but when I use it for the two controllers the rotation works fine?
@cristianorossetti987
3 жыл бұрын
+1
@przemeks9899
3 жыл бұрын
I had the same problem and for me it was enough to change the rotation binding for the Tracked Pose Driver of the Main Camera to centerEyeRotation [XR Simulated HMD]: 1. In the Hierarchy panel, under "XR Rig > Camera Offset", select Main Camera 2. In the Inspector panel for the camera expand Tracked Pose Driver (New Input System) 3. Double click on centerEyeRotation [XR HMD] under Rotation Action 4. Change the Path to XR HMD > XR Simulated HMD > centerEyeRotation 5. The Rotation action binding should now show centerEyeRotation [XR Simulated HDR] 6. Make sure that Tracking Type is set to Rotation And Position.
@yuanthony5199
3 жыл бұрын
Mayber it is with "Shift" key not "Ctrl" key
@robertanetzova795
3 жыл бұрын
@@yuanthony5199 shift is used to control the right hand controller, so it would not work for head rotation.
@quangnguyen3663
3 жыл бұрын
@@przemeks9899 you are right ... Amazing good job bro
How to make VR Game with 5DT data Glove ? Should you give us some tutorial about it
5 mins in and stuck with the following error; Assets\HMDinfomanager.cs(11,52): error CS0117: 'XRSettings' does not contain a definition for 'isDeactiveActive' is there an updated version? thanks for the content :)
@halildogan7075
2 жыл бұрын
it's "isDeviceActive" , you typed "isDeactiveActive" . spelling problem. fix this and its all good to go
I think I am losing my mind. xr interaction toolkit does not show up for me in the package manger under unity registry, is there something else I need to enable?
@Manish-be2pj
2 жыл бұрын
you need to enable the preview
@nrb2488
2 жыл бұрын
kzread.info/dash/bejne/naKhm66igdLdmZc.html Enable isn't enough (developpers are really dumbs)
how to export webXR using this?
So i can make the game the i can even use it with headset and its controller
yesssssssss
I followed all the steps till 11:15 but the camera doesn't move for me using left mouse button please help!
@lucidity7145
3 жыл бұрын
The left mouse button selects I believe, try using the right one if you haven't happened to figure it out yet xD
@abhinavsaha3342
3 жыл бұрын
@@lucidity7145 thanks for your comment! I did something donno what and it started working lol
@lucidity7145
3 жыл бұрын
@@abhinavsaha3342 Aight great!
Hopely someone will answer my question, anyone else know how to build menu setting vr without headshet and vr with headshet in one apk?
Is this possible to run on Mac? and the newest version of unity???
@JayneJacobs
3 жыл бұрын
I am having no luck with using HMD simulator on Mac
the hands will fall down if i add the rigidbody :(
I cant seem to make the camera rotation work :( any idea how to fix this?
@aloknarula803
3 жыл бұрын
I am facing similar issue
@przemeks9899
3 жыл бұрын
I had the same problem and for me it was enough to change the rotation binding for the Tracked Pose Driver of the Main Camera to centerEyeRotation [XR Simulated HMD]: 1. In the Hierarchy panel, under "XR Rig > Camera Offset", select Main Camera 2. In the Inspector panel for the camera expand Tracked Pose Driver (New Input System) 3. Double click on centerEyeRotation [XR HMD] under Rotation Action 4. Change the Path to XR HMD > XR Simulated HMD > centerEyeRotation 5. The Rotation action binding should now show centerEyeRotation [XR Simulated HDR] 6. Make sure that Tracking Type is set to Rotation And Position.
@ligacaopeptidica7524
3 жыл бұрын
@@przemeks9899 Helped a lot, thanks!
@docandree4818
3 жыл бұрын
@@przemeks9899 May God bless you. I have struggling with this for days!
@Gazeld
3 жыл бұрын
@@docandree4818 so have I ! :(
Hello. Tu es francophone ?
why when I go to Player I don't have XR Settings there?
@jayhenstridge7519
Жыл бұрын
me too
How to avoid objects of falling after rigidbody ?
@nrb2488
2 жыл бұрын
I found it, you must add a collider on your sphere and another on your cube
I have learned but i cant do that
Hi there! I need help, how do u move the perspective of the player by moving the phone itself? I've been searching for a tutorial but I cant find it anywhere :( my team is making a VR mobile game but we would like to have 2 viewing options. One with the VR headset like google cardboard and the other is just normal screen view but with the same UI system. can anyone help pls?
@fukukyun78
2 жыл бұрын
Hey, hope you figured it out by now, but if not, Valem also has a Google Cardboard tutorial here, I watched it months ago kzread.info/dash/bejne/o46uyrqBobuzXco.html I have it working, I haven't used it in awhile, but I'm also pretty sure the Google Cardboard SDK comes with a "Toggle" function with a button that let's you switch between VR and normal phone movement, so it's probably exactly what you're looking for.
@cursetin9833
2 жыл бұрын
@@fukukyun78 Hi there ! yes we used this too but sadly the switch view does not work :'') we are still trying to find a solution, do u know any codes that might help?
@cursetin9833
2 жыл бұрын
@@fukukyun78 we were planning to have 2 buttons once selected they will be able to switch from 2d view or the stereoscopic views
@fukukyun78
2 жыл бұрын
@@cursetin9833 Ah, sorry to hear that. I'm not too familiar with VR... But, I hope this helps you figure it out, I believe you can find the function for switching in the camera pointer script? I believe there's a function that disables VR mode. I hope that helps you out.
@cursetin9833
2 жыл бұрын
@@fukukyun78 Ill check that out, Thank you so much for the help!!
How about Unreal Engine