# Meshes turn completely black after building lighting.

**URL:** <https://forums.unrealengine.com/t/meshes-turn-completely-black-after-building-lighting/70844>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [August 6, 2016, 11:24pm UTC](https://forums.unrealengine.com/t/meshes-turn-completely-black-after-building-lighting/70844 "2016-08-06T23:24:49Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Talismansa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Talismansa](https://forums.unrealengine.com/u/Talismansa)\
**Post date:** [August 6, 2016, 11:24pm UTC](https://forums.unrealengine.com/t/meshes-turn-completely-black-after-building-lighting/70844/1 "2016-08-06T23:24:49Z")

</div>

Hi all.  
I made sure all my UVs are correct and on the right channel when exporting to FBX, and before putting them in the actual scene, I test build the lighting in a separate project to see if I have the UVs correct.

 ![Capture.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/a/ea395db6721fb990573d627eb8389cbf9e1117a1.png)  
And it looks all good.

But as soon as I put them in the actual project I want them in. This happens:  
 ![Capture02.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/c/e/cecbb11c37b1082f77b83b32cbabd6d0ee9ee5d3.png)

 ![Capture03.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/c/3/c352d40287d013527f06b644dae0d83c90300437.png)

 ![Capture04.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/4/c/4cb4d6a73815c7944d74ac830b2531093a20190b.png)

What’s going on? The light map resolutions are all 512, and the UVs are showing that it’s all correct.

---

<div class="post-metadata">

**Author:** ![Umberto](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Umberto](https://forums.unrealengine.com/u/Umberto)\
**Post date:** [August 7, 2016, 12:37am UTC](https://forums.unrealengine.com/t/meshes-turn-completely-black-after-building-lighting/70844/2 "2016-08-07T00:37:39Z")

</div>

Check in your 3d package - odds are your normals are faceing inward.

---

<div class="post-metadata">

**Author:** ![1User12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@1User12](https://forums.unrealengine.com/u/1User12)\
**Post date:** [August 7, 2016, 12:43am UTC](https://forums.unrealengine.com/t/meshes-turn-completely-black-after-building-lighting/70844/3 "2016-08-07T00:43:33Z")

</div>

I don’t know why, but this happened to me after I switched the light from Stationary to Static.  
If that’s not it try this:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/8/2/a823416491906b670519194f381993a6e1b83a0b.jpeg "Unreal Engine 4 Tutorial: 2nd UV Channel (english)") ](https://www.youtube.com/watch?v=z5yc-bKbHyc)

---

<div class="post-metadata">

**Author:** ![Talismansa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Talismansa](https://forums.unrealengine.com/u/Talismansa)\
**Post date:** [August 7, 2016, 1:16am UTC](https://forums.unrealengine.com/t/meshes-turn-completely-black-after-building-lighting/70844/4 "2016-08-07T01:16:50Z")

</div>

> [@Umberto;577026](#):
>
> Check in your 3d package - odds are your normals are faceing inward.

Not sure what you mean, but the normals are all correctly facing outward. The first image shows that it builds fine. It seems like it’s only in this particular scene it’s turning black.

---

<div class="post-metadata">

**Author:** ![SE\_JonF](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/se_jonf/32/958477_2.png) [@SE\_JonF](https://forums.unrealengine.com/u/SE_JonF)\
**Post date:** [August 7, 2016, 1:48am UTC](https://forums.unrealengine.com/t/meshes-turn-completely-black-after-building-lighting/70844/5 "2016-08-07T01:48:05Z")

</div>

When you say correct, I’m assuming you mean there are no overlapping faces in your lightmap UVs?

---

<div class="post-metadata">

**Author:** ![darthviper107](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/darthviper107/32/710746_2.png) [@darthviper107](https://forums.unrealengine.com/u/darthviper107)\
**Post date:** [August 7, 2016, 1:58am UTC](https://forums.unrealengine.com/t/meshes-turn-completely-black-after-building-lighting/70844/6 "2016-08-07T01:58:44Z")

</div>

Also make sure your lightmap UV’s are assigned to the correct channel. By default UE4 will try to generate an additional lightmap UV channel which it will assign for the lightmaps. The option to turn that off is in the Import window.

---

<div class="post-metadata">

**Author:** ![Riley1389](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Riley1389](https://forums.unrealengine.com/u/Riley1389)\
**Post date:** [August 7, 2016, 2:00am UTC](https://forums.unrealengine.com/t/meshes-turn-completely-black-after-building-lighting/70844/7 "2016-08-07T02:00:58Z")

</div>

So I was having much difficulty with this as well.

Two things you’ll want to check:

1. The material’s AO input: if you are using a clamp, lerp, or even a simple scalar, check to make sure it’s not set to 0. It will cause your meshes with the material to be read as completely shaded by the AO.

2. If your material relies heavily on metalness, you’ll want to use a reflection capture actor. Box or sphere is fine. Otherwise if you’re using static lights then the information won’t be stored anywhere after the lighting has been baked.

---

<div class="post-metadata">

**Author:** ![Talismansa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Talismansa](https://forums.unrealengine.com/u/Talismansa)\
**Post date:** [August 7, 2016, 2:55am UTC](https://forums.unrealengine.com/t/meshes-turn-completely-black-after-building-lighting/70844/8 "2016-08-07T02:55:59Z")

</div>

> [@darthviper107;577053](#):
>
> Also make sure your lightmap UV’s are assigned to the correct channel. By default UE4 will try to generate an additional lightmap UV channel which it will assign for the lightmaps. The option to turn that off is in the Import window.

Yes the UVs are correctly flattened, and on channel 1

 ![uv.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/c/e/ace1f925499d68371ede688d032b1dfed35eb504.png)

The material is just a white color with roughness of 0. Nothing else.

---

<div class="post-metadata">

**Author:** ![KAZ](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kaz/32/703787_2.png) [@KAZ](https://forums.unrealengine.com/u/KAZ)\
**Post date:** [May 13, 2024, 9:58pm UTC](https://forums.unrealengine.com/t/meshes-turn-completely-black-after-building-lighting/70844/9 "2024-05-13T21:58:04Z")

</div>

The fastest way to resolve this issue and the most simple one is to just “Select your lights and make them as moveable from their settings”

This should solve the issue 🙂
