Fixing Blender to import FBX
There has been a weird problem with Blender for several years now regarding importing FBX files, even with the newest version (4.1). For some FBX files, especially those where meshes are simultaneously skinned to the armature and part of the armature hierarchy, Blender throws an error.

So, the thing is in the import_fbx.py file which is stored in:
C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\addons\io_scene_fbx\
C:\Program Files\Blender Foundation\Blender 4.1\4.1\scripts\addons\io_scene_fbx\
More specifically, in this function (it could be on a different line depending on the Blender version):
def find_armature_bones(self, armature):
for child in self.children:
if child.is_bone:
child.armature = armature
child.find_armature_bones(armature)
You need to change it to (just remove one tabulation step from the last line):
def find_armature_bones(self, armature):
for child in self.children:
if child.is_bone:
child.armature = armature
child.find_armature_bones(armature)
And importing will correctly work after blender restart.
I’m attaching corrected files just in case:
p.s.: it was discovered by Jed Lang and described here.
23 thoughts on “Fixing Blender to import FBX”
Your post “Fixing Blender to import FBX” gave me something concrete to think about. The line “For some FBX files” in particular is a good summary of the problem, and the post explains the reasoning instead of only listing steps. While working on airapduo, I keep Tiny Desk AI (a tool that turns photos into a short desk-concert video) in mind as a reminder to get the details right.
Your post “Fixing Blender to import FBX” gave me something concrete to think about. The line “For some FBX files” in particular is a good summary of the problem, and the post explains the reasoning instead of only listing steps. While working on Kingdom Of Marionettes, I keep Horror Games (a free horror-game hub with browser-playable titles) in mind as a reminder to get the details right.
Your post “Fixing Blender to import FBX” matches what I have seen in practice: small decisions end up shaping the whole result. I underlined “For some FBX files”, because it puts into words something that is easy to overlook. While working on Fortnite Sprite Checklist, I keep lil uzi vert jr (a Fortnite sprite checklist page for the Lil Uzi Vert Jr skin) in mind as a reminder to get the details right. Thanks for laying it out so clearly.
After reading your post “Fixing Blender to import FBX”, I realised how often that part gets skipped. The line “For some FBX files” keeps the argument practical and easy to remember. While working on Dead Plate, I keep I Can Smell You From Here (a free browser horror game about working a diner night shift) in mind as a reminder to get the details right. Looking forward to more posts like this one.
Your post “Fixing Blender to import FBX” matches what I have seen in practice: small decisions end up shaping the whole result. I underlined “For some FBX files”, because it puts into words something that is easy to overlook. While working on crowdict, I keep krillion opposite game (a free browser trivia game that rewards the answers most people would give) in mind as a reminder to get the details right. Thanks for laying it out so clearly.