Trigger OnEnable no longer working
complete
j
As of two updates ago from this date (March 31st), (possibly the dynamic bone limitation update), the trigger OnEnable no longer works.
Log In
Aev
complete
Fixed in VRChat 2019.2.1!
j
Aev: thank you!
Tupper - VRChat Head of Community
in progress
This is fixed in VRChat 2019.2.1, which is currently in Open Beta.
danly
I'll be taking a look at this today. Thank-you for the repro case! That helps tremendously.
danly
Ah, I know what broke.
danly
yerp
HardLight670
danly: Awesome! Glad that I was able to help.
Tupper - VRChat Head of Community
tracked
HardLight670
Repro:
wrld_78f4376e-5f15-40fc-be71-6920aa58a3e1
Note the outcome differences when the first player joins and when subsequent players join.
danly
HardLight670: Thanks! :D
HardLight670
As of build 738, this seems to happen for OnEnable and OnNetworkReady triggers that are set to Local. It only seems to happen for the first player to join the room and only if the the trigger occurs while the room is loading (i.e. the object is already enabled)
For players that join later, or for triggers that start disabled and get enabled later, this does not seem to happen and the trigger executes normally
Additionally, attempting to spawn anything with an OnEnable trigger will also fail regardless of the broadcast type. Similar to the above, this only happens for the first player to join, and only if the trigger occurs while the player is loading in.
H
Hugo Zink
Same problem. It only works in some worlds, I haven't been able to reproduce it yet.