Differences between ClientSim and VRChat (Multiple UdonBehaviour in one GameObject)(SendCustomNetworkEvent)
enfutu
Attach three UDonBehaviors to one GameObject.
<Scripts>(It was explained to read the description here, so I am attaching it as an image.)
First, interact with the GameObject.
<Result>
[Behavior on clientSim] ->Only TestA works.
[Behavior on vrChat] ->testB and testC also work by sendCustomNetworkEvent of testA. (Gif video)
If the behavior on VRChat is normal, please modify the behavior on clientSim to do the same.
I think it would simplify some systems if a single SendCustomNetworkEvent could call functions contained in multiple udOnBehaviors.
■■■■■■■■■■■■■■■■■■■■■
Title: Differences between ClientSim and VRChat (multiple udonBehaviors in one GameObject) (SendCustomNetworkEvent)
Attach 3 udonBehaviours to a single GameObject.
The content of Udon was hard to read when I wrote it here, so I'm attaching it as an image.
First, interact with the GameObject.
(results)
[Operation on ClientSim] → only TestA works.
[Operation on VRChat] →TestB and testC also operate due to TESTA's SendCustomNetworkEvent. (attached animated Gif)
If the operation on VRChat is normal, please correct it so that the same operation is performed on ClientSim.
If a single SendCustomNetworkEvent could call functions included in multiple udonBehaviors, I think some systems would be simpler.
That's it.
Log In