# \[BUG\] Building Lighting in OS X Editor stays at 0% indefinitely when Lightmass is blocked by firewall

**URL:** <https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718>\
**Category:** Rendering\
**Tags:** os-x, unreal-engine, bug-report, editor, Lighting, question\
**Created:** [April 6, 2014, 2:26am UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718 "2014-04-06T02:26:41Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcd0d281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcd0d281](https://forums.unrealengine.com/u/anonymous_user_bcd0d281)\
**Post date:** [April 6, 2014, 2:26am UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718/1 "2014-04-06T02:26:41Z")

</div>

I’m using the OS X version of the UE4 editor, running on OS X Mavericks 10.9.2.

Earlier today I had removed several applications from my computer’s Firewall Options… menu, which is where you mark an application as being Allowed or Disallowed incoming network connections; I must have gotten too enthusiastic and removed UnrealLightmass.

Later, I was working in a level in the Editor, and Lighting would not build; when trying to build Lighting in a scene the Lighting Build would stay at 0% and not proceed any further. On a scene that took less than a minute to build lighting yesterday, today I left it for 20 minutes and it stayed at 0%. After restarting my computer and trying again, I got a system dialog/pop-up window asking if I wanted to Allow incoming network connections for UnrealLightmass. I clicked Allow, and the Lighting Build worked immediately.

After some quick tests, I discovered that if the built-in Firewall in OS X is turned on, and 1) UnrealLightmass not on the list of applications allowed to have incoming network connections; or 2) UnrealLightmass is disallowed incoming network connections; or 3) there is a system dialog box/pop-up asking if you want to Allow to Disallow incoming network connections and you haven’t chosen Allow; then Lighting Build will sit at 0% and not proceed further.

Now that I have the Firewall set to Allow incoming network connections for UnrealLightmass, Lighting Builds work perfectly fine.

I’m not sure if this is really a bug, or a side-effect of some OS X quirk, but I wanted to report it anyways.

---

<div class="post-metadata">

