Synced Toggles | VRChat Udon Tutorial

Поділитися
Вставка
  • Опубліковано 18 січ 2025

КОМЕНТАРІ • 67

  • @nulturebirb
    @nulturebirb 2 роки тому +4

    Wow, what a great tutorial. You're a really good teacher! Simple, effective, and comprehensive!

  • @muridsilat
    @muridsilat 3 роки тому +1

    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.

  • @LouLou-rr7kq
    @LouLou-rr7kq Рік тому

    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 !

  • @Butterstuffs
    @Butterstuffs 3 роки тому +1

    oh man late joiners is the reason I took the locks off my doors... you rock again!

  • @FoxCDN
    @FoxCDN 9 місяців тому

    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!

  • @FjrnVR
    @FjrnVR 2 роки тому

    This has been my udon go to video/person for just about everything. Thanks!

  • @itsraetel
    @itsraetel 3 роки тому +2

    This is a huge help, thank you for everything you do!

  • @LostKitty64x
    @LostKitty64x 2 роки тому +1

    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

  • @bobbinthepirate
    @bobbinthepirate 2 роки тому +2

    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.

  • @Cielle_Slime
    @Cielle_Slime 3 роки тому

    ty for all your help. I had to make some stuff in a rush and this was very helpful.

  • @crimsom2977
    @crimsom2977 Рік тому

    I feel like this toggle is breaking my vrc map uploads

  • @PikaPetey
    @PikaPetey 3 роки тому +2

    set active doesn't work in searches anymore with the new udon update.... urrrggghhh!!

    • @TTailled
      @TTailled 3 роки тому

      @@VowganVR eh... so what works now? Or is it working again?

  • @Mikuso27
    @Mikuso27 2 роки тому

    King u drop this
    👑

  • @genobvious2606
    @genobvious2606 3 роки тому +1

    nice video, but unable to change the "eventname" in udon graph at point 2:39 in this video. using unity 2019.4.31f

    • @demitridavis6492
      @demitridavis6492 3 роки тому

      had this same issue, no idea how to overcome this, so leaving this comment here in hopes of returning to it

    • @asakinic8931
      @asakinic8931 3 роки тому

      I have the same Problem..

    • @genobvious2606
      @genobvious2606 3 роки тому

      @@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

    • @mpixel2058
      @mpixel2058 3 роки тому +1

      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.

    • @loudtaffy7136
      @loudtaffy7136 2 роки тому +1

      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.

  • @KennyBVR
    @KennyBVR 3 роки тому

    Your videos have helped me out alot Vowgan!

  • @Tyjohn
    @Tyjohn 3 роки тому

    But how do you do this with Music though? I followed everything exactly and still does not work for me.

  • @Niter88
    @Niter88 3 роки тому +1

    "I was only 26 yo. I loved Vowgan so much. Vowgan is love I said..."

  • @NoMags
    @NoMags Рік тому

    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?

  • @FictitiousCtrlGames
    @FictitiousCtrlGames 3 роки тому +2

    Not letting me choose custom event name.

    • @Geoffery10
      @Geoffery10 3 роки тому

      Looks like you can find it under the Special Tab when you go into the search menu.

    • @loudtaffy7136
      @loudtaffy7136 2 роки тому

      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.

  • @KWhiskey
    @KWhiskey 3 роки тому

    Awe sweet Thank you very very much!

  • @koryaiine7393
    @koryaiine7393 3 роки тому

    Thanks bro! Will implement asap!

  • @ShaunDreclin
    @ShaunDreclin 3 роки тому +2

    Wouldn't it be simpler to store the state of the door in a synced variable? Then late joiner stuff would be handled automatically

  • @foxyplayzmc_yt6815
    @foxyplayzmc_yt6815 2 роки тому

    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?

  • @adamiksgaming9935
    @adamiksgaming9935 2 роки тому

    I cant seem to sync late joiners.

  • @FunnyLeosVR
    @FunnyLeosVR 2 роки тому

    when i use the "SendCustomNetworkEvent", it won't let me add in a name for the event.

  • @CryonicBRO
    @CryonicBRO 2 роки тому

    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?

  • @iex651
    @iex651 2 роки тому

    Great video,thank you :]

  • @lavadragon2795
    @lavadragon2795 3 роки тому +1

    can you please do the graph for udon for the ui button

  • @SpyroDragon
    @SpyroDragon Рік тому

    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

    • @VowganVR
      @VowganVR  Рік тому

      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.

  • @FunnyLeosVR
    @FunnyLeosVR 2 роки тому

    Figured out i think. First you create custom event, and after that in dropdown in "SendCustomNetworkEvent" you can choose new custom event

    • @FunnyLeosVR
      @FunnyLeosVR 2 роки тому

      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)

  • @hunterx2210
    @hunterx2210 3 роки тому

    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

  • @The666VampireGirl
    @The666VampireGirl 3 роки тому

    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

  • @BreakerLove
    @BreakerLove 8 місяців тому

    Does this still work in CC 2024?

  • @exil_s4247
    @exil_s4247 2 роки тому

    is there a way to make that for the ui too?

  • @coopzy4086
    @coopzy4086 3 роки тому

    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

  • @livb4139
    @livb4139 3 роки тому

    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?

  • @DavidPearcey
    @DavidPearcey 2 роки тому

    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?

    • @loudtaffy7136
      @loudtaffy7136 2 роки тому +1

      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.

  • @pooyasabeti8892
    @pooyasabeti8892 2 роки тому

    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!?

  • @kogatara-9874
    @kogatara-9874 3 роки тому

    Are you need Usharp and udon graph on 1 projeck or you can run if usharp only?

  • @prestonkay1583
    @prestonkay1583 3 роки тому

    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?

    • @prestonkay1583
      @prestonkay1583 3 роки тому

      nvm solved. ill leave this up incase anyone has the issue. be sure to check global world volume when testing.

  • @Branden-ji9eb
    @Branden-ji9eb 2 роки тому

    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

    • @Branden-ji9eb
      @Branden-ji9eb 2 роки тому

      or is there going to be a vid on hos to do this with animated doors?

    • @thepepsimaniac
      @thepepsimaniac 2 роки тому

      @@Branden-ji9eb Did you ever figure this out?

  • @sneirox
    @sneirox 3 роки тому

    About late joiner:
    one joins, but the event is sent to all users - it's incorrect.
    Need update only joined user.

    • @sneirox
      @sneirox 3 роки тому

      @@VowganVR Could you make video about sync variable on player joined?

  • @かず-l6w9m
    @かず-l6w9m 3 роки тому

    Please let me know if there is a way to sync the animation to someone who comes in later.

    • @かず-l6w9m
      @かず-l6w9m 3 роки тому

      @@VowganVR Thank you for your reply. Are you planning to make such a video?

    • @hunterx2210
      @hunterx2210 3 роки тому

      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)

  • @pdbsstudios7137
    @pdbsstudios7137 2 роки тому

    EVERY TIME I PRESS THE BUTTON, THE BUTTON ITSELF DISAPPEARS

  • @TWKTemplar
    @TWKTemplar 3 роки тому

    Eyyy Networking!!!

  • @DanWunderBurst
    @DanWunderBurst 3 роки тому

  • @pdbsstudios7137
    @pdbsstudios7137 2 роки тому

    EVERY TIME I PRESS THE BUTTON, THE BUTTON ITSELF DISAPPEARS

  • @pdbsstudios7137
    @pdbsstudios7137 2 роки тому

    EVERY TIME I PRESS THE BUTTON, THE BUTTON ITSELF DISAPPEARS