Avatar auto collider transforms are not updated before an upload
tracked
SenkyDragon
AvatarDescriptorEditor3.UpdateAutoColliders and MirrorCollider should be called in a really early preprocessor hook. Without this, the collider transforms can be randomly set improperly, or randomly set to null if an fbx rig update has changed the finger bones, and the user has not opened the avatar descriptor Colliders foldout since the change.
This is because UpdateAutoColliders is only called in the AvatarDescriptorEditor3 collider foldout render code. Otherwise, the collider transforms are NEVER updated.
Doing this by default in the vrcsdk in a very, very early preprocessor hook would resolve these issues, and still allow vrcf/ndmf "collider tricks" to function, since they change the transforms later in the build.
For now, we've started calling this method using reflection in vrcfury at preprocessor hook order int.MinValue. This is pretty bad, since currently calling UpdateAutoColliders requires making an instance of AvatarDescriptorEditor3, which is an Object.
PS: MirrorCollider is also broken if the avatar's origin isn't at x=0. That should also be fixed. We're currently also fixing this in vrcf using reflection.
Log In
This post was marked as
tracked