**Author:** ![gmpreussner\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gmpreussner\_1](https://forums.unrealengine.com/u/gmpreussner_1)\
**Post date:** [April 7, 2014, 1:12am UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718/2 "2014-04-07T01:12:04Z")

</div>

This is expected. Lightmass is running in a separate application that communicates with the Editor through a network connection. We are planning to rewrite that application in C++ at some point, and then we will likely also add an option to communicate through so called Named Pipes instead of a network connection, so that a firewall exception is not needed when running Lightmass on your local computer only.

In the meantime, please configure a firewall exception for Lightmass. If you don’t run any other Lightmass computers on your network to distribute the workload then it is sufficient to grant access to localhost only - no communication with other computers is required in that case. If you use multiple computers to build lighting then you have to grant access to the network as well.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcd0d281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcd0d281](https://forums.unrealengine.com/u/anonymous_user_bcd0d281)\
**Post date:** [April 7, 2014, 2:09am UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718/3 "2014-04-07T02:09:10Z")

</div>

Thank you for the response. This makes perfect sense now.

---

<div class="post-metadata">

**Author:** ![yazybones\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@yazybones\_1](https://forums.unrealengine.com/u/yazybones_1)\
**Post date:** [June 9, 2014, 12:03pm UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718/4 "2014-06-09T12:03:37Z")

</div>

I’m experiencing the same issue using Unreal Engine 4.2 and OSX 10.9.3. I’ve got my firewall disabled and when I start the build process I can see the UnrealLightmass process gets started (using ps auxww | grep -i unreal) however the build sits at 0% forever.

Any thoughts / suggestions?

---

<div class="post-metadata">

**Author:** ![bobht](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bobht](https://forums.unrealengine.com/u/bobht)\
**Post date:** [September 1, 2014, 6:39pm UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718/5 "2014-09-01T18:39:33Z")

</div>

this is a real issue. Did anyone solved that problem?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcd0d281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcd0d281](https://forums.unrealengine.com/u/anonymous_user_bcd0d281)\
**Post date:** [September 1, 2014, 6:55pm UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718/6 "2014-09-01T18:55:02Z")

</div>

You have to configure a firewall exception for Lightmass on OS X.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fc8cebdc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fc8cebdc](https://forums.unrealengine.com/u/anonymous_user_fc8cebdc)\
**Post date:** [March 4, 2015, 5:57pm UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718/7 "2015-03-04T17:57:18Z")

</div>

I hope this is a VERY high priority for the UE team. Epic is trying to attract new people, and everyone with a Mac that has a firewall on will instantly not be able to use build, causing them to possibly run back to Unity or some other engine that works correctly.

In the meantime, to make the firewall changes:

1. Open System Preferences
2. Select security and privacy
3. Select firewall
4. Click the lock in the bottom right to allow changes
5. Click firewall options
6. Turn off block all incoming connections
7. If #6 was enabled, make sure “automatically allow signed software” is unchecked and steal mode is checked.
8. Click the “+” button
9. This is where it gets fun.
10. Navigate to Hard drive \> Users \> Shared \> UnrealEngine \> 4.7 \> Engine \> Binaries \> Mac
11. Select UnrealLightmass.app
12. Click add
13. Repeat step #10
14. Select UE4Editor.app
15. Click add
16. Click OK
17. Click the padlock to prevent further changes

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcd0d281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcd0d281](https://forums.unrealengine.com/u/anonymous_user_bcd0d281)\
**Post date:** [March 4, 2015, 9:04pm UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718/8 "2015-03-04T21:04:24Z")

</div>

There are pop-ups that come up asking you to Allow network connections; clicking Allow will prevent the issue.

You can go through the steps you outline to ensure you don’t have to click Allow every time you open the Editor or do a Lighting Build.

In this case it really isn’t an issue with the Editor, but a side effect of how OS X handles its network security.

I haven’t had any issues since allowing the connections.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fc8cebdc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fc8cebdc](https://forums.unrealengine.com/u/anonymous_user_fc8cebdc)\
**Post date:** [March 5, 2015, 10:56pm UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718/9 "2015-03-05T22:56:59Z")

</div>

It’s a very inconvenient thing for people new to Unreal (such as myself). Things is, it should be as easy as possible for people to use without problems like this. Epic has already said they were going to change it; I’m just hoping it’s sooner rather than later. 🙂

---

<div class="post-metadata">

**Author:** ![sinay](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sinay](https://forums.unrealengine.com/u/sinay)\
**Post date:** [June 25, 2015, 1:15am UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718/10 "2015-06-25T01:15:52Z")

</div>

Same here. I was all excited to finally get a new Mac, mainly to be able to use Unreal Engine, and I’m baffled by all the illogical counter-intuitive problems I run in, like this one.

---

<div class="post-metadata">

**Author:** ![sincitycyclops](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sincitycyclops](https://forums.unrealengine.com/u/sincitycyclops)\
**Post date:** [October 8, 2015, 12:21pm UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718/11 "2015-10-08T12:21:07Z")

</div>

I did all this and it still doesn’t build the lights UGH!

Version: 4.8.0-2710036+++depot+UE4-UT-Releases

Mac OSX 10.10.5

---

<div class="post-metadata">

**Author:** ![CHADALAK1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CHADALAK1](https://forums.unrealengine.com/u/CHADALAK1)\
**Post date:** [December 9, 2015, 2:45am UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718/12 "2015-12-09T02:45:11Z")

</div>

I too have this issue as well even when my firewall is completely turned off 😕 . running Mac OSX

---

<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:** [December 9, 2015, 5:14pm UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718/13 "2015-12-09T17:14:12Z")

</div>

Hey CHADALAK1,

Would you mind sharing which engine version you are experiencing this issue with so I can test this on a Mac with here?

Thanks,

---

<div class="post-metadata">

**Author:** ![javoire](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@javoire](https://forums.unrealengine.com/u/javoire)\
**Post date:** [January 17, 2016, 4:14pm UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718/14 "2016-01-17T16:14:40Z")

</div>

I’m experiencing this issue with the OS X firewall turned off.

- Yosemite Version: 10.10.5 (14F1021)
- UE editor: 4.10.2-2818068+++depot+UE4-Releases+4.10

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [January 20, 2016, 3:05pm UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718/15 "2016-01-20T15:05:43Z")

</div>

I was able to repro this in Yosemite running the same version above UE4.10 CL2818068 with OS X firewall off: To fix, you have to follow steps provided by TigerCoding above precisely, specifically steps 10-17 so you end up with these firewall preferences:

 ![75253-macfix.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/e/1/ae198c1206e1036fb5f57ca9891dd2e2961fa31c.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fc8cebdc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fc8cebdc](https://forums.unrealengine.com/u/anonymous_user_fc8cebdc)\
**Post date:** [January 24, 2016, 7:37pm UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718/16 "2016-01-24T19:37:36Z")

</div>

For clarity, you only need the bottom two ones, not remote login or screen sharing.

---

<div class="post-metadata">

**Author:** ![ThePumaman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ThePumaman](https://forums.unrealengine.com/u/ThePumaman)\
**Post date:** [January 29, 2016, 9:13pm UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718/17 "2016-01-29T21:13:44Z")

</div>

I’m also experiencing my project unable to progress past 0% when building lighting. I’m using UE 4.10.2 on a late 2013 Mac Pro with 10.11.3, and I’ve done all the firewall and cache clearing as described elsewhere, even reinstalled UE.

My project was created on the Windows 10 version of UE 4.10.0, upgraded to 4.10.2 there, then brought over to the Mac via Perforce to build to iOS. On the Mac, the project can Launch in a new window, but trying to build the lighting has it hung at 0 %.

I can build a new template project successfully, which means it’s a project issue, but before I try and rebuild are there any caveats to doing the Windows-Mac project transfer that might be causing the hang?

---

<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:** [January 31, 2016, 10:10pm UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718/18 "2016-01-31T22:10:26Z")

</div>

Moving from one platform to another can be a bit dangerous and can cause things like this to happen. Try deleting your DDC folder as well as the Saved folder and then rebuilding your lighting. Be sure to **make a copy of your project** before deleting the folders in case it causes an unexpected issue.

As you mentioned, you are able to build successfully on the Mac within template projects. This means there is a variable within your own project that is causing lightmass to hang. Quick question, how large is your scene you are building, and can you still build the same project on your Windows machine?

I usually don’t suggest alternating between different platforms when working on a project, as these kinds of things can tend to happen. Typically you want to remain on an engine version and platform from start to finish, unless there is a need to shift.

Thanks,

---

<div class="post-metadata">

**Author:** ![ThePumaman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ThePumaman](https://forums.unrealengine.com/u/ThePumaman)\
**Post date:** [January 31, 2016, 10:34pm UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718/19 "2016-01-31T22:34:28Z")

</div>

My scene’s tiny- everything is spawned in including the lighting, so it’s basically an empty level with some spawn controllers. Since directional lighting doesn’t work on mobile, every object has a point light as a component of its blueprint for illumination.

---

<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:** [January 31, 2016, 11:18pm UTC](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718/20 "2016-01-31T23:18:11Z")

</div>

Directional lighting is supported on Mobile actually. You can only have one though, as it can be expensive, and it has to be set to Static or Stationary. Take a look over our Mobile Development documentation to get a better understanding of the limitations when developing for mobile.

**Mobile Development - Lighting for Mobile Platforms**

> **[Mobile Rendering Features](https://docs.unrealengine.com/5.1/en-US/rendering-features-for-mobile-games-in-unreal-engine/)**
>
> Learn about Unreal Engine's mobile rendering path and its support for graphics features.

Point lights and Spot Lights only support Static mobility types, which means if you are spawning your lighting in at runtime, you are going to have issues as these need to be baked using lightmass.

Could you provide me with some screenshots or your scene?

Thank you,

[Next page](https://forums.unrealengine.com/t/bug-building-lighting-in-os-x-editor-stays-at-0-indefinitely-when-lightmass-is-blocked-by-firewall/279718.md?page=2)
