FBX Import error (enum with -1 value -- e.g. as done by the babylonjs exporter from 3dsmax) #81657
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#81657
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 456.38
Blender Version
Broken: version: 2.90.1, branch: master, commit date: 2020-09-23 06:43, hash:
blender/blender@3e85bb34d0
Worked: (newest version of Blender that worked as expected)
Short description of error
I try and import an FBX I have exported from 3ds max 2021, but get the following traceback error.
It is weird because I could import the same geometry from max last week and it worked fine.
I can export a cube from max as an fbx, and that imports fine.
Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]
Import the attached fbx filename SeatbeltAdult_GeoBake_Environment_02.fbx
Added subscriber: @lee_sfs
blender/blender#91062 was marked as duplicate of this issue
#83501 was marked as duplicate of this issue
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscriber: @lichtwerk
Changed status from 'Confirmed' to: 'Needs User Info'
There is a prop definition in that FBX called
babylonTransparencyMode
with possible Values ['Opaque', 'Cutoff', 'Blend']Now the actual value on Material("seatbeltad_env_mat1") is -1, so what should the code do? It can only be 0 ('Opaque'), 1('Cutoff') or 2('Blend')...
I assume this is for babylon.js somehow? Are you adding these in Max "by hand"? Or is this some kind of special exporter?
Could it be that the Exporter does something wrong here?
FBX Import error, (Not Binary Fix)to FBX Import error (enum with -1 value)Thanks for your help on this guys.
So I installed the Babylon Exporter (v20200917.1) for 3ds max 2021 late last week, so this must be what has caused the new issue.
If you have a physical material applied to the geometry, there is a babylon setting where you can define, Opaque, Cutoff or Blend. I have it set to Opaque which is when the issues are caused.
If I set it to Cutoff or Blend, then it imports fine.
I have attached the Cutoff and Blend files, to see if they are giving the correct values.
Also if I apply a PBR shader, then it exports fine too.SeatbeltAdult_GeoBake_Environment_02_cutoff.fbx
SeatbeltAdult_GeoBake_Environment_02_blend.fbx
Is there any update on this issue guys.
Aware that it is probably the Babylon exporter in max that is causing this issue, so I have filed a bug on their forum too.
Wasn't sure if there is a way to convert a -1 value to 0?
As having to change every material type when exporting to fbx is a pain.
Merci
Changed status from 'Needs User Info' to: 'Needs Triage'
Changed status from 'Needs Triage' to: 'Archived'
For reference, I think you are talking about this:
https://forum.babylonjs.com/t/transparency-mode-blender-import-issue/14968
And yes, I would say there is not much blender can do here.
Please continue the thread on forum.babylonjs.com, you could also link them to this reports so they can see our findings regarding the "faulty"
babylonTransparencyMode
enum.Thx again reporting, but I am afraid we have to close this.
FBX Import error (enum with -1 value)to FBX Import error (enum with -1 value -- e.g. as done by the babylonjs exporter from 3dsmax)Added subscriber: @KevinBuysse
Added subscriber: @mrlooi
This issue was referenced by
770d08b71f
This issue was referenced by
2fe7db7171
This issue was referenced by
4e30cfd306
Changed status from 'Archived' to: 'Resolved'