# Why when I build light its taking hours?

**URL:** <https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710>\
**Category:** Rendering\
**Tags:** build-lighting, unreal-engine, question\
**Created:** [March 12, 2015, 8:32pm UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710 "2015-03-12T20:32:50Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![AttemptD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AttemptD](https://forums.unrealengine.com/u/AttemptD)\
**Post date:** [March 12, 2015, 8:32pm UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710/1 "2015-03-12T20:32:50Z")

</div>

I know…this area is huge…and I have lightmass volume surrounding it…  
But after 2 hourss it was only at 2 percent. I mean the area isnt like skyrim big…it’s not at all.  
would anything else slow down the light building process?

---

<div class="post-metadata">

**Author:** ![spaceharry](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@spaceharry](https://forums.unrealengine.com/u/spaceharry)\
**Post date:** [March 12, 2015, 10:44pm UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710/2 "2015-03-12T22:44:39Z")

</div>

Maybe it would help if you tell what you tried so far.

One thing is that you can play with the light mass settings in your level’s world settings. For example putting “Static lighting level scale” to about 4 reduces build time a lot.

---

<div class="post-metadata">

**Author:** ![AttemptD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AttemptD](https://forums.unrealengine.com/u/AttemptD)\
**Post date:** [March 13, 2015, 12:23am UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710/3 "2015-03-13T00:23:55Z")

</div>

When you adjust parameters in the light mass like that what exactly is it affecting??? I’m new to lighting honestly.  
I’ve never built an area this big or this detailed. I usually build prototypes. 😕  
All I’ve done Is try to build on production and high settings. I’ve honestly never played with the settings in my light mass volume…  
Are there certain settings inside I need to learn more about to affect my lighting process? I’m not casting shadows with ANY of lights because in the past I’ve never been able to get it to run. It seems adding shadows is a very large cut into my resources…and when I build light afterwards when casting shadows my fps is so bad nothing is playable. Even on a packaged build.

So please. Any information on what I need to learn would be wonderful. I’ll attempt to set the static lighting to 4 as told. I’d just like to understand what exactly it’s doing.

Thank you for responding.

---

<div class="post-metadata">

**Author:** ![spaceharry](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@spaceharry](https://forums.unrealengine.com/u/spaceharry)\
**Post date:** [March 13, 2015, 11:02am UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710/4 "2015-03-13T11:02:17Z")

</div>

> **[CPU Lightmass Global Illumination](https://docs.unrealengine.com/5.0/en-US/cpu-lightmass-global-illumination-in-unreal-engine/)**
>
> A run down of all the features and settings of Lightmass.

I think its reducing the amount of samples taken to build your lightmaps during the build process.

Also if you are not sure if something could harm your project, better make a copy first. Thank you.

---

<div class="post-metadata">

**Author:** ![AttemptD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AttemptD](https://forums.unrealengine.com/u/AttemptD)\
**Post date:** [March 16, 2015, 2:53am UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710/5 "2015-03-16T02:53:59Z")

</div>

I’ve gotten it to build with the light quality at preview and the static light level scale at 4. Afterwards tho, it gets stuck after its complete while importing the static lighting. Then it crashes after a couple hours. .  
Any idea what else can help build lighting on huge levels?

---

<div class="post-metadata">

**Author:** ![Missu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Missu](https://forums.unrealengine.com/u/Missu)\
**Post date:** [March 16, 2015, 5:24am UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710/6 "2015-03-16T05:24:47Z")

</div>

Open Swarm and set Standalone Mode to True

---

<div class="post-metadata">

**Author:** ![TeamKingdom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TeamKingdom](https://forums.unrealengine.com/u/TeamKingdom)\
**Post date:** [March 16, 2015, 5:27am UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710/7 "2015-03-16T05:27:11Z")

</div>

If your static lighting is taking that long and crashing that much then it’s possible you are having memory problems. If the level really is huge and isn’t broken into several streaming areas then you might run out of memory. You could try switching to dynamic lighting which will be more expensive on the gpu but will take a lot less time to bake and won’t createvas many lightmaps. Or you could leave the lighting as static and break your huge level into smaller streaming levels.

---

<div class="post-metadata">

**Author:** ![AttemptD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AttemptD](https://forums.unrealengine.com/u/AttemptD)\
**Post date:** [March 16, 2015, 5:33am UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710/8 "2015-03-16T05:33:48Z")

</div>

Swarm? What and where is this exactly?

---

<div class="post-metadata">

**Author:** ![Missu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Missu](https://forums.unrealengine.com/u/Missu)\
**Post date:** [March 16, 2015, 5:36am UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710/9 "2015-03-16T05:36:16Z")

</div>

When you build lights in the system tray you have a yellow icon, open it then go in settings and set tu TRUE standalone mode. Leve a message if it works. At least this what I did (before for me take forever to build)

---

<div class="post-metadata">

**Author:** ![AttemptD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AttemptD](https://forums.unrealengine.com/u/AttemptD)\
**Post date:** [March 16, 2015, 9:34am UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710/10 "2015-03-16T09:34:17Z")

</div>

I’m really trying here but honestly have no idea what you are talking about. lol im sorry. Could you explain what you mean by system tray? Could;d you post a pic by chance?

---

<div class="post-metadata">

**Author:** ![spaceharry](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@spaceharry](https://forums.unrealengine.com/u/spaceharry)\
**Post date:** [March 16, 2015, 4:43pm UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710/11 "2015-03-16T16:43:00Z")

</div>

How about previous version of this level. I guess that its not the first time you tried to build the lighing for it.

So if you saved previous version of your level see after which changes it suddenly takes so long to build.

---

<div class="post-metadata">

**Author:** ![AttemptD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AttemptD](https://forums.unrealengine.com/u/AttemptD)\
**Post date:** [March 16, 2015, 5:51pm UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710/12 "2015-03-16T17:51:35Z")

</div>

I had turned the shadows off for a while so I didn’t build lighting for MAN hours of creation. Someone jeeps talking to me about swarm. I honestly have no idea what that is. It’s getting stuck EVERY time I build. Even if I make the light mass a little smaller. Preview quality. I think it’s the actor Count. 4300. Someone said that was possibly too much but I honestly do know. Maybe I should export some models together and bring them back to drop the count? I still feel like it’s be taking up most of the same resources…anyone have any other ideas?

---

<div class="post-metadata">

**Author:** ![Missu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Missu](https://forums.unrealengine.com/u/Missu)\
**Post date:** [March 16, 2015, 7:29pm UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710/13 "2015-03-16T19:29:32Z")

</div>

Ok… I am sorry for my English…tomorrow I will make a video tutorial about that…and I’ll post you the you tube address. so stay tuned and if you want to learn unreal I have many many secrets to share. Just watch my tutorials on youtube

---

<div class="post-metadata">

**Author:** ![AttemptD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AttemptD](https://forums.unrealengine.com/u/AttemptD)\
**Post date:** [March 16, 2015, 8:09pm UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710/14 "2015-03-16T20:09:16Z")

</div>

Ok please do. And yes I’ll definitely check out your channel

---

<div class="post-metadata">

**Author:** ![Missu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Missu](https://forums.unrealengine.com/u/Missu)\
**Post date:** [March 16, 2015, 8:12pm UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710/15 "2015-03-16T20:12:53Z")

</div>

in meanwhile look in system tray (where you have …windows clock, volume icon,… ) and you will see a yellow-black icon (only appear when you build lights)

---

<div class="post-metadata">

**Author:** ![AttemptD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AttemptD](https://forums.unrealengine.com/u/AttemptD)\
**Post date:** [March 17, 2015, 6:22am UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710/16 "2015-03-17T06:22:33Z")

</div>

I’m not speaking the same language or something I don’t know hat you even mean by system tray. I us UE4 and Blueprints.

---

<div class="post-metadata">

**Author:** ![Missu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Missu](https://forums.unrealengine.com/u/Missu)\
**Post date:** [March 18, 2015, 7:00am UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710/17 "2015-03-18T07:00:53Z")

</div>

Ok let’s see if it works for you. For me was a really help. Go to [- YouTube](https://www.youtube.com/watch?v=-vYrxhqXFww)

---

<div class="post-metadata">

**Author:** ![AttemptD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AttemptD](https://forums.unrealengine.com/u/AttemptD)\
**Post date:** [March 20, 2015, 3:32am UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710/18 "2015-03-20T03:32:00Z")

</div>

I’m not sure where you got swarm but I don’t have it…

---

<div class="post-metadata">

**Author:** ![Missu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Missu](https://forums.unrealengine.com/u/Missu)\
**Post date:** [March 20, 2015, 4:49am UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710/19 "2015-03-20T04:49:16Z")

</div>

Always when build lights, the Swarm Agent open automatically. If you don’t havet then you have a problem with the engine itself

---

<div class="post-metadata">

**Author:** ![AttemptD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AttemptD](https://forums.unrealengine.com/u/AttemptD)\
**Post date:** [March 20, 2015, 5:25am UTC](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710/20 "2015-03-20T05:25:57Z")

</div>

I’m double checking. I’ll get back. I think I see now.

[Next page](https://forums.unrealengine.com/t/why-when-i-build-light-its-taking-hours/310710.md?page=2)
