# Importing an FBX from blender with different materials crashes the editor.

**URL:** <https://forums.unrealengine.com/t/importing-an-fbx-from-blender-with-different-materials-crashes-the-editor/384863>\
**Category:** Rendering\
**Tags:** Blender, unreal-engine, crash, import, question\
**Created:** [February 14, 2017, 3:01am UTC](https://forums.unrealengine.com/t/importing-an-fbx-from-blender-with-different-materials-crashes-the-editor/384863 "2017-02-14T03:01:38Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kajenx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kajenx](https://forums.unrealengine.com/u/Kajenx)\
**Post date:** [February 14, 2017, 3:01am UTC](https://forums.unrealengine.com/t/importing-an-fbx-from-blender-with-different-materials-crashes-the-editor/384863/1 "2017-02-14T03:01:38Z")

</div>

This kept happening for me on various models and I figured out why. If there is no material on an object when you export it from blender, but you add one in unreal, the next time you import the model (say, after making some changes in blender) it will crash the editor.

So to duplicate the problem:

1. Make a model in blender and export an FBX (don’t add a material).
2. Import it into Unreal.
3. Open up the model in Unreal and add a material.
4. Go back to blender, change the model, then export the FBX again.
5. Click the import button when it appears in Unreal.
6. Be sad because your editor just crashed.

You can stop the crashing for the time being by adding the same number of material slots in blender as you have in Unreal.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_72d9371a1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_72d9371a1](https://forums.unrealengine.com/u/anonymous_user_72d9371a1)\
**Post date:** [February 14, 2017, 3:11am UTC](https://forums.unrealengine.com/t/importing-an-fbx-from-blender-with-different-materials-crashes-the-editor/384863/2 "2017-02-14T03:11:59Z")

</div>

Check this one [Ue4 Crashes after FBX REIMPORT - Platform & Builds - Epic Developer Community Forums](https://answers.unrealengine.com/questions/558771/ue4-crashes-after-fbx-reimport.html#answer-559262)

---

<div class="post-metadata">

**Author:** ![Kajenx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kajenx](https://forums.unrealengine.com/u/Kajenx)\
**Post date:** [February 16, 2017, 2:32am UTC](https://forums.unrealengine.com/t/importing-an-fbx-from-blender-with-different-materials-crashes-the-editor/384863/3 "2017-02-16T02:32:20Z")

</div>

That’s a different modelling program, I think.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_280dd372](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_280dd372](https://forums.unrealengine.com/u/anonymous_user_280dd372)\
**Post date:** [February 20, 2017, 5:30pm UTC](https://forums.unrealengine.com/t/importing-an-fbx-from-blender-with-different-materials-crashes-the-editor/384863/4 "2017-02-20T17:30:35Z")

</div>

Hey Kajenx,

Are you in 4.14.2? We have a fix for an issue like this in 4.14.3. See [UE-40229](https://issues.unrealengine.com/issue/UE-40229)

-

---

<div class="post-metadata">

**Author:** ![Kajenx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kajenx](https://forums.unrealengine.com/u/Kajenx)\
**Post date:** [February 23, 2017, 9:40am UTC](https://forums.unrealengine.com/t/importing-an-fbx-from-blender-with-different-materials-crashes-the-editor/384863/5 "2017-02-23T09:40:59Z")

</div>

I’m using 4.14.3, so I don’t think that fixed this problem.

BTW, I noticed that in blender objects are automatically assigned a material. The crash was happening for me when I exported objects with no materials assigned at all. I’m not sure if the same thing would happen with more than one material in blender and only one in unreal (or some other mismatch between the number of materials).

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_280dd372](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_280dd372](https://forums.unrealengine.com/u/anonymous_user_280dd372)\
**Post date:** [February 24, 2017, 7:03pm UTC](https://forums.unrealengine.com/t/importing-an-fbx-from-blender-with-different-materials-crashes-the-editor/384863/6 "2017-02-24T19:03:06Z")

</div>

Hey Kajenx,

I mixed up my crashes. This is actually [UE-40510](https://issues.unrealengine.com/issue/UE-40510), which is fixed in 4.15.

-

---

<div class="post-metadata">

**Author:** ![Kajenx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kajenx](https://forums.unrealengine.com/u/Kajenx)\
**Post date:** [February 25, 2017, 5:38am UTC](https://forums.unrealengine.com/t/importing-an-fbx-from-blender-with-different-materials-crashes-the-editor/384863/7 "2017-02-25T05:38:42Z")

</div>

That looks right! I’ll have to update. Thank you.

---

<div class="post-metadata">

**Author:** ![Kajenx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kajenx](https://forums.unrealengine.com/u/Kajenx)\
**Post date:** [February 26, 2017, 5:09am UTC](https://forums.unrealengine.com/t/importing-an-fbx-from-blender-with-different-materials-crashes-the-editor/384863/8 "2017-02-26T05:09:48Z")

</div>

Hey, could you take a look at this post: [Dynamic shadows on foliage broken on half of terrain. - Rendering - Unreal Engine Forums](https://answers.unrealengine.com/questions/567268/dynamic-shadows-on-foliage-broken-on-half-of-terra.html)

I haven’t heard from anyone for a few days.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_280dd372](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_280dd372](https://forums.unrealengine.com/u/anonymous_user_280dd372)\
**Post date:** [February 27, 2017, 10:44pm UTC](https://forums.unrealengine.com/t/importing-an-fbx-from-blender-with-different-materials-crashes-the-editor/384863/9 "2017-02-27T22:44:16Z")

</div>

Rendering/Landscape is not my specialty. If you think it’s a bug, you’ll need to move it/report it in the bug reports section and a Support Tech will take a look.

-

---

<div class="post-metadata">

**Author:** ![Kajenx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kajenx](https://forums.unrealengine.com/u/Kajenx)\
**Post date:** [March 1, 2017, 8:56am UTC](https://forums.unrealengine.com/t/importing-an-fbx-from-blender-with-different-materials-crashes-the-editor/384863/10 "2017-03-01T08:56:53Z")

</div>

I think I may have tracked down an answer, actually. It looks like it’s this bug: [Unreal Engine Issues and Bug Tracker (UE-20029)](https://issues.unrealengine.com/issue/UE-20029)
