Fbx import assertion error(unknown location -1) #90627

Closed
opened 2021-08-12 10:49:31 +02:00 by June · 20 comments

System Information
Operating system: Win10 pro
Graphics card: Nvidia M1200

Blender Version
Broken: 2.80-2.92
(example: 2.79b release)
(example: 2.80, edbf15d3c044, blender2.8, 2018-11-28, as found on the splash screen)
Worked: (optional)

Short description of error
.....

  assert(val >= 0 and val < len(enum_items))

Fbx import assertion error(unknown location -1)
Attached test sample 001.fbx

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).

  1. Import the test .fbx sample
**System Information** Operating system: Win10 pro Graphics card: Nvidia M1200 **Blender Version** Broken: 2.80-2.92 (example: 2.79b release) (example: 2.80, edbf15d3c044, blender2.8, 2018-11-28, as found on the splash screen) Worked: (optional) **Short description of error** ..... ``` assert(val >= 0 and val < len(enum_items)) ``` Fbx import assertion error(unknown location -1) Attached test sample [001.fbx](https://archive.blender.org/developer/F10278485/001.fbx) **Exact steps for others to reproduce the error** Based on the default startup or an attached .blend file (as simple as possible). 1. Import the test .fbx sample
Author

Added subscriber: @tiancaipipi110

Added subscriber: @tiancaipipi110
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Guess the reported issue is duplicate of #81657 (FBX Import error (enum with -1 value -- e.g. as done by the babylonjs exporter from 3dsmax))

Are you exporting it from 3ds max?

Guess the reported issue is duplicate of #81657 (FBX Import error (enum with -1 value -- e.g. as done by the babylonjs exporter from 3dsmax)) Are you exporting it from 3ds max?
Author

Yes, exported from 3ds max, I can import it back to 3ds max. It happens to many of them, not sure what's the cause.

Yes, exported from 3ds max, I can import it back to 3ds max. It happens to many of them, not sure what's the cause.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Problem is a prop called diaphragmBlades.
It is marked as an enum with these possible values: [Circular, Polygonal].
But the value is 5.

Problem is a prop called `diaphragmBlades`. It is marked as an enum with these possible values: [`Circular`, `Polygonal`]. But the value is 5.
Member

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

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

Is this the babylonjs exporter? Or the regular max fbx exporter?

Is this the babylonjs exporter? Or the regular max fbx exporter?
Author

Regular max fbx exporter.

Regular max fbx exporter.
Member

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

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

Changed status from 'Needs Triage' to: 'Archived'

Changed status from 'Needs Triage' to: 'Archived'
Member

Tbh, I dont think we can do anything here.
I can only assume that number of blades and blades shape is somehow mixed up in their exporter.

I think this needs to be reported to the 3DSMax bugtracker instead.
(feel free to reference this report here).

So thx reporting, but will close.

Tbh, I dont think we can do anything here. I can only assume that number of blades and blades shape is somehow mixed up in their exporter. I think this needs to be reported to the 3DSMax bugtracker instead. (feel free to reference this report here). So thx reporting, but will close.
Author

Sorry, but how is this a 3dsmax bug if 3ds max imports it fine?

Sorry, but how is this a 3dsmax bug if 3ds max imports it fine?
Member

What is diaphragmBlades set to when importing that FBX in max?
From the property definition, there only seem to be two choices, but the value is 5?

Max possibly is more forgiving with these properties, but to me this really looks like wrong usage of a property export, no?

What is `diaphragmBlades` set to when importing that FBX in max? From the property definition, there only seem to be two choices, but the value is 5? Max possibly is more forgiving with these properties, but to me this really looks like wrong usage of a property export, no?
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

FYI: Autodesk FBX Converter 2013.3 won't open the file, it says that it is corrupt.

FYI: Autodesk FBX Converter 2013.3 won't open the file, it says that it is corrupt.
Author

I'm not sure what this property does, but Meshlab and Win10's 3D Viewer are both able to import this .fbx, so maybe it's not a very important property and could be skipped?

I'm not sure what this property does, but Meshlab and Win10's 3D Viewer are both able to import this .fbx, so maybe it's not a very important property and could be skipped?
Author

fbx.jpg

![fbx.jpg](https://archive.blender.org/developer/F10278728/fbx.jpg)
Member

FYI: I've asked in https://blender.chat/channel/data-assets-io-module if we should (maybe) handle borked properties more gracefully, will keep you posted with answers.
(still dont think this is a bug on our side... why not also report this to Autodesk?)

FYI: I've asked in https://blender.chat/channel/data-assets-io-module if we should (maybe) handle borked properties more gracefully, will keep you posted with answers. (still dont think this is a bug on our side... why not also report this to Autodesk?)
Author

Thank you. I think it'll get a better chance resolved here.

Thank you. I think it'll get a better chance resolved here.
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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#90627
No description provided.