Lights fail to build UE4.15-17

So I have tried everything so far ( all fail the same way. 0% then lighting failed):

  • firewall on
  • firewall off
  • delete swarm cache in ~/library/application
    support/epic/UnrealEngine/4.16/ etc…
  • delete saved and intermediate
  • make a new map with just one light
    and one asset which previously
    received shadows
  • deleted 20% of assets in a
    level…build…then 20%
    more…build…etc. Failed every
    time.
  • force no precompute lighting off…
    build…then on…build.
  • deleted derived data in
    ~/library/application
    support/epic/UnrealEngine/common/DerivedDataCache/
  • uninstalled all epic stuff
    and reinstalled it. Same issue

The only error I get is (in a fresh new level with just on directional light and one static mesh):

LogStaticLightingSystem:Warning: Failed to build lighting!!! Lighting build failed.
DumpUnbuiltLightIteractions
Lights with unbuilt interactions: 1
Light DirectionalLight_1
Primitives with unbuilt interactions: 1
Primitive StaticMeshComponent /Game/Maps/TEST.TEST:PersistentLevel.NEWFLOOR_504.StaticMesh

I can build in other projects…

What else should I try? I have been working on this project for over a year and building lights as needed. At around 4.14 it started failing so I figured I would just wait a couple versions and maybe it would just start working again. Hasn’t happened yet :frowning: Help please.

Is there a global setting that may be messed up and just not letting me build lights?

System specs for 10.12.6 Sierra MAC:

Model Name: iMac
Model Identifier: iMac15,1
Processor Name: Intel Core i7
Processor Speed: 4 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 8 MB
Memory: 24 GB
Boot ROM Version: IM151.0207.B29
SMC Version (system): 2.23f11
Serial Number (system): D25NX1JRFY14
Hardware UUID: 1415E1DE-BF9B-5A6A-98D9-2222946F5122

Your Mac is the issue. Joke aside. Have you looked at this thread? https://answers.unrealengine.com/questions/201327/lightning-build-failed-swarm-failed-to-kick-off.html

I know its not my Mac because I love it and it wouldn’t do that to me :slight_smile:

Anyways, that thread has more to do with the PC version but I did try the 20% thing from there. I couldn’t find the UE.sln to build. I always just get my engine from the Epic Games installer. I have never manually built the swarm agent.

Something is wrong with the project I guess. I start an empty level with just one object and a light and it takes like 10 minutes when I hit build before it stops with a fail at 0%. Something else is having issues and I have no idea where else to look.

Is there a lightmass log on Mac ? I can’t find it.

I wonder how you will get on if you try creating a new empty project and then migrating your assets across.
Probably not ideal but might be better than trying to rebuild your project from scratch.

Yikes that sounds horrible…

So uh I fixed it? I changed the name of my project and now it builds… Can someone tell me why or should I worry about it?

So I thought it was good. Now new problem. It gets stuck at 99%.

  • I have tried removing the scale from
    my lightness importance volume

I guess I have to start over with how to fix this problem… :frowning:

nm I dropped to High instead of production and it works