Pickup events may not be called when multiple Udon components are attached
みみー/Mimy
Pickup events may not be called when multiple Udon components are attached.
Reproduction Procedure:
(1) Create an appropriate mesh object and attach a VRCPickup.
2) Add multiple Udon components that override OnPickupUseDown(), etc.
3) Run ClientSim or test build
4) Only the pickup event of the first Udon component added to that pickup object will be called
If you remove the Udon component that was added to that pickup object for the first time and then add it again, the pickup events of all Udon components will be called.
I also tried rearranging the Udon component on the Inspector, but there was no change in the component that the pickup event is called on, so the order in the Inspector does not seem to matter.
from VRCSDK 3.7.5
Reference:
Log In