Love your videos! I'm a beginner to coding. Using the VRChat documentation and things I learned from your channel, I managed to adapt some Brackeys tutorials to make guns, grenades, and breakable bottles with Udon#. They work great in single player. However, I naively assumed the "synchronize position" checkbox would magically make everything sync in multiplayer. It's quite a coincidence that you posted this on the first day I decided to search for a solution. This gives me a great starting point.
This was an incredible tutorial, thank you so much. it was easy to follow and the explanation behind everything was so well done I was able to follow it all. Thank you!
Thank you! This is so cool. Also by the way, I know you probably read this a lot but the UdonSharp approach is way less of a headache, especially with an implicit Unary operator. :D
Hi, when I pull up the "SendCustomNetworkEvent" on Udon Graph, it won't let me add in a name for the event. It's just a greyed out box with three dashes. How do I make it so it will let me put in the event name? Thank you.
@@asakinic8931 I believe he has imported "udonsharp" beforehand in order to compile the c# script outside of udon behavior scripts. Once you have udonsharp imported, you can toggle the "create new program" area. The saccflight system by sachan" uses a global camera for each aircraft in order to view kill board correctly, etc. So back engineering that helps in understanding the global script
First you connect the SendCustomNetworkEvent to something, then you have to create the custom event and name it. Then push reload and it should appear in the dropdown next to eventname.
First you connect the SendCustomNetworkEvent to something, then you have to create the custom event and name it. Then push reload and it should appear in the dropdown next to eventname.
Hey so I have a problem in my world where quest and pc having different door toggles. Everything is on the same udon and everything but when a pc player toggles the door on quest people still can go through. How can I fix this?
It's not working when I'm trying to use it with patricle/object animations along with music, not even with "Audio Source" alone.. What I do? Can we talk somewhere?
so im making a truth or dare game, the hard way.. with object arrays... i got to the point where it would turn everything off, and then turn 1 random question on.. however when testing, everyone would have their own seperate question.. how do we make it to where we can obj sync a gameobject array upon using a forloop and eveyrone to get the same question for whoever pushed the button
What you will want to do is have the button presser take ownership, randomize an integer between 0 and your item count, then sync that across the network. When people receive this new number, enable that object and disable all the others. If you need more help or have more questions, feel free to join my discord! Link in the description.
Yes it works. Oh and also in order to choose custom event in dropdown this event has to do something (be plugged somewhere, like into setActive or something like that)
There is still huge delay between client whenever clicking the button. it's painful but I hope "and do not hope at the same time" vrchat able to do something about it
Would you be able to do an update on the teleportation tutorial? Set and Get Variable dont exist in the special node menu anymore. I assume there is an alternative but I haven't been able to figure it out
I want to sync some UI toggles for newjoiners and people in the world. Right now they're all local. Is this still the right way to go about it or is it outdated due to the networking update?
SO everyhing was working fine until I got to "SendCustomNetworkEvent" and am not able to type the event name in. Instead I have 4 dashes and a drop down that is grayed out. Help?
First you connect the SendCustomNetworkEvent to something, then you have to create the custom event and name it. Then push reload and it should appear in the dropdown next to eventname.
thanks for the video, It really gave me a headstart in learning udon. I have a question though, what's the thing that allows you to run and test this inside the unity and how can I set it up!?
so to do this with animated doors since the target variable do I just make the animated doors with a target instead of a behavior and keep event name or bet rid of both and make it just a target
It's the same logic as Vowgan showing in video. Just, Instead of using Public GameObject target, you just need to use Public Animator target. And change the function instead of gameobject.setactive to target.setbool("", true/false)
Wow, what a great tutorial. You're a really good teacher! Simple, effective, and comprehensive!
Love your videos! I'm a beginner to coding. Using the VRChat documentation and things I learned from your channel, I managed to adapt some Brackeys tutorials to make guns, grenades, and breakable bottles with Udon#. They work great in single player. However, I naively assumed the "synchronize position" checkbox would magically make everything sync in multiplayer. It's quite a coincidence that you posted this on the first day I decided to search for a solution. This gives me a great starting point.
I can't thanks you enough for that tutorial, i spend a lot of time trying ot find how to do that and you explained it so well !
oh man late joiners is the reason I took the locks off my doors... you rock again!
This was an incredible tutorial, thank you so much. it was easy to follow and the explanation behind everything was so well done I was able to follow it all. Thank you!
This has been my udon go to video/person for just about everything. Thanks!
This is a huge help, thank you for everything you do!
Thank you! This is so cool. Also by the way, I know you probably read this a lot but the UdonSharp approach is way less of a headache, especially with an implicit Unary operator. :D
Hi, when I pull up the "SendCustomNetworkEvent" on Udon Graph, it won't let me add in a name for the event. It's just a greyed out box with three dashes. How do I make it so it will let me put in the event name? Thank you.
ty for all your help. I had to make some stuff in a rush and this was very helpful.
I feel like this toggle is breaking my vrc map uploads
set active doesn't work in searches anymore with the new udon update.... urrrggghhh!!
@@VowganVR eh... so what works now? Or is it working again?
King u drop this
👑
nice video, but unable to change the "eventname" in udon graph at point 2:39 in this video. using unity 2019.4.31f
had this same issue, no idea how to overcome this, so leaving this comment here in hopes of returning to it
I have the same Problem..
@@asakinic8931 I believe he has imported "udonsharp" beforehand in order to compile the c# script outside of udon behavior scripts. Once you have udonsharp imported, you can toggle the "create new program" area. The saccflight system by sachan" uses a global camera for each aircraft in order to view kill board correctly, etc. So back engineering that helps in understanding the global script
Same happened to me too; just create the custom event in the next step then you'll be able to select it from the dropdown.
First you connect the SendCustomNetworkEvent to something, then you have to create the custom event and name it. Then push reload and it should appear in the dropdown next to eventname.
Your videos have helped me out alot Vowgan!
But how do you do this with Music though? I followed everything exactly and still does not work for me.
"I was only 26 yo. I loved Vowgan so much. Vowgan is love I said..."
Now how would you create this with the ability to have two targets for example one target to turn in while your turning another off?
Not letting me choose custom event name.
Looks like you can find it under the Special Tab when you go into the search menu.
First you connect the SendCustomNetworkEvent to something, then you have to create the custom event and name it. Then push reload and it should appear in the dropdown next to eventname.
Awe sweet Thank you very very much!
Thanks bro! Will implement asap!
Wouldn't it be simpler to store the state of the door in a synced variable? Then late joiner stuff would be handled automatically
Hey so I have a problem in my world where quest and pc having different door toggles. Everything is on the same udon and everything but when a pc player toggles the door on quest people still can go through. How can I fix this?
I cant seem to sync late joiners.
when i use the "SendCustomNetworkEvent", it won't let me add in a name for the event.
It's not working when I'm trying to use it with patricle/object animations along with music, not even with "Audio Source" alone.. What I do? Can we talk somewhere?
Great video,thank you :]
can you please do the graph for udon for the ui button
so im making a truth or dare game, the hard way.. with object arrays... i got to the point where it would turn everything off, and then turn 1 random question on.. however when testing, everyone would have their own seperate question.. how do we make it to where we can obj sync a gameobject array upon using a forloop and eveyrone to get the same question for whoever pushed the button
What you will want to do is have the button presser take ownership, randomize an integer between 0 and your item count, then sync that across the network. When people receive this new number, enable that object and disable all the others.
If you need more help or have more questions, feel free to join my discord! Link in the description.
Figured out i think. First you create custom event, and after that in dropdown in "SendCustomNetworkEvent" you can choose new custom event
Yes it works. Oh and also in order to choose custom event in dropdown this event has to do something (be plugged somewhere, like into setActive or something like that)
There is still huge delay between client whenever clicking the button.
it's painful but I hope "and do not hope at the same time" vrchat able to do something about it
for some reason i can't get it to sync.. in the variables it says that the GameObject cannot be synced
NVM i fixed it XDDD
Does this still work in CC 2024?
is there a way to make that for the ui too?
Would you be able to do an update on the teleportation tutorial? Set and Get Variable dont exist in the special node menu anymore. I assume there is an alternative but I haven't been able to figure it out
I want to sync some UI toggles for newjoiners and people in the world. Right now they're all local. Is this still the right way to go about it or is it outdated due to the networking update?
SO everyhing was working fine until I got to "SendCustomNetworkEvent" and am not able to type the event name in. Instead I have 4 dashes and a drop down that is grayed out. Help?
First you connect the SendCustomNetworkEvent to something, then you have to create the custom event and name it. Then push reload and it should appear in the dropdown next to eventname.
thanks for the video, It really gave me a headstart in learning udon. I have a question though, what's the thing that allows you to run and test this inside the unity and how can I set it up!?
Are you need Usharp and udon graph on 1 projeck or you can run if usharp only?
Im trying to use this with audio but the audio either doesnt occure or the button dissapears. any help i can get on the topic?
nvm solved. ill leave this up incase anyone has the issue. be sure to check global world volume when testing.
so to do this with animated doors since the target variable do I just make the animated doors with a target instead of a behavior and keep event name or bet rid of both and make it just a target
or is there going to be a vid on hos to do this with animated doors?
@@Branden-ji9eb Did you ever figure this out?
About late joiner:
one joins, but the event is sent to all users - it's incorrect.
Need update only joined user.
@@VowganVR Could you make video about sync variable on player joined?
Please let me know if there is a way to sync the animation to someone who comes in later.
@@VowganVR Thank you for your reply. Are you planning to make such a video?
It's the same logic as Vowgan showing in video. Just, Instead of using Public GameObject target, you just need to use Public Animator target. And change the function instead of gameobject.setactive to target.setbool("", true/false)
EVERY TIME I PRESS THE BUTTON, THE BUTTON ITSELF DISAPPEARS
Eyyy Networking!!!
EVERY TIME I PRESS THE BUTTON, THE BUTTON ITSELF DISAPPEARS
@@VowganVR how and where do I do that?
EVERY TIME I PRESS THE BUTTON, THE BUTTON ITSELF DISAPPEARS