VRC Constraints buggy when inside prefab
available in future release
SophieBlue
I've got several versions of the same avatar which use the same body model (they have different outfits), and use a number of constraints for body shaping/deform (twist bones, muscles, shaping, etc). So to make my life easy, I put a bunch of VRC Rotation Constraints in a prefab, just like I do with my physbone settings.
Unlike physbones though, this is a source of great frustration.
The #1 issue is going in and out of playmode seems to randomly deactivate one or more of the constraints - which one seems to be different for each avatar, but it's 100% reproducible for a given avatar.
Another issue I noticed was trying to apply or revert prefab settings - a reproducible case is to have two rotation constraints on a single GameObject in a prefab, activate both, then try to apply or revert any setting for one of the constraints while watching the other one - you'll note it has some settings change unintentionally. While avoidable, it's still probably not desired behavior.
If I unpack the prefab, everything works fine and the settings never get changed, but then it's much harder to share settings across avatars.
Log In
SophieBlue
Any idea which future release this will be coming in? The deactivation issue is still present in 3.7.2
This post was marked as
available in future release
StormRel
tracked
SophieBlue
I can confirm it doesn't matter if there are multiple constraints on a single game object.
This is reproducible:
* create a parent game object on the avatar
* create a child game object under that
* put a rotation constraint on the child object with source and target bones
* activate the constraint
* drag the parent object into the project to make it a prefab
* disable the constraint via the "is active" checkbox
* click "activate" again
Now the "is active" checkbox will have a blue mark next to it as if it were an override. When you go into play mode, this checkbox will erroneously become unchecked.
To observe the second issue:
* Open up the "Constraint Settings" dropdown so we can see the "Lock" checkbox
* Right-click "over that "Is Active" checkbox and select "revert"
* Observe the "Lock" checkbox is now erroneously unchecked