How To Make a VR Multiplayer Game - Unity Netcode

  Рет қаралды 29,604

Valem Tutorials

Valem Tutorials

10 ай бұрын

In this video we're going to see how we can build our own VR multiplayer game with the unity netcode for game object !
❤️ Support on Patreon : / valemvr
🔔 Subscribe for more Unity Tutorials : www.youtube.com/@ValemTutoria...
🌍 Discord : / discord
🐦Twitter : valemvr?lang=en
👍 Main Channel : / @valemvr
🔥 Tiktok : / valemxr
UNITY GAMING SERVICES : unity.com/solutions/gaming-se...
Easily test your multiplayer games on multiple pc :
github.com/VeriorPies/ParrelSync
assetstore.unity.com/packages...
NEXT EPISODE : • How To Make a VR Multi...
····················································································
📝Best VR Assets ( These links are Affiliate links which means it costs the same to you and I get a small commission. Thanks for your support!)
VR Interaction Framework
assetstore.unity.com/packages...
Hexabody (Physics VR Player)
assetstore.unity.com/packages...
Mirror and Reflection for VR
assetstore.unity.com/packages...
Auto Hand (automatic hand grab pose)
assetstore.unity.com/packages...
Hurricane VR (vr physics interaction)
assetstore.unity.com/packages...
3d Hand Model for VR
assetstore.unity.com/packages...
····················································································
Full Series on How to make a VR game • How to Make a VR Game ...
····················································································
If you enjoyed this video, here are some other really good channel you should appreciate :
⌨️ Game Dev
Brackeys : / @brackeys
Dani : / @danidev
Code Monkey : / @codemonkeyunity
👨‍🎓 Vr Dev
Justin P Barnett : / @justinpbarnett
Vr with Andrew : / @vrwithandrew
····················································································
#vr #vrdev #madewithunity

