KeyError in import_fbx during the armature step #86756

Closed
opened 2021-03-20 05:19:26 +01:00 by Protected · 9 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 446.14

Blender Version
Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: blender/blender@02948a2cab
Worked: Never

Addon Information
Name: FBX format (4, 22, 0)
Author: Campbell Barton, Bastien Montagne, Jens Restemeier

Short description of error

...
File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\io_scene_fbx\import_fbx.py", line 2297, in link_hierarchy
  (mmat, amat) = mesh.armature_setup[self]

KeyError: NAME_OF_MODEL

Exact steps for others to reproduce the error
I would prefer not to include the model here, since it's not public. Anything else I can do?
The issue was also tested and verified in blender 2.8x LTS
Please let me know if you think the model is defective/corrupted and I'll accept that (although the error seems rather unfriendly and the import process works until this step; the portions of the model imported prior to the error seem correct, including--zero-weight--bones).
Update: Appears to import well into Unity.

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 446.14 **Blender Version** Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: `blender/blender@02948a2cab` Worked: Never **Addon Information** Name: FBX format (4, 22, 0) Author: Campbell Barton, Bastien Montagne, Jens Restemeier **Short description of error** ``` ... File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\io_scene_fbx\import_fbx.py", line 2297, in link_hierarchy (mmat, amat) = mesh.armature_setup[self] ``` KeyError: NAME_OF_MODEL **Exact steps for others to reproduce the error** I would prefer not to include the model here, since it's not public. Anything else I can do? The issue was also tested and verified in blender 2.8x LTS Please let me know if you think the model is defective/corrupted and I'll accept that (although the error seems rather unfriendly and the import process works until this step; the portions of the model imported prior to the error seem correct, including--zero-weight--bones). Update: Appears to import well into Unity.
Author

Added subscriber: @Protected

Added subscriber: @Protected
Author

I added another error that I think might be related as parent. Can't close as duplicate because that dialog doesn't seem to be working.

Note that this import fails even when I untick the Animation checkbox in the import settings, however, I do believe the model contains animations.

I added another error that I think might be related as parent. Can't close as duplicate because that dialog doesn't seem to be working. Note that this import fails even when I untick the Animation checkbox in the import settings, however, I do believe the model contains animations.
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

If you can confirm that #82274 is the same error you get, perhaps by trying the file there, then I can merge them.

If you can confirm that #82274 is the same error you get, perhaps by trying the file there, then I can merge them.
Member

Just a poke regarding my inquiry above, otherwise, we will have to archive this for now.

Just a poke regarding my inquiry above, otherwise, we will have to archive this for now.
Author

I don't remember, it was more than a year ago... I did investigate further back then and I remember being pretty certain of the cause but I can't recall it now. I vaguely recall it imported half way through but something was wrong about... the armature?

I don't think the fbx was animated.

I know that this imported well using BetterFBX at the time.

I don't remember, it was more than a year ago... I did investigate further back then and I remember being pretty certain of the cause but I can't recall it now. I vaguely recall it imported half way through but something was wrong about... the armature? I don't think the fbx was animated. I know that this imported well using BetterFBX at the time.
Member

Understandable, we are sorry we left this unattended for so long.
Animation doesn't seem to matter in this case. Since the other reports is already confirmed, I will go ahead and merge with that one.

Understandable, we are sorry we left this unattended for so long. Animation doesn't seem to matter in this case. Since the other reports is already confirmed, I will go ahead and merge with that one.
Member

Closed as duplicate of #82274

Closed as duplicate of #82274
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#86756
No description provided.