# 'Generate UV's failed' error

**URL:** <https://forums.unrealengine.com/t/generate-uvs-failed-error/298818>\
**Category:** Rendering\
**Tags:** error, getting-started-with, uvs, unreal-engine, Lighting, question\
**Created:** [November 12, 2014, 11:18am UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818 "2014-11-12T11:18:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Herobrine112211](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Herobrine112211](https://forums.unrealengine.com/u/Herobrine112211)\
**Post date:** [November 12, 2014, 11:18am UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818/1 "2014-11-12T11:18:11Z")

</div>

Hello. I am getting. Generate UVs failed. Couldn’t convert to a D3DXMesh. HELP. The model has been made in sketchup and used in unity pro. And then i imported from unity to unreal engine 4 and when rebuilding lightning i got a error about UVs found internet that to fix it i need to generate UVs but i am getting error. If someone can please fix this model for me. Or tell me how to fix it. I am begginer in UNREAL ENGINE 4. Model link: [CLICK ME MEDIAFIRE](http://www.mediafire.com/download/8qletatxe9jaogd/command_center.rar)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [November 12, 2014, 7:49pm UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818/2 "2014-11-12T19:49:03Z")

</div>

Hello Herobrine112211,

So the only files we are compatible with for static meshes are .FBX and .OBJ file types. If you are using SketchUp to export your mesh, there is an option to export it as a .FBX file. Keep in mind that if you are scaling in centimeter in SketchUp then it should work fine because it transfers over to the engine properly.

**Here is some documentation on how to work with .FBX files once you have them exported:**

> **[FBX Import Options Reference](https://docs.unrealengine.com/5.1/en-US/fbx-import-options-reference-in-unreal-engine/)**
>
> Explanations of the options available in the FBX Import Options dialog.

Hope this resolves your issue.

Thanks,

---

<div class="post-metadata">

**Author:** ![Herobrine112211](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Herobrine112211](https://forums.unrealengine.com/u/Herobrine112211)\
**Post date:** [November 12, 2014, 8:00pm UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818/3 "2014-11-12T20:00:44Z")

</div>

I did use .FBX file with texture files. Sketchup model was exported from tutorial video from youtube. It worked in unity without problem. Soo what should i do? i dont know how to resize objects in sketchup i only know how to make models there.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [November 12, 2014, 8:16pm UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818/4 "2014-11-12T20:16:59Z")

</div>

The mesh itself, not the texture file, needs to be either a .OBJ or a .FBX file. For not do not worry about the scaling. Just see if the static mesh imports as intended.

---

<div class="post-metadata">

**Author:** ![Herobrine112211](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Herobrine112211](https://forums.unrealengine.com/u/Herobrine112211)\
**Post date:** [November 13, 2014, 6:52am UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818/5 "2014-11-13T06:52:37Z")

</div>

Everything is ok. Tested by exporting using blender. I don’t know. Could you please fix it? it have meshes. Please.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [November 13, 2014, 4:11pm UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818/6 "2014-11-13T16:11:36Z")

</div>

What version of the engine are you working in? I tested this issue in 4.5.1, but this could be version specific.

One of my colleagues pointed out that two of your texture image file are not a power of two. i.e. 256x163

---

<div class="post-metadata">

**Author:** ![Herobrine112211](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Herobrine112211](https://forums.unrealengine.com/u/Herobrine112211)\
**Post date:** [November 13, 2014, 4:26pm UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818/7 "2014-11-13T16:26:59Z")

</div>

I use 4.4.0. I will upgrade to 4.5.1 if i need to.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [November 13, 2014, 6:06pm UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818/8 "2014-11-13T18:06:48Z")

</div>

If you have an active account try updating your version to either 4.4.3 which was the last hotfix pushed for the 4.4 version of the engine, or you can go ahead and move to 4.5.1 and see if either of these solve your issue.

I was able to import your mesh and your textures with no trouble in my version of the engine, so this might be the cause.

---

<div class="post-metadata">

**Author:** ![Herobrine112211](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Herobrine112211](https://forums.unrealengine.com/u/Herobrine112211)\
**Post date:** [November 14, 2014, 7:48pm UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818/9 "2014-11-14T19:48:43Z")

</div>

Nope. I updated and still the same problem. I really need this model. Same problem with other people sketchup made models. And i noticed in 4.5.1 there is no generate uvs button in windows tab anymore where can i find it?.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [November 14, 2014, 10:19pm UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818/10 "2014-11-14T22:19:47Z")

</div>

The location of the “Generate UV’s” can be found here.

 ![20644-lightmapcoordindex.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/e/5/0e5f3eb54c82ea818db4852500978b1d82f2b347.jpeg)

---

<div class="post-metadata">

**Author:** ![Herobrine112211](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Herobrine112211](https://forums.unrealengine.com/u/Herobrine112211)\
**Post date:** [November 15, 2014, 10:57am UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818/11 "2014-11-15T10:57:15Z")

</div>

Still getting the same problem: wrapping uvs. Here is the object in game:

 ![21250-untitled.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/4/6/d4674b9e2324cc297506c04a59b4a4f9d0cd2429.jpeg)

And here is the object uvs:

 ![21271-untitled.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/c/6/8c687f8b37bfc136cc32f6def82c1a8ecb306b7d.jpeg)

---

<div class="post-metadata">

**Author:** ![Herobrine112211](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Herobrine112211](https://forums.unrealengine.com/u/Herobrine112211)\
**Post date:** [November 15, 2014, 7:49pm UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818/12 "2014-11-15T19:49:04Z")

</div>

I posted a new comment. Check it.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [November 16, 2014, 1:37am UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818/13 "2014-11-16T01:37:53Z")

</div>

Yes, notice how your objects UV’s are overlapping? You need to unwrap your model so none of those faces are overlapping one another.

Or you can “Generate UVs” and set the" Lightmap Coordinate Index" to 1.

---

<div class="post-metadata">

**Author:** ![Herobrine112211](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Herobrine112211](https://forums.unrealengine.com/u/Herobrine112211)\
**Post date:** [November 16, 2014, 11:56am UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818/14 "2014-11-16T11:56:48Z")

</div>

How do i unwrap them in unreal engine 4 and it dosen’t let me set lightmap coordinate index to 1.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [November 16, 2014, 9:56pm UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818/15 "2014-11-16T21:56:37Z")

</div>

Refer to the image I posted to see exactly where in the details panel to set the “Coordinate Index” as well as “Generate UVs.”

---

<div class="post-metadata">

**Author:** ![Herobrine112211](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Herobrine112211](https://forums.unrealengine.com/u/Herobrine112211)\
**Post date:** [November 17, 2014, 8:14pm UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818/16 "2014-11-17T20:14:56Z")

</div>

Yes. I set generate uvs. Then save. And then i want to set that coordinate index to 1. BUT IT DOSEN’T LET ME. It automaticly reset the number to 0 in coordinate index.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [November 17, 2014, 9:32pm UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818/17 "2014-11-17T21:32:35Z")

</div>

So I was able to reproduce what you are talking about, but it seems you have way too many individual components on your command center. You need to break things apart that are meant to be represented as their own mesh. For example your satelite, the computer screen, and the machine components inside of your house need to be on their own seperate 0 to 1 UV space.

Because everything is being pushed on one lightmap, it cannot effectively generate an effecient UV for your static mesh so it continues to default to 0.  
Try dividing your mesh up by type, like the house structure, the satelite, the computer monitor, and the internal parts to get the correct results.

Here is some helpful documentation on how to optimize your models so when importing them into the engine, they are clean.

**Static Mesh Creation Pipeline:**

> **[FBX Static Mesh Pipeline](https://docs.unrealengine.com/5.1/en-US/fbx-static-mesh-pipeline-in-unreal-engine/)**
>
> Setting up, exporting, and importing Static Meshes using the FBX content pipeline.

**Lightmaps and Unwrapping:**

> **[Understanding Lightmapping in Unreal Engine](https://docs.unrealengine.com/5.1/en-US/understanding-lightmapping-in-unreal-engine/)**
>
> Techniques and guidelines for setting up lightmap UVs for Static Meshes.

Thanks,

---

<div class="post-metadata">

**Author:** ![Herobrine112211](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Herobrine112211](https://forums.unrealengine.com/u/Herobrine112211)\
**Post date:** [November 19, 2014, 10:02am UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818/18 "2014-11-19T10:02:13Z")

</div>

Please. I want to make a game and my project is sucesfull on kickstarter. I need to make this game next year. How do i fix it if it dosent let me to change from 0 to 1. or what to use to create models but NOT blender. I dont know how to use it. Please.What would you recommend me to use or how to fix it.

---

<div class="post-metadata">

**Author:** ![Herobrine112211](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Herobrine112211](https://forums.unrealengine.com/u/Herobrine112211)\
**Post date:** [November 19, 2014, 12:04pm UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818/19 "2014-11-19T12:04:52Z")

</div>

I have a car that i would like to import but it have the same problem and i cant cut the car in a half what would i do then?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [November 20, 2014, 2:25pm UTC](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818/20 "2014-11-20T14:25:54Z")

</div>

You need to split the car up into different categories when Unwrapping your model, but you can still import them by combining the mesh. For example your wheels should probably have their own UV’s.

[Next page](https://forums.unrealengine.com/t/generate-uvs-failed-error/298818.md?page=2)
