SDK 3.9.0 Simple toggles becomes stuck if in menu value is false/unchecked (Avatar uploads with the bug!)
AvatarRepo
I have come across a very annoying bug that can be reproduced every single time in Unity using VRC SDK version 3.9.0 on Unity 2022.3.22f1, this bug carries over into VRChat if the avatar with the bug is uploaded.
Steps:
Use Avatar SDK 3.9.0 and Unity 2022.3.22f1
- Create a simple on/off toggle
- In the menu step of the toggle creation process, make sure your menu type is a "Toggle" or "Button" and "Value" is unchecked.
- Use any testing tools that goes through the menu (Not anything that directly changes the parameter value), if the toggle already has the spinning wheel you will realize that you cannot un-toggle it. The value will remain stuck. Otherwise you can only toggle once then never again.
- If you Upload the avatar with this bug present, the bug will also occur in VRChat.
Showcase:
Avatar uploaded with the bug from a new bare-bones avatar project (Resolver + base sdk + avatar sdk, not project seen in video) https://vrchat.com/home/avatar/avtr_4015214d-c4a1-45f5-b6c0-1a9c9832d383
This is not caused by end user error, this bug happened to me today on another project, thinking I had a broken project I remade it, I then realised the bug is persistent across projects so I tested it with a very simple boolean setup and the most bare-bones possible (Only using the required sdk and resolver package + Gesture manager for showcasing the bug). The end of the video shows the toggles working properly if the menu "Value" is true/checked
I do not show this in the video, but also manually checking the box in Gesture Manager's debug menu makes the toggles/buttons appear to work as they should when they actually don't, this leads me to think this issue is with the menu itself.
Both menu type Button and Toggle are affected as far as I have tested, I didn't test the other menu types.
Log In
AvatarRepo
I forgot to attach a screenshot showing the toggle setup was done correctly, oops.
All of the inspectors!