Description

The licensee reported the following on this issue.

The problem seems to be that the comparison below is not working properly. If the Material is not created, it will be a comparison between WorldGridMaterials, resulting in an incorrect branch.
.\Engine\Source\Editor\UnrealEd\Private\Fbx\FbxStaticMeshImport.cpp
[Link Removed]

I think that the intended operation will be obtained by adding the condition of Slot name as follows.

&& StaticMeshMaterial.MaterialSlotName == CandidateMaterial.MaterialSlotName

 

Steps to Reproduce
  1. Import the attached FBX.
    [Link Removed]
  2. Enable ImportMeshLODs and set Create New Materials.
  3. When imported, Slots are Red and Green.
    [Link Removed]   [Link Removed]
  4. Enable ImportMeshLODs and set Do Not Create Material.
  5. After importing, Slot will be Red only.
    [Link Removed]    [Link Removed]

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-103791 in the post.

1
Login to Vote

Fixed
Fix Commit14940433
Release Commit14940433
CreatedNov 30, 2020
ResolvedDec 16, 2020
UpdatedApr 27, 2021