pKrime / Expy-Kit

Blending different Character Rigs together
356 stars 32 forks source link

Problem with new Rigify face rig in Blender 3.1+ and Rigify Game Friendly #20

Closed 0Auslander0 closed 2 years ago

0Auslander0 commented 2 years ago

When applying the Rigify Game Friendly feature to a Rigify rig with an updated face rig and then exporting the rig to Unreal Engine, an import error occurs.

fbxError

The problem manifested itself after upgrading the old Rigify face rig from Blender 2.9 to the new version 3.1+ using the Upgrade Face Rig feature in Metarig. If you do not update the facial rig, everything works correctly.

metarigUpgrade

I compared the fbx files of the correct rig and the rig with the problem and found that the problem rig contains unnecessary bones that are not deformation bones which are defined as the second root bone in UnrealEngine. The additional bones in the images below are initially located in the same place as the rig itself, I moved them to the side so that they can be seen.

BadrigFront BadrigRight Bones

At the beginning, I thought that the problem was related to the chest physics bones, which are necessary for the Spring bones addon to work, but after removing them completely, nothing has changed.

I will be grateful if you solve this problem. And thank you for a wonderful tool.

pKrime commented 2 years ago

Hi, I can confirm the issue, thanks for pointing this out. I think that the problem are the bones of the eyes, I'll work on a fix

cheers, p.

0Auslander0 commented 2 years ago

Thank you for your reply. I will wait for news. Good luck to you.

pKrime commented 2 years ago

Hi, this should be fixed with 6938e7e8610f9e172fe59f1974c7757fe5e04073

If confirmed working I will make new packages

Cheers!

0Auslander0 commented 2 years ago

Hello. I checked and everything seems to be working. I also looked at the hierarchy of bones and with it, everything seems to be in order, both in Blender and Unreal Engine, there were no errors. Anyway, if I find anything I'll let you know. Thank you for your hard work.

pKrime commented 2 years ago

Ok, we can close this issue then! :)