Download

Skeleton bone_tree empty?

Hello,
I am trying to access the skeleton bone_tree data using python in Unreal on our generic skeleton but seem to just get a empty array in UE5. Any advice would be great.

import unreal

mSkel=unreal.Skeleton( name='SKEL_imm_genericHuman_Skeleton')
print (mSkel.get_editor_property('bone_tree'))
print (type(mSkel.get_editor_property('bone_tree')))
print (len(mSkel.get_editor_property('bone_tree')))

Yields:
LogPython: []
LogPython: <class ‘Array’>
LogPython: 0

Kind Regards,
Erik