Пікірлер: 92
@ValemTutorials
@ValemTutorials 10 ай бұрын
This 20 min tutorial will teach you the basis of VR Multiplayer but if you're looking to become an expert. I've made a 8 HOURS long course as part of the VR Creator Academy. vrcreatoracademy.com/ It features a Lobby System, Avatar Customization and even the building of our own VR Multiplayer Zombie Shooting Game.
@josephseger6053
@josephseger6053 10 ай бұрын
FUCK that !! $290 ::::: WTF CHAT GPT IS FREE !!!!
@Distrofiying
@Distrofiying 10 ай бұрын
Is it free?
@josephseger6053
@josephseger6053 10 ай бұрын
If your not paying for plus @@Distrofiying
@rainbi991
@rainbi991 10 ай бұрын
Is there any chance we can buy your course separately?
@egg_dev
@egg_dev 3 ай бұрын
Hi, none of the links work in the website?
@haffey2
@haffey2 10 ай бұрын
i was literally thinking about this guy for some reason, and then i get a notification about this video lmao
@ravd123
@ravd123 8 ай бұрын
Great tutorial. Just what I needed. That's a lot in 20 mins! Thanks.
@177unneh_YT
@177unneh_YT Ай бұрын
We are making own vrchat with this one 🗣️🗣️🗣️
@muammar88
@muammar88 10 ай бұрын
Awsome! Thank you Valem :)
@alfierg
@alfierg 10 ай бұрын
Keep up the great work valem, I have been a fan for ages and I love your videos and how they are layed out, keep it up man well done
@ValemTutorials
@ValemTutorials 10 ай бұрын
Thanks for the kind words
@alfierg
@alfierg 10 ай бұрын
@@ValemTutorials all good man
@thatabyssegg8507
@thatabyssegg8507 2 ай бұрын
I've been using your content for multiple course projects and my current diploma. Not sure if my thanks are enough for your help, my I'm really grateful for your content. Made me find a lot of fun in VR development for two or three years now. Thank you!
@kelmas13
@kelmas13 10 ай бұрын
YES YES I BEEN WAITING FOR THIS MOMENT
@MattForemanFlow
@MattForemanFlow 8 ай бұрын
Hey, this is fantastic! I've created very similar VR avatar setups using Normcore & Photon, but this gives me some confidence to finally try out Netcode for GameObjects. Thanks for the tutorial! 🙂
@erickanogs
@erickanogs 10 ай бұрын
Great video Valem! I would love to watch more about multiplayer, how to use the parrel sync, replicate animation, actions ( like grab) and other things :)
@xulipaTV
@xulipaTV 9 ай бұрын
Agreed!
@jamesqueripel7217
@jamesqueripel7217 10 ай бұрын
Great Video, This has greatly helped. It would be great to get more of your expertise in VR Multiplayer using Unity Netcode.
@DuranMediaSolutions
@DuranMediaSolutions 9 ай бұрын
Your videos are great! THank you so much!
@kllltgame
@kllltgame 10 ай бұрын
I did it, thank you very much👍
@ryu3381
@ryu3381 6 ай бұрын
thanks, finally vr multiplayer is here =D
@Wescotte1st
@Wescotte1st 10 ай бұрын
Are you using two headsets here? If just one what is the process of toggling which version (build vs running in editor) uses the headset/controllers? Or are both version processing the exact same input all the time?
@user-qr7ul3ml7h
@user-qr7ul3ml7h 5 ай бұрын
It is my first time seeing your channel and it is really helpful, also Can you please make a tutorial on how to make it work in desktop mode so users without VR can still use it
@batmancool853
@batmancool853 4 ай бұрын
Help, cant find the head model in the description bro,thanks
@user-ph9wq6qk7p
@user-ph9wq6qk7p 8 ай бұрын
thank your video! Why does the clone's head follow the host clone's head in my Unity project? What could be causing this unexpected behavior in the networking setup
@ozymandias3735
@ozymandias3735 10 ай бұрын
It would be amazing if you did a tutorial on how to integrate hand tracking into the multiplayer of the video
@flym0
@flym0 10 ай бұрын
That surely has to be the goal.
@csr3846
@csr3846 4 ай бұрын
Hey Valem. I love your content. Do you have any plans on making a video showing how you implement full body tracking in VR multiplayer? Maybe an extension of your Full VR body videos.
@ValemTutorials
@ValemTutorials 3 ай бұрын
Hi thank you for the lovely comment. So the cool thing is that its actually not a lot of effort to do this because the body is not related to the network. The body will follow the position of hand + head that are synchronized over the network so it does not matter if you have a full body or not. If you want I did an example of this here on my patreon : www.patreon.com/posts/exclusive-my-own-43140619
@mohankrishnasai8673
@mohankrishnasai8673 10 ай бұрын
Hey valem your always amazing with your tutorials like I want to ask you one thing that which one do you suggest for multi-player pun or unity netcode or fusion?
@xulipaTV
@xulipaTV 9 ай бұрын
People always recommend me Photon Pun
@filipemaliska
@filipemaliska 16 күн бұрын
Hello! Firstly, congratulations on the quality content you always deliver. I followed the steps in the video and managed to make everything work perfectly, but I have a question I couldn't find anywhere on the internet, which is how to do the same thing that is done in this video, but with a full body avatar using meta movement sdk or similar. All the examples I find just show avatars with head and hands, which take the tracking reference from ovrcamerarig, or similar, but I wanted to get the tracking of the entire full body avatar, . Do you know where I could find something about this?
@64jcl
@64jcl 7 ай бұрын
So does this use a server hosted by Unity in order to connect clients to hosts? Does it cost anything or can you run your own instance of a server that does this somehow?
@user-zq2zt6mk3l
@user-zq2zt6mk3l 9 ай бұрын
thanks very mush for your great tutorial!I find that when using your network player,the client grab a interactable warning "Only the server can reparent NetworkObjects". how can I grab On Clien Side?
@AscendingPilot
@AscendingPilot 5 ай бұрын
Oculus integration is depreciated for Meta XR so wondering if you can still implement everything in the same way?
@josephseger6053
@josephseger6053 10 ай бұрын
What about grabbing objects ?
@HuckleberrySauce
@HuckleberrySauce 10 ай бұрын
Thanks for this video! What is the reason you have the "on network spawn, disable mesh"? Could you not simply delete the hand models under the XR Origin and only use the handmodels that are under the Networkplayer? That way, you also don't have double meshes. Or am I missing something obvious? I understand wanting to disable the head for the owner, but why have double hands in the first place?
@ValemTutorials
@ValemTutorials 10 ай бұрын
You're right this is another way to only show one pair of hand the issue is that with your solution you would only have hands when you are connected to the network :)
@HuckleberrySauce
@HuckleberrySauce 10 ай бұрын
@@ValemTutorials ah that makes sense! Thanks for the reply!
@vishwas9778
@vishwas9778 10 ай бұрын
How can we extend it for multiplayer in different networks
@martinrubin7538
@martinrubin7538 5 ай бұрын
How did you manage to run two VR instances on one computer with one headset? Using HTC Vive Pro 2, every time i start second instance, the first one is automatically closed.
@hazelyokouji2005
@hazelyokouji2005 10 ай бұрын
nice ! :) but when is hogwarts vr ready for source code?
@BGHI22
@BGHI22 10 ай бұрын
Is there going be a part 2
@kMuhammadFaizanSadiq
@kMuhammadFaizanSadiq Ай бұрын
Hey Valem , this video works fine when i run multiple instances of build file in same PC but when i share it with my friend who is on same network. multiplayer functionality doesn't seem to work. How can i run build file on another PC and connect together ?
@Distrofiying
@Distrofiying 10 ай бұрын
Will this work with the ik rig tut u did?
@pinip_f_werty1382
@pinip_f_werty1382 10 ай бұрын
Try it out, varied implementation of tutorials leads to more of a grasp of the concepts.
@user-qr7ul3ml7h
@user-qr7ul3ml7h 7 ай бұрын
Mr valem I am a student and really interested in your project and before I join the membership can I ask does the project show nameplates on top of users heads if not can you please add it? and is their a way to choose a different avatar? (not necessary) And for objects grabbing is it in the project or not?
@srukamaraju1
@srukamaraju1 7 ай бұрын
I cannot find the head model in the description.
@carloscota2203
@carloscota2203 3 күн бұрын
do you know if this works for the hololens 2? i want to create a multiplayer experience, but there isn't enough information about it.
@seanthecommandblockenginee1238
@seanthecommandblockenginee1238 9 ай бұрын
hey valem where can i get the head model you used in the video
@optus231
@optus231 Ай бұрын
Seems that he forgot...
@Besttechnology
@Besttechnology 5 ай бұрын
didu know how to do that for xr hands in unity?
@BorjaRD
@BorjaRD 3 ай бұрын
Hello! How are you doing? I have followed all the steps and I have managed to make my first multiplayer VR mini-project. I have a problem when I try to grab an object with xr grab... the client does not manage to move the object (: Any idea? Thank you very much!
@xatazch
@xatazch 3 ай бұрын
In the VR Creator Academy you use ParrelSync to use two editors to test the application. Are you using OpenXR when you are doing that? I played for the course and it is good. I do have a problem when testing the multiplayer I have tried both of your ways to test. With a build and ParrelSync and i have the same problem. The first instance (host) get shutdown when i start the second instance. What can be the problem?
@ValemTutorials
@ValemTutorials 3 ай бұрын
That's weird did you manage to fix the problem ? The network should be kept alive even when you switch instance of the game
@xatazch
@xatazch 3 ай бұрын
@@ValemTutorialsNo it semi works in you next solution. I can switch to clone and join with that one but i can not go back to host. i can see the network player move in the host environment.
@ILoFoSho
@ILoFoSho 4 ай бұрын
I went to check out your course but the link appears to be broken. There's a click funnels banner over the screen I can't get rid of that won't let me sign up.
@user-ch6xf7ef8y
@user-ch6xf7ef8y 2 ай бұрын
I think this is a great tutorial, but I realized that after entering the create state, my character keeps falling down and the movement control is different from before I went online. Can you help me?
@vishwas9778
@vishwas9778 10 ай бұрын
What if we want one player to join from a computer with another in VR?
@ericxu5698
@ericxu5698 10 күн бұрын
Is there a git link to the project? I seem to be doing something wrong and would like to know why.
@BlueBerryPanCakeW
@BlueBerryPanCakeW 3 ай бұрын
What core did you use
@AscendingPilot
@AscendingPilot 5 ай бұрын
I can't see the canvas in the Headset. Have I missed something?
@ventosolo9539
@ventosolo9539 8 ай бұрын
can it also work on a wifi network?
@just8989
@just8989 5 ай бұрын
it is not working in the quest 2 build
@glitchover9894
@glitchover9894 7 ай бұрын
when i move my head the second client move his heads too ! what to do ?
@Xaandaa
@Xaandaa 2 ай бұрын
how do you add voice chat?
@DhiegoLucio
@DhiegoLucio 4 ай бұрын
Does someone know why it doesn't work with android? I tried to export to 2 quests and the host is created but the other can't join :(
@dayshag5257
@dayshag5257 6 ай бұрын
say the host leaves is the host given too someone else or?
@Hampuvr_offical
@Hampuvr_offical 3 ай бұрын
Will this work with VRIF
@tomcruise1387
@tomcruise1387 9 ай бұрын
We've been struggling in our multiplayer game for more than 1 year, your approach to only synchronise visible parts changed totally our garbage network design. We were spawning a whole new xr origin with riging system through script and let me tell you it was hell. I think we are gonna refactor our multiplayer part to simply show visible skin and hold xr origin local
@adventureswithcassius6702
@adventureswithcassius6702 16 күн бұрын
network connect doesnt pop up for me im stuck
@virtuatennisdreamcast
@virtuatennisdreamcast 3 ай бұрын
Every time I type "if(isOwner)," Unity tells me it doesn't exist in the context. Is there anything I can do about this? Maybe I missed a step in the tutorial.
@Lastered
@Lastered 2 ай бұрын
I know this may be a little late but the IsOwner bool needs to have a capitalized "I" as well as "O"
@virtuatennisdreamcast
@virtuatennisdreamcast 2 ай бұрын
@@Lastered I'm guessing you are intended to capitalize both letters because that's what is displayed in the video. I attempted to uncapitalize all letters, one letter, and the other letter, but it just didn't work. You can try it for yourself, though.
@Lastered
@Lastered 2 ай бұрын
@@virtuatennisdreamcast make sure you're using the Unity.Netcode library also I think IsOwner bool only works if it's a NetworkBehaviour not a MonoBehaviour though I might be mistaken
@virtuatennisdreamcast
@virtuatennisdreamcast 2 ай бұрын
@@Lastered You solved my problem! I can't thank you enough. 🙏
@Gasteryoug
@Gasteryoug 10 ай бұрын
I must say that this tutorial is great but i'm a little disspointed about waiting 4 days for the next episode of the new series about making a VR Game and there seeing a video that has nosense about it so yes the video is good but it is not the right time to drop it. It would have been better after the ending of your series.
@ValemTutorials
@ValemTutorials 10 ай бұрын
Yeah sorry about the wait there is so many things happening to VR right now I have too much content to make but be patient the next episode is coming very soon and you will love it ! :)
@pinip_f_werty1382
@pinip_f_werty1382 10 ай бұрын
I think you gotta lace it in between. It's good to have something to break it up.
@Gasteryoug
@Gasteryoug 10 ай бұрын
@@ValemTutorials I'll wait for tomorrow see ya !
@AxiomPlaysVR
@AxiomPlaysVR 10 ай бұрын
An easier alternative would be Photon…
@ValemTutorials
@ValemTutorials 10 ай бұрын
Photon is great and I've made a tutorial series about using it in VR ! What's cool with Netcode is the more advanced stuff with Lobby system that are possible to do with it !
@AxiomPlaysVR
@AxiomPlaysVR 10 ай бұрын
@@ValemTutorials I used photon to make multiplayer for my gorilla tag fan game, maybe you can make a tutorial on gorilla tag movement but more physics based?
@polapola9630
@polapola9630 7 ай бұрын
I'm getting the 404 error, I followed your every step.
@EpicP1xel
@EpicP1xel Ай бұрын
This is balls don’t work so many errors just use pun it’s better
@Deadlyfire8907
@Deadlyfire8907 5 ай бұрын
mine doesnt work it says for the network player script that "cannot implicitly convert type 'unityengine.quaternion' to 'unityenging.vector3'
@DharanishKM
@DharanishKM 2 ай бұрын
U Might tried to equal its avatar parts rotation to the oculus hands position... Thats the error
How To Make a VR Multiplayer Game -  Part 2 : Relay and Lobby
21:50
Valem Tutorials
Рет қаралды 9 М.
COMPLETE Unity Multiplayer Tutorial (Netcode for Game Objects)
1:04:05
你们会选择哪一辆呢#short #angel #clown
00:20
Super Beauty team
Рет қаралды 50 МЛН
Мы никогда не были так напуганы!
00:15
Аришнев
Рет қаралды 6 МЛН
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 42 МЛН
Khó thế mà cũng làm được || How did the police do that? #shorts
01:00
BaM | Build VR in Unity - Ep1: Multiplayer VR with NetCode 1/2
28:31
DigitalPlusPlus
Рет қаралды 4 М.
Create your VR Online Multiplayer Game - Unity Netcode
18:54
immersive insiders
Рет қаралды 5 М.
How To Make a Quest 3 Mixed Reality Game - Unity Tutorial
13:08
Valem Tutorials
Рет қаралды 107 М.
How to Make a VR Game in Unity - PART 1
14:13
Valem Tutorials
Рет қаралды 586 М.
Making MULTIPLAYER Games has never been EASIER!
12:49
Code Monkey
Рет қаралды 76 М.
A new way to generate worlds (stitched WFC)
10:51
Watt Designs
Рет қаралды 515 М.
Making a VR Game in 9 Days with NO EXPERIENCE - VRJam Devlog
9:46
SnoopingTurtle
Рет қаралды 23 М.
I Wish I Had Known This Before I Started Unity Game Development...
11:11
Complete VR Body Setup - Arms and Legs IK with Hand Animation
17:36
Valem Tutorials
Рет қаралды 56 М.
How to Make a VR Multiplayer Game - PART 1
32:18
Valem
Рет қаралды 147 М.
你们会选择哪一辆呢#short #angel #clown
00:20
Super Beauty team
Рет қаралды 50 МЛН