# Invalid lightmap settings

**URL:** <https://forums.unrealengine.com/t/invalid-lightmap-settings/792>\
**Category:** Asset Creation\
**Tags:** unreal-engine\
**Created:** [March 24, 2014, 5:04pm UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792 "2014-03-24T17:04:51Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![StefanCG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StefanCG](https://forums.unrealengine.com/u/StefanCG)\
**Post date:** [March 24, 2014, 5:04pm UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792/1 "2014-03-24T17:04:51Z")

</div>

I want to make a prototype map for testing but when I convert my brush to a Static Mesh i get “Invalid lightmap settings” error.  
When i turn on “Overridden light map res” it shows the texture how it should but when I build lightning it turns black.  
It’s not the texture like you can see on the image it’s the same texture on the floor.  
But the floor is an imported mesh and not from an brush.

://i.imgur/rBsvatB.jpg?1

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_923c79df](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_923c79df](https://forums.unrealengine.com/u/anonymous_user_923c79df)\
**Post date:** [March 24, 2014, 5:07pm UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792/2 "2014-03-24T17:07:09Z")

</div>

Change the lightmap resolution (you can find that in the static mesh editor) to a higher value -\> not 0

---

<div class="post-metadata">

**Author:** ![StefanCG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StefanCG](https://forums.unrealengine.com/u/StefanCG)\
**Post date:** [March 24, 2014, 5:18pm UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792/3 "2014-03-24T17:18:16Z")

</div>

It’s on 64 allready i even turned it up to 6400 but still black.

://i.imgur/NXikWcb.png?1

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_923c79df](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_923c79df](https://forums.unrealengine.com/u/anonymous_user_923c79df)\
**Post date:** [March 24, 2014, 5:21pm UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792/4 "2014-03-24T17:21:52Z")

</div>

Then you have to create a 2nd uv channel -\> Window - Generate Unique UVs - and then create a 2nd one

---

<div class="post-metadata">

**Author:** ![StefanCG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StefanCG](https://forums.unrealengine.com/u/StefanCG)\
**Post date:** [March 24, 2014, 5:50pm UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792/5 "2014-03-24T17:50:10Z")

</div>

Thank you it’s not black anymore when I create a new UV and then use “Layout using 0 channel” but it \*\*\*\*\* up my texture?

://i.imgur/sT2a7XP.jpg?1

---

<div class="post-metadata">

**Author:** ![StefanCG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StefanCG](https://forums.unrealengine.com/u/StefanCG)\
**Post date:** [March 24, 2014, 6:45pm UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792/6 "2014-03-24T18:45:20Z")

</div>

Omg i didn’t change the light map coordinate index xD  
It’s solved thank you ^^

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_045cf48a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_045cf48a](https://forums.unrealengine.com/u/anonymous_user_045cf48a)\
**Post date:** [March 27, 2014, 3:17am UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792/7 "2014-03-27T03:17:37Z")

</div>

I had to open the static mesh and change the lightmap resolution from 0 to 64. In the level editor it was showing as using the default of 64.

---

<div class="post-metadata">

**Author:** ![sanford87](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sanford87/32/906597_2.png) [@sanford87](https://forums.unrealengine.com/u/sanford87)\
**Post date:** [April 4, 2014, 5:21pm UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792/8 "2014-04-04T17:21:48Z")

</div>

I went to windows\> generate unique UV’s - then I have the tab open and the settings are -  
create new  
UV channel to save results to - If I touch this I get an error “generateUV’s failed, incorrect number of texcoords”  
Limit maximum stretching - 0.5  
(grayed out) limit maximum number of charts - 100  
limit spacing between charts - 1

I can successfully generate a UV map but my model is still black after I rebuild the lighting.

---

<div class="post-metadata">

**Author:** ![Trugb35](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Trugb35](https://forums.unrealengine.com/u/Trugb35)\
**Post date:** [April 9, 2014, 5:01am UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792/9 "2014-04-09T05:01:28Z")

</div>

I am getting is error when I try to generate unique Uvs. ‘GenerateUV’s failed, couldn’t convert to a D3DXMesh’ Please help, this seems to be a common issue that is not address from my research.

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [April 9, 2014, 5:08am UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792/10 "2014-04-09T05:08:15Z")

</div>

> [@Trugb31;14708](#):
>
> I am getting is error when I try to generate unique Uvs. ‘GenerateUV’s failed, couldn’t convert to a D3DXMesh’ Please help, this seems to be a common issue that is not address from my research.

It mostly happens when your mesh has too many polygons.

---

<div class="post-metadata">

**Author:** ![Trugb35](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Trugb35](https://forums.unrealengine.com/u/Trugb35)\
**Post date:** [April 10, 2014, 8:36am UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792/11 "2014-04-10T08:36:32Z")

</div>

Ok, But how do I fix this.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_923c79df](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_923c79df](https://forums.unrealengine.com/u/anonymous_user_923c79df)\
**Post date:** [April 10, 2014, 9:59am UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792/12 "2014-04-10T09:59:13Z")

</div>

Just create your lightmap in a 3d program like blender, that’s the easiest way to solve your problem 😉

---

<div class="post-metadata">

**Author:** ![Knights](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/knights/32/926697_2.png) [@Knights](https://forums.unrealengine.com/u/Knights)\
**Post date:** [April 10, 2014, 4:07pm UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792/13 "2014-04-10T16:07:46Z")

</div>

Remember Lightmap UVs CANNOT OVERLAP. The editor can be a bit of a \*\*\*\* as well with spacing so make sure there’s plenty of space between the uv spaces, or you will get blackened models and errors.

---

<div class="post-metadata">

**Author:** ![Achitakayoh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Achitakayoh](https://forums.unrealengine.com/u/Achitakayoh)\
**Post date:** [April 12, 2014, 2:22pm UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792/14 "2014-04-12T14:22:45Z")

</div>

Without Maya or blender :

- Create brush

- Transform with “Create Static Mesh” button

- Rename your mesh, then double-click on the new mesh thumbnail (Enter in the Mesh editor)

- Below Static Mesh Settings, change “Light Map resolution” to 128

- Click on the top menu “Window”, then click on "Generate Unique UVs)

- Click on Apply

- Below Static Mesh Settings, open bottom panel and change “Light Map Coordinate Index” to 1

- Save your Mesh and Build

🙂

---

<div class="post-metadata">

**Author:** ![DatMiyamoto](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DatMiyamoto](https://forums.unrealengine.com/u/DatMiyamoto)\
**Post date:** [April 19, 2014, 4:21pm UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792/15 "2014-04-19T16:21:52Z")

</div>

> [@Achitakayoh;16665](#):
>
> Without Maya or blender :
> 
> - Create brush
> 
> - Transform with “Create Static Mesh” button
> 
> - Rename your mesh, then double-click on the new mesh thumbnail (Enter in the Mesh editor)
> 
> - Below Static Mesh Settings, change “Light Map resolution” to 128
> 
> - Click on the top menu “Window”, then click on "Generate Unique UVs)
> 
> - Click on Apply
> 
> - Below Static Mesh Settings, open bottom panel and change “Light Map Coordinate Index” to 1
> 
> - Save your Mesh and Build
> 
> 🙂

My mesh is still black after that ☹

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_923c79df](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_923c79df](https://forums.unrealengine.com/u/anonymous_user_923c79df)\
**Post date:** [April 19, 2014, 4:28pm UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792/16 "2014-04-19T16:28:36Z")

</div>

> [@;20146](#):
>
> My mesh is still black after that ☹

Then export it into a 3d prgoram and create the lightmap there 😉 or also add a skylight into the level, probably just the shadow is too black

---

<div class="post-metadata">

**Author:** ![DatMiyamoto](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DatMiyamoto](https://forums.unrealengine.com/u/DatMiyamoto)\
**Post date:** [April 19, 2014, 5:23pm UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792/17 "2014-04-19T17:23:36Z")

</div>

It’s completely indoors so the skylight will just be blocked by the ceiling I’ll try it though 😃

---

<div class="post-metadata">

**Author:** ![DatMiyamoto](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DatMiyamoto](https://forums.unrealengine.com/u/DatMiyamoto)\
**Post date:** [April 19, 2014, 5:54pm UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792/18 "2014-04-19T17:54:24Z")

</div>

> [@;20149](#):
>
> Then export it into a 3d prgoram and create the lightmap there 😉 or also add a skylight into the level, probably just the shadow is too black

I’ll try a lighting map i guess, adding a skylight did this,

 ![lighting.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/c/6/c6f1ba6d52058345e86e9dcc321d53ba1bec7013.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_36e40295](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_36e40295](https://forums.unrealengine.com/u/anonymous_user_36e40295)\
**Post date:** [August 27, 2017, 10:56pm UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792/19 "2017-08-27T22:56:55Z")

</div>

Buenas tardes amigos soy nuevo en este programa, tengo un gran problema que tengo tres días sin solucionarlo, sobre mapa de luz inválido. Espero que puedan ayudarme a resolverlo. Gracias

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9a913664](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9a913664](https://forums.unrealengine.com/u/anonymous_user_9a913664)\
**Post date:** [May 9, 2018, 5:22am UTC](https://forums.unrealengine.com/t/invalid-lightmap-settings/792/20 "2018-05-09T05:22:40Z")

</div>

> [@anonymous\_user\_923c79df](#):
>
> Then you have to create a 2nd uv channel -\> Window - Generate Unique UVs - and then create a 2nd one

Hey man, this window doesn’t have any uv things in it anymore, can you please suggest what to do in 2018?

[Next page](https://forums.unrealengine.com/t/invalid-lightmap-settings/792.md?page=2)
