[2021.07.30.15.34] Clicking on states or transitions show empty window in animator
complete
IkBenAnders
I created a brand new project, brand new install of Unity (2019.4.29f1) and the SDK, but still get this issue. It only happens on animations that are already there, such as the hand states on the vrc_AvatarV3HandsLayer.controller example. Any animations i made and drag in myself do show the menu.
Log In
Tupper - VRChat Head of Community
complete
Fixed in internal RC, will be in release version. Thanks to Joshuarox100 for their script, and thank you for open-sourcing it! Attribution will be provided in the appropriate locations.
Joshuarox100
Tupper - VRChat Head of Community: Thanks Tupper! I am honored to have my script in the game's SDK.
Tupper - VRChat Head of Community
tracked
Appears to be a Unity bug, and unfortunately a pretty significant one. We're investigating.
Joshuarox100
I'm going to correct my original comment since it wasn't fully correct.
This issue is caused by duplicated or copied and pasted Animator States, Transitions, etc. being given a HideFlag value of 3, meaning it both can't be seen in the Project window OR the Inspector. Empty States created with right-click are given a HideFlag of 1, which allows them to still be inspected.
After I went back and checked, this behavior also exists in Unity 2018.4.20f1, which means that the flags weren't being respected and probably were considered a non-issue by Unity. But as of Unity 2019.4.29f1, they are being respected, resulting in the behavior we're seeing.
I don't believe VRChat can do much about this, since this is an issue for Unity to solve, not them. That said, whatever fix Unity distributes likely won't automatically fix affected controllers, so a tool may be required to fix it. I have made a script that does exactly that which can be found here: https://github.com/Joshuarox100/Fix-Your-Animators