# Merged mesh lose some UV maps

**URL:** <https://forums.unrealengine.com/t/merged-mesh-lose-some-uv-maps/390856>\
**Category:** Rendering\
**Tags:** unreal-engine, bug-report, Lighting, UE4, question\
**Created:** [April 13, 2017, 8:32pm UTC](https://forums.unrealengine.com/t/merged-mesh-lose-some-uv-maps/390856 "2017-04-13T20:32:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Haoris](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Haoris](https://forums.unrealengine.com/u/Haoris)\
**Post date:** [April 13, 2017, 8:32pm UTC](https://forums.unrealengine.com/t/merged-mesh-lose-some-uv-maps/390856/1 "2017-04-13T20:32:03Z")

</div>

Hi, First here’s my level:

 ![134147-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/b/c/cbc152c4e3d921d446c3fd58202226feb32c1d4b.jpeg)

Everything is made of modular assets. And here’s the lightmap density of my level:

 ![134148-2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/f/f/4ffb8db70b6ce527a4eb2312c492bb19fd75756e.jpeg)

In order to reduce drawcalls, i’m trying to merge those meshes but here’s the lightmap density of the merged mesh:

 ![134149-3.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/6/c/46c4c3872004d0a80281c2ad71649a95abf56257.jpeg)

As you can see, some parts have no density at all. The blue lines on the walls are stretched ligthmaps

 ![134152-4.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/8/6/a8682dc3c0b2c447ab0a86054b3b429f1a6d0ce2.jpeg)

But other parts have no lightmap resolution:

 ![134153-5.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/7/4/e748ada017db0e3a154d4b4cb643e1f45664c33a.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0c62419a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0c62419a](https://forums.unrealengine.com/u/anonymous_user_0c62419a)\
**Post date:** [April 14, 2017, 5:26pm UTC](https://forums.unrealengine.com/t/merged-mesh-lose-some-uv-maps/390856/2 "2017-04-14T17:26:16Z")

</div>

Hey Haoris,

At first glance it looks like you are running into this issue: [Unreal Engine Issues and Bug Tracker (UE-41161)](https://issues.unrealengine.com/issue/UE-41161)

At the moment this is intended behavior because if you maintain UVs of a merged actor they will overlap which will generate incorrect results for baked lighting. I do have a workaround if you wish to maintain this listed in public notes.

Basically only lightmap UVs are wiped so you need to assign lightmap index to a throw away channel.

We understand the value of maintaining UVs of merged actors and as far as I know we are looking into solutions for this problem. However, for the time being this is intended behavior.

I hope that helps!

Ed

---

<div class="post-metadata">

**Author:** ![Haoris](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Haoris](https://forums.unrealengine.com/u/Haoris)\
**Post date:** [April 14, 2017, 9:43pm UTC](https://forums.unrealengine.com/t/merged-mesh-lose-some-uv-maps/390856/3 "2017-04-14T21:43:04Z")

</div>

Well, what you see in the image 3 is one single mesh.  
What I don’t understand is why some parts of this has UV map and some other don’t.  
Why do the pillars have lost their UV maps while walls didn’t?

---

<div class="post-metadata">

**Author:** ![nickpetersonfx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nickpetersonfx](https://forums.unrealengine.com/u/nickpetersonfx)\
**Post date:** [April 15, 2017, 12:41am UTC](https://forums.unrealengine.com/t/merged-mesh-lose-some-uv-maps/390856/4 "2017-04-15T00:41:41Z")

</div>

Ue4 is pretty good at batching. Are you running into draw issues? Is this for mobile?

If you aren’t running into low framerate/high ms count, then you shouldn’t need to worry about it at the moment, barring it being set up for mobile.

Best of luck!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0c62419a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0c62419a](https://forums.unrealengine.com/u/anonymous_user_0c62419a)\
**Post date:** [April 17, 2017, 3:47pm UTC](https://forums.unrealengine.com/t/merged-mesh-lose-some-uv-maps/390856/5 "2017-04-17T15:47:54Z")

</div>

We haven’t done extensive testing on this. I haven’t reproduced this with our in-house content. This may be potentially content specific with how you have your meshes setup.

If you would like you could send me a small sample project with just the bugged meshes (before they are merged) and I can look into this. If you want privacy you can PM me here:

[https://forums.unrealengine.com/member.php?484739-Ed-Burgess](https://forums.unrealengine.com/member.php?484739-Ed-Burgess)

---

<div class="post-metadata">

**Author:** ![TheSubZer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSubZer0](https://forums.unrealengine.com/u/TheSubZer0)\
**Post date:** [December 13, 2024, 11:25pm UTC](https://forums.unrealengine.com/t/merged-mesh-lose-some-uv-maps/390856/6 "2024-12-13T23:25:30Z")

</div>

The bug was not fixed
