FBX: Materials missing from linked duplicates #104737
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#104737
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.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.78
Blender Version
Broken: 3.6.0, 4.0.0
Worked: 3.5.1
Short description of error
Moved from blender/blender#109723
When exporting an object with linked data to FBX and importing into Unity, the material on the copied object no longer exists.
Exact steps for others to reproduce the error
This is not a problem in Blender. The material on the copied object is still present, but when exporting to FBX, the material on the copied object no longer exists.
The attached no_mat.blend in a comment in the original issue has two cubes that share the same mesh and have the same materials. Exporting this as .fbx and importing the .fbx into Unity will result in the material being missing from one of the cubes:
For some reason, this exported .fbx actually works in FBX Review, but it's clear from looking at the code and the .fbx itself that the linked duplicates (aside from the first) are not being given any material slots (material to model connections).
Importing the exported .fbx back into Blender will not show any issues because the materials are imported into the mesh by default. Because the linked duplicates, aside from the first, have no material slots, the materials are imported into the mesh from the first linked duplicate and then the other linked duplicates result in a no-op when it comes to importing their materials.
Will mark as High prio since this seems to be a recent regression.