# Improving light build times

**URL:** <https://forums.unrealengine.com/t/improving-light-build-times/88853>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** unreal-engine, Performance, Performance-Profiling\
**Created:** [March 30, 2017, 9:23am UTC](https://forums.unrealengine.com/t/improving-light-build-times/88853 "2017-03-30T09:23:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stuubo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Stuubo](https://forums.unrealengine.com/u/Stuubo)\
**Post date:** [March 30, 2017, 9:23am UTC](https://forums.unrealengine.com/t/improving-light-build-times/88853/1 "2017-03-30T09:23:31Z")

</div>

I Currently have a 8129x8129 max size landscape and i have a lightmass importance volume encapsulating the full landscape but my build times are still strenuously long and as i have not got much experience with doing maps this large i do not know whether this should be expected or not.

Should i be placing lightmass importance volumes per component of the landscape so that i end up with multiple importance volumes or is it just that there is not much i can do with having a landscape so large?

🙂 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1b7ed45f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1b7ed45f](https://forums.unrealengine.com/u/anonymous_user_1b7ed45f)\
**Post date:** [March 30, 2017, 10:07am UTC](https://forums.unrealengine.com/t/improving-light-build-times/88853/2 "2017-03-30T10:07:52Z")

</div>

If you have a lot of foliage on your landscape, it might help to tweak the light map resolution:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

---

<div class="post-metadata">

**Author:** ![Stuubo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Stuubo](https://forums.unrealengine.com/u/Stuubo)\
**Post date:** [March 30, 2017, 10:28am UTC](https://forums.unrealengine.com/t/improving-light-build-times/88853/3 "2017-03-30T10:28:07Z")

</div>

Thansk for the answer but no i currently only have the player mesh in the level just to size things out.

---

<div class="post-metadata">

**Author:** ![DarkGodsLair](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DarkGodsLair](https://forums.unrealengine.com/u/DarkGodsLair)\
**Post date:** [March 30, 2017, 2:19pm UTC](https://forums.unrealengine.com/t/improving-light-build-times/88853/4 "2017-03-30T14:19:45Z")

</div>

@Stuubo

1. By a map size this back even without any objects on it, it will take it’s sweet time. With objects, it will take a lot longer I imagine. What you experiencing is not something absurd :).

I don’t know, if it affects the speed, but I generally turn on the “Standalone mode” in the swarm agent. While you click on “Build Lighting Only”, Double click on this icon on the right bottom corner of your taskbar ![110392bfbe7d4d9ca0829fe9d1c8e89b.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/b/0/1b032a4f406d563d5f42bb42c7ca92ac443af57c.png) and the swarm agent should appear.  
Go to settings and it will look like this:

 ![80ba77f02143496ea22b760ee6b8a3ba.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/4/2/a424d59e1f4445a0bf62b0046c29f6e1d570a8ae.png)  
Change the “EnableStandaloneMode” to “True”.

It also makes you less prone to crash, while building lighting. That’s atleast, how I experienced it.

---

<div class="post-metadata">

**Author:** ![darthviper107](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/darthviper107/32/710746_2.png) [@darthviper107](https://forums.unrealengine.com/u/darthviper107)\
**Post date:** [March 30, 2017, 3:43pm UTC](https://forums.unrealengine.com/t/improving-light-build-times/88853/5 "2017-03-30T15:43:17Z")

</div>

Typically for large maps you shouldn’t be using baked lighting–the issue is that it takes a long time and as you add more objects (especially folliage) then you’ll likely run out of memory. Besides that, the large amount of lightmaps will take a ton of disk space. For these reasons games with large maps typically use dynamic lighting.

---

<div class="post-metadata">

**Author:** ![MischievousM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MischievousM](https://forums.unrealengine.com/u/MischievousM)\
**Post date:** [March 30, 2017, 4:17pm UTC](https://forums.unrealengine.com/t/improving-light-build-times/88853/6 "2017-03-30T16:17:52Z")

</div>

I wouldn’t go baked either. Real time lighting has its hit on performance but 20 percent less grass is a good price to pay for not having to make people download 40 GBs of Data…

Turning on Distance Field Ambient Occlusion and Light Propagation Volumes (Unreal’s dynamic GI) is an excellent combination. I have switched to it myself and so far I can only report that the time I saved from building Lighting I spend on being amazed how good this works.

---

<div class="post-metadata">

**Author:** ![Stuubo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Stuubo](https://forums.unrealengine.com/u/Stuubo)\
**Post date:** [March 30, 2017, 5:34pm UTC](https://forums.unrealengine.com/t/improving-light-build-times/88853/7 "2017-03-30T17:34:21Z")

</div>

Thanks alot for the replys guys i will look at changing my lighting to dynamic, the whole less foliage thing is not an issue for this landscape as it is going to be a desert type enviroment so foliage will be rather scarce.

---

<div class="post-metadata">

**Author:** ![CorentinG78](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/corenting78/32/1109769_2.png) [@CorentinG78](https://forums.unrealengine.com/u/CorentinG78)\
**Post date:** [February 26, 2020, 5:26pm UTC](https://forums.unrealengine.com/t/improving-light-build-times/88853/8 "2020-02-26T17:26:52Z")

</div>

Hi guys, I’ve just worked on an asset to improve compile time: [Compiler Booster in Code Plugins - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/15afae52463a44cb85a3176c003c8fb1)
