# \[Bug\] Lightmass Build Fails

**URL:** <https://forums.unrealengine.com/t/bug-lightmass-build-fails/275970>\
**Category:** Rendering\
**Tags:** build-1711197, unreal-engine, bug-report, editor, Lighting, UE4, question\
**Created:** [March 11, 2014, 3:14am UTC](https://forums.unrealengine.com/t/bug-lightmass-build-fails/275970 "2014-03-11T03:14:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ue4-archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ue4-archive](https://forums.unrealengine.com/u/ue4-archive)\
**Post date:** [March 11, 2014, 3:14am UTC](https://forums.unrealengine.com/t/bug-lightmass-build-fails/275970/1 "2014-03-11T03:14:36Z")

</div>

**Build:**

1711197

**Install Path:**

C:\users\Markus\Rocket\

**Specs:**

Win7, GTX580, 16GB, UAC: on

**Description:**

I was building a basic map with lightmass, and suddenly I get this error telling me that it’s failed to build lighting.

_Here are the logs._

- [Log file.][1]
- [Lightmass log.][2]

**Repro Steps:**

I was building and baking the lights to a slightly modified ExampleMap when this happened. Slightly modified means that I only alt dragged a couple of the floor’s blocks to create some simple extra level geometry. From there, go to _ **Build \> Build Light \> All Levels** _ and bake as you normally would.

**Update:** This appears to happen on any map, even a blank slate examplemap file.

I don’t know what it is, but bugs tend to have a knack for finding their way to me. I can’t use lightmass at all until I find the underlying cause of the problem. This has not been a problem with past builds; it appears to be exclusive to this one.

Although I have to say, if this was an issue specific to this version, it would have been reported by someone already. So it begs the question: What’s different here that would cause Lightmass to go haywire specifically on my machine like this?

**Results:**

I get an error prompt, followed by a map check dialog basically telling me that lighting still needs to be built on the map. Then I get this really terrible lighting setup with harsh shadows.

**Expected:**

Perfect bake with no hassles.

**Attachments:**

 ![lightmassbuildfail1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/0/f/c0f4b3be1cad46ddf57bf2188526da286330b528.png)

 ![lightmassbuildfail2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/3/7/637a41a89bbaf73ae78e5ac16436cb8c22f4624e.jpeg)

---

<div class="post-metadata">

**Author:** ![ue4-archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ue4-archive](https://forums.unrealengine.com/u/ue4-archive)\
**Post date:** [March 11, 2014, 3:14am UTC](https://forums.unrealengine.com/t/bug-lightmass-build-fails/275970/2 "2014-03-11T03:14:37Z")

</div>

After a couple hours of some digging, it turns out that Avast antivirus was intercepting lightmass, treating it as a suspicious program and then attempting to run it in a sandbox. AV normally regards Lightmass as an innocuous program… I wonder what changed with Lightmass in this version to make it go off the wall like that?

---

<div class="post-metadata">

**Author:** ![ue4-archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ue4-archive](https://forums.unrealengine.com/u/ue4-archive)\
**Post date:** [March 11, 2014, 3:14am UTC](https://forums.unrealengine.com/t/bug-lightmass-build-fails/275970/3 "2014-03-11T03:14:38Z")

</div>

I’m glad you figured this out. I’ll let the team know that this happened so we can work on the issue.
