DarklightGames / io_scene_psk_psa

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

Error when exporting PSA #76

Closed midgetbanana closed 4 months ago

midgetbanana commented 4 months ago

i have the armature that has the animation selected, on the export window i have the action checked, however when i export PSA I'm getting "AttributeError: 'NoneType' object has no attribute 'animation_data'"

i exported as fbx and imported it on a fresh blend file to try exporting again and this time i got "AttributeError: 'Object' object has no attribute 'bones'"

i'm new to this so i'm very likely doing something wrong but i've no idea what else to do

Untitled

cmbasnett commented 4 months ago

Please send the .blend file you're using, otherwise I cannot reproduce this.

midgetbanana commented 4 months ago

baikonur2.zip

hope it helps

cmbasnett commented 4 months ago

Thanks, I found the issue. There was a hidden setting that you must have been turned on by accident that caused the error due to some faulty programming. It will be fixed in a coming patch!

If you need to work around it in the meantime, you can select the Source to be Timeline Markers, then deselect Override Animation Data. You can then set the Source back to Actions and it should work fine.

cmbasnett commented 4 months ago

This has been fixed in 6.2.0.