"object has wrapping uvs" error on static mesh (converted from geometry)

I’m whiteboxing a level and converted some sections of geometry brushes to static meshes as the sheer amount of geometry was causing issues for the engine (brushes turning invisible, crashes, etc.).
However, the auto generated UV’s for the lightmaps are all mangled up and on building gives the error “object has wrapping UV’s”, afaik indicating that UV’s are overlapping.

Is there any way to set up the UV’s differently so the lightmap for the static mesh comes out the same as it would on the brush? Or any other solution to make it less mangled? (something other than using an external 3D program to manually set up the UV’s and re-import into the project, as this would drag out the whiteboxing process substantially)

(geometry/brushes left, static mesh on the right)

Consulted a friend who teaches Unreal and finally came up with a solution!
The problem is with the way the UV’s are assigned when converting the geometry brushes to a static mesh.

Fix:
**- Double click the created static mesh in the content browser

  • Change lightmap coordinate index to 1 (search or scroll down to general settings in the details window)
  • Change minimum lightmap resolution in LOD0 to something higher (e.g. 512)
  • Change lightmap resolution in general settings to something higher (e.g. 512)
  • Apply and save your changes
  • Build the lighting again**

You can use any resolution you’d like, though 512 should be more than enough for whiteboxing.

We tried shifting around the Source and Destination lightmap index first, but that wouldn’t budge at all. So ignore that, leave it on its default and just change the Lightmap Coordinate index in the general settings.

I hope this helps someone else that’s facing the same problem :slight_smile:

I couldn´t change Change lightmap coordinate index to 1. always return to 0

2 Likes

Did you select single actors or tried to edit via the property matrix?