KK-Blender-Porter-Pack icon indicating copy to clipboard operation
KK-Blender-Porter-Pack copied to clipboard

Hip and Upper leg weight painting error after prepping for either VRChat VRM?

Open TrentWatt2020 opened this issue 9 months ago • 0 comments

Tl;Dr Sit poses or poses that require the leg and knee to be moved look absolutely mangled after running "Prep for target app".

Before running the "Prep for Target App" button, using the IK rig to pose the character in a way that is sitting looks fine. The upper leg doesn't look weird or shift in some odd way. However... Posing the character AFTER prep absolutely mangles the upper leg. It causes the thigh to do some weird deform shenanigans. If you follow the little purple/pink lines I drew, it becomes really obvious that something is off with the weight painting. I've tried changing vertex groups, hand weight painting it, shifting the bones, playing with the deform, MMD Bone mod.. Nothing I do reaaaaally fixes things.

It becomes most noticeable in VRChat, where sitting in a chair looks absolutely scuffed. Unity/VRCSDK also reports some weird rotational issues with the hips and pelvis region. I skimmed the issues and didn't really see any one else reporting this problem exactly how I see it. I've ported like 12 models through KK to Blender to VRC/VRM and never let it bother me till now. It's been a problem for the last like 2 years that I've noticed it. See the included images for a better idea of what I'm talking about.

If you enable Viewport Overlay > Vertex group weights before prepping a model you'll also find that the leg and knee bones don't appear to have group weights..? But they do after prep, which leads me to believe either CATS merging and redoing weights is the culprit, or something similar.

The model sitting before running "Prep". Note the straight lines. sitting-before-prep

After running "Prep". sitting-after-prep

After thought: I typically port male models, I didn't notice it with the one or two female models I've done. Might be something to do with the skeletal structure for males too.

TrentWatt2020 avatar May 01 '24 10:05 TrentWatt2020