# UE 4.7.5 lighting build fails on Linux with custom heightmaps

**URL:** <https://forums.unrealengine.com/t/ue-4-7-5-lighting-build-fails-on-linux-with-custom-heightmaps/318772>\
**Category:** Platform & Builds\
**Tags:** Linux, lighting-build, unreal-engine, failed, bug-report, question\
**Created:** [May 15, 2015, 8:32pm UTC](https://forums.unrealengine.com/t/ue-4-7-5-lighting-build-fails-on-linux-with-custom-heightmaps/318772 "2015-05-15T20:32:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mageaster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mageaster](https://forums.unrealengine.com/u/mageaster)\
**Post date:** [May 15, 2015, 8:32pm UTC](https://forums.unrealengine.com/t/ue-4-7-5-lighting-build-fails-on-linux-with-custom-heightmaps/318772/1 "2015-05-15T20:32:07Z")

</div>

Hello! I’m experiencing an issue stated in the header of the topic.

Here are some important details and steps to reproduce it:

- Create a custom heightmap accordingly to the instruction in the official documents;
- Create a Landscape with this imported heightmap;
- Try to build lighting.

This is log from Konsole

Tested on two OS’es:

- Kubuntu 14.04.2 x86\_64 **with russian locale**.
- Debian Jessie x86\_64 **with US locale - the issue is not reproducable**.

I have a strooong feling that this bug is somehow interconnected with this one: [Loaded project is unusable on Linux UE 4.7.1 - Platform & Builds - Unreal Engine Forums](https://answers.unrealengine.com/questions/185822/loaded-project-is-unusable-on-linux-ue-471.html)

---

<div class="post-metadata">

**Author:** ![mageaster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mageaster](https://forums.unrealengine.com/u/mageaster)\
**Post date:** [May 15, 2015, 8:33pm UTC](https://forums.unrealengine.com/t/ue-4-7-5-lighting-build-fails-on-linux-with-custom-heightmaps/318772/2 "2015-05-15T20:33:25Z")

</div>

BTW, the Editor is built from sources from official Epic Games GitHub.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [May 19, 2015, 9:39pm UTC](https://forums.unrealengine.com/t/ue-4-7-5-lighting-build-fails-on-linux-with-custom-heightmaps/318772/3 "2015-05-19T21:39:34Z")

</div>

Hey mageaster-

Which documentation are you referring to for creating the heightmap? Does the issue reproduce in reverse OS settings (KUbuntu with US locale or Debian with Russian local)?

---

<div class="post-metadata">

**Author:** ![mageaster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mageaster](https://forums.unrealengine.com/u/mageaster)\
**Post date:** [May 20, 2015, 8:49am UTC](https://forums.unrealengine.com/t/ue-4-7-5-lighting-build-fails-on-linux-with-custom-heightmaps/318772/4 "2015-05-20T08:49:54Z")

</div>

Hello, . Thanks for your answer! I’m preparing a heightmap in Krita accordingly to [this manual](https://docs.unrealengine.com/latest/INT/Engine/Landscape/Custom/index.html). I had changed the locale on Kubuntu and yes, the issue has disappeared. I decided to not waste the time for testing on Debian. BTW, the bug appears with directly imported heightmaps, as mentioned in opening post, and with imported and copied from another project as well. And one more thing: the project created with russian locale and opened with english one bakes properly.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [May 28, 2015, 12:59pm UTC](https://forums.unrealengine.com/t/ue-4-7-5-lighting-build-fails-on-linux-with-custom-heightmaps/318772/5 "2015-05-28T12:59:27Z")

</div>

Hey mageaster-

Sorry for the delayed response. I’ve submitted a bug report for this lighting issue (UE-16266). Seeing that it happens in the Russian localization it sounds like it is related to the other localization issue you reported. For now the best workaround would be to either work in the ru\_US locale or to work in ru\_RU and switch to ru\_US when you need to build lighting.

Cheers

---

<div class="post-metadata">

**Author:** ![mageaster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mageaster](https://forums.unrealengine.com/u/mageaster)\
**Post date:** [May 29, 2015, 6:20pm UTC](https://forums.unrealengine.com/t/ue-4-7-5-lighting-build-fails-on-linux-with-custom-heightmaps/318772/6 "2015-05-29T18:20:06Z")

</div>

Hello, ! Thanks for your answer, I’m glad to it. Hope, both of bugs will be fixed soon.  
Best regards.

---

<div class="post-metadata">

**Author:** ![RCL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RCL](https://forums.unrealengine.com/u/RCL)\
**Post date:** [June 24, 2015, 11:03pm UTC](https://forums.unrealengine.com/t/ue-4-7-5-lighting-build-fails-on-linux-with-custom-heightmaps/318772/7 "2015-06-24T23:03:03Z")

</div>

Could you please re-check with 4.8?

---

<div class="post-metadata">

**Author:** ![mageaster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mageaster](https://forums.unrealengine.com/u/mageaster)\
**Post date:** [June 25, 2015, 8:08am UTC](https://forums.unrealengine.com/t/ue-4-7-5-lighting-build-fails-on-linux-with-custom-heightmaps/318772/8 "2015-06-25T08:08:36Z")

</div>

Done. Unfortunately, the problem is still here. Tested on project created with 4.7.5 and new one created with 4.8.
