VRC-Gesture-Manager
VRC-Gesture-Manager copied to clipboard
[Bug] Trigger-based transitions are initialized as true
A regression from the last version 3.9.1.
In 3.9.2, GM gained the ability to handle parameter driven triggers. However, there seems to be an issue with the implementation, as running a simulation of my avatar now seems to run all triggers as true upon initialization, causing wrong behavior in emulation overall.
Forcing 3.9.1 in a 3.7.0 SDK Project doesn't show this issue.
Example
The character uses an asset by me, which makes heavy use of triggers.
On emulation start, seemingly all triggers are run, which runs the save/load routines of that system and puts the avatar into pose mode on start, which is incorrect.
While debugging it, I noticed this:
https://github.com/user-attachments/assets/04189bcd-a1b7-4c8b-8185-d88b4dc4364d
The only thing I do here is to reset the avatar. (Expressions → Quick Actions → Reset Avatar) I do that 3 times in this clip. As is visible, the animator processes the trigger-transitions immediately, causing wrong behavior due to run state behaviors (e.g. parameter drivers.)
This breaks testing trigger-based assets.
I verified that this only happens in GM Simulation, and not ingame.