DarklightGames / io_scene_psk_psa

A Blender extension for importing and exporting Unreal PSK and PSA files
GNU General Public License v3.0
402 stars 25 forks source link

Certain Bones not Animating properly after import of PSA file. #94

Closed bnthomason closed 5 months ago

bnthomason commented 6 months ago

Versions Blender: 4.1 io_scene_psk_psa: latest (7.0.0)

Describe the bug Importing the psk and psa file will result in the hair bones not animating properly. Before you say "Your animations have been successfully imported. The warning is a warning, not an error. The animations are not applied to the armature upon import.", I am aware the animations successfully imported, and are in the action editor. I can see most the animations working in the Action editor, except for the hair; It does not animate with the rest of the model.

To Reproduce Steps to reproduce the behavior: 1`. Open Blender 4.1

  1. Import AN_NPC_MOB_Unicorn_A01_SK_KHS.psk
  2. Import AN_NPC_MOB_Unicorn_A01_AS_KHS.psa
  3. See error

Expected behavior In theory, importing the psk file should not have any dummy bones, or importing the psa file should correlate the dummy bone and all of it's childs.

Screenshots Bone Parenting Issue Parent Dummy01

Files AnimSet.zip Animset file includes the psk and psa file.

Additional context This may be a model problem, the way I exported this model a long time ago. I no longer have access to the original untouched files, so if it is indeed a model problem and you know how to fix bones or know a tutorial that explains how to do this, please tell me! Thanks!

cmbasnett commented 5 months ago

The issue here is that the PSK and PSA armatures are fundamentally incompatible.

One possible solution would be to allow the user to simply import the armature bones from the PSA, since it seems like all the armature data is present there. I'll see about adding this.

cmbasnett commented 5 months ago

Actually, just checked and the PSA files do not have sufficient information to reconstruct the armature, it just has the bone names. Unfortunately, this means that it's also impossible to somehow infer what changes should be made to the PSK armature based on the PSA data. Unfortunately, there's nothing that the addon can do to help you here.

bnthomason commented 5 months ago

I see. Thanks for your effort anyway. I managed to find the original files on an old hard drive backup. I'll see if I can get them exported again. If I have more problems with PSK importing I'll let you know here.