fbx file import error if LimbNode has UByte custom property. #104672

Closed
opened 2023-06-05 10:59:09 +02:00 by Pratik Borhade · 3 comments
Member

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 517.48

Blender Version
Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: e1ccd9d4a1d3

Short description of error
Import error occurs for fbx file that has UByte type node property.

Exact steps for others to reproduce the error

  1. Open blender
  2. File -> Import -> fbx
  3. Import attached fbx file.
  4. Error message will be shown: see error_log.txt

If limb node property data type is Integer, the error doesn't occur.
I confirmed Maya / Houdini can import the fbx file attached.

Thanks!

Originally submitted at: blender/blender#108588

**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 517.48 **Blender Version** Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: `e1ccd9d4a1d3` **Short description of error** Import error occurs for fbx file that has UByte type node property. **Exact steps for others to reproduce the error** 1. Open blender 2. File -> Import -> fbx 3. Import attached fbx file. 4. Error message will be shown: see error_log.txt If limb node property data type is Integer, the error doesn't occur. I confirmed Maya / Houdini can import the fbx file attached. Thanks! Originally submitted at: https://projects.blender.org/blender/blender/issues/108588
Pratik Borhade added the
Type
Report
Priority
Normal
Status
Needs Triage
labels 2023-06-05 10:59:10 +02:00

Though I am not sure what LimbNode is actually, I guess it means joint or bone.
I attached ascii fbx file so you can find a LimbNode section and definition of ubyte_attr in it.
The data type is UByte, that is 8 bit Integer type.

LimbNode.txt is an excerpt from the ascii fbx file.

Though I am not sure what LimbNode is actually, I guess it means joint or bone. I attached ascii fbx file so you can find a LimbNode section and definition of ubyte_attr in it. The data type is UByte, that is 8 bit Integer type. LimbNode.txt is an excerpt from the ascii fbx file.
Member

It looks like "Byte" and "UByte" custom properties use the 'Z' (90) data type that the FBX IO addon doesn't currently support. It seems to just be a single byte type which shouldn't be difficult to add.

ufbx thinks 'Z' is size_t rather than a single byte, which I suspect is incorrect, but I will look around to see if I can find any other information.

It looks like "Byte" and "UByte" custom properties use the 'Z' (90) data type that the FBX IO addon doesn't currently support. It seems to just be a single byte type which shouldn't be difficult to add. ufbx thinks 'Z' is `size_t` rather than a single byte, which I suspect is incorrect, but I will look around to see if I can find any other information.
Blender Bot added the
Status
Resolved
label 2023-06-09 14:36:35 +02:00
Blender Bot removed the
Status
Needs Triage
label 2023-06-09 14:36:35 +02:00

Thanks for fixing the issue! 😄

Thanks for fixing the issue! 😄
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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#104672
No description provided.