# "Import High-Res mesh" feature for Nanite is crippled due to old FBX material ID bug.

**URL:** <https://forums.unrealengine.com/t/import-high-res-mesh-feature-for-nanite-is-crippled-due-to-old-fbx-material-id-bug/789699>\
**Category:** World Creation\
**Tags:** unreal-engine\
**Created:** [March 13, 2023, 12:19pm UTC](https://forums.unrealengine.com/t/import-high-res-mesh-feature-for-nanite-is-crippled-due-to-old-fbx-material-id-bug/789699 "2023-03-13T12:19:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheRealBiomes](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/therealbiomes/32/1017675_2.png) [@TheRealBiomes](https://forums.unrealengine.com/u/TheRealBiomes)\
**Post date:** [March 13, 2023, 12:19pm UTC](https://forums.unrealengine.com/t/import-high-res-mesh-feature-for-nanite-is-crippled-due-to-old-fbx-material-id-bug/789699/1 "2023-03-13T12:19:20Z")

</div>

I’v been dealing with an infuriating problem trying to hook up Nanite meshes to “normal” meshes where the materials will not be applied properly on the Nanite mesh even if the assets are identical in terms of material count, material name, sub material name etc.

Even a tessalated copy of the exact original mesh, with no changes to the material IDs or anything at all for that matter, once imported as a high res mesh, enabling Nanite has a high likelyhood of causing this.

We tried disabling “Reorder Material to Fbx Order” but no luck.

Anybody have any idea? It’s really driving me absolutely nuts trying to set this up properly…

---

<div class="post-metadata">

**Author:** ![TheRealBiomes](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/therealbiomes/32/1017675_2.png) [@TheRealBiomes](https://forums.unrealengine.com/u/TheRealBiomes)\
**Post date:** [March 20, 2023, 1:50pm UTC](https://forums.unrealengine.com/t/import-high-res-mesh-feature-for-nanite-is-crippled-due-to-old-fbx-material-id-bug/789699/2 "2023-03-20T13:50:10Z")

</div>

As an update to this issue we have realized it is not the Nanite mesh causing issues but there seems to be a very old bug in the FBX import pipeline where UE messes up the material ID order in the static mesh sections.

A bunch of old threads describing the issue:

> [@Material Slots not importing in correct order](https://forums.unrealengine.com/t/material-slots-not-importing-in-correct-order/472224/3):
>
> For anyone in the future, a different alternative to deleting the asset and reimporting it is to either replace the mesh in the file with something else like a cube with no materials, or remove all of the materials from the current mesh. When reimporting the asset into UE4, this will give you a prompt with the option to “Revert to FBX”. Do that. Adjust the material order in your 3d modelling software like Blender and reimport it into UE4. This will again ask if you would like to "Revert to FBX "…

> [@order of materials changes on reimport](https://forums.unrealengine.com/t/order-of-materials-changes-on-reimport/381929/10):
>
> Hi Shirk. The specific issue originally reported by Harcarik was confirmed to be fixed back with the UE 4.15 release. What you are experiencing may be a new issue. Please follow our new bug submission process to provide the necessary information so our support staff can look into the issue [https://epicsupport.force.com/unrealengine/s/](https://epicsupport.force.com/unrealengine/s/)

> [@Is there a way to set the material element slot order?](https://forums.unrealengine.com/t/is-there-a-way-to-set-the-material-element-slot-order/417787/6):
>
> So I found a solution that works. This problem seems to be obscure enough that not many of us actually run into it.

**This issue is CRIPPLING the high-res mesh import functionality for use as an easy way to enable/disable Nanite on objects with more than 2 materials.**

---

<div class="post-metadata">

**Author:** ![peilinYang](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@peilinYang](https://forums.unrealengine.com/u/peilinYang)\
**Post date:** [March 20, 2023, 3:31pm UTC](https://forums.unrealengine.com/t/import-high-res-mesh-feature-for-nanite-is-crippled-due-to-old-fbx-material-id-bug/789699/3 "2023-03-20T15:31:38Z")

</div>

I have encountered the same problem and currently have no idea how to solve it. Do you have any leads?

---

<div class="post-metadata">

**Author:** ![TheRealBiomes](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/therealbiomes/32/1017675_2.png) [@TheRealBiomes](https://forums.unrealengine.com/u/TheRealBiomes)\
**Post date:** [March 21, 2023, 11:46am UTC](https://forums.unrealengine.com/t/import-high-res-mesh-feature-for-nanite-is-crippled-due-to-old-fbx-material-id-bug/789699/5 "2023-03-21T11:46:56Z")

</div>

After a bunch of research it seems like the only solution might be to import assets without “Reorder material to FBX order” enabled. This means your material slots order might not be correct compared to 3ds Max/Blender etc, but importantly it’s now consistent with the static mesh sections.

However you need to create completely new uasset files/re-import everything from scratch as if the asset has already been imported with this issue we haven’t found a way to fix it (Reorder material to FBX order only seems to work on the first initial import).

The problem seems to be that the “Reorder material to FBX order” feature seems to only take into account the material slots and not the static mesh sections so when this is ticked it creates this order mismatch between material slots and mesh sections.

---

<div class="post-metadata">

**Author:** ![TheRealBiomes](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/therealbiomes/32/1017675_2.png) [@TheRealBiomes](https://forums.unrealengine.com/u/TheRealBiomes)\
**Post date:** [April 5, 2023, 11:51am UTC](https://forums.unrealengine.com/t/import-high-res-mesh-feature-for-nanite-is-crippled-due-to-old-fbx-material-id-bug/789699/6 "2023-04-05T11:51:42Z")

</div>

After having further looked into it I can almost confirm there is no way to fix this until Epic does something.

The good new is: [https://github.com/EpicGames/UnrealEngine/commit/e43b81ce13a77f7df0d36afb3dac5687e99e0134](https://github.com/EpicGames/UnrealEngine/commit/e43b81ce13a77f7df0d36afb3dac5687e99e0134)

The bad news is it’s likely not until 5.3…
