Lighting build failed

The project takes 9gb, even with 200mb of upload speed I can’t upload it… I will try it tomorrow and I will let it upload for the full day.

I just realized that I only have 2gb of space in my dropbox account (is the limit in free accounts), where should I upload the project instead of dropbox?

All I need is your content and config folders along with your .uproject files. I do not need all 9gb of the project. See if you have enough space after only adding these files.

It’s 5gb anyway, I think I imported too much assets. Should I make a copy of the project and remove some of the not used content?

Do you have another file sharing program you can link? I would like to try to get as much of your project so that I am handling as much of the project that is causing the build fail.

I don’t know where I can upload it, Mega uploads with 40kb/sec… Do you know where can I share it?

Ok, so, to help me get a further understanding and eliminate possible issues I have a few more troubleshoots for you.

1.) If you would update your drivers for your Video card. This shouldn’t make a huge difference in builds but just to eliminate this being an issue if you would go ahead make sure you have the latest version.

2.) When building your lighting, if you would bring up your swarm agent and look through your logs to see if the swarm agent is communicating with your PC and make sure there are no errors there.

3.) I will be linking you to the swarm agent troubleshooting guide to help you decipher what exactly is going on with that and what you should expect to see vs. an issue.

4.) Do these first just so we can cross them off the list of possible things to cause the crash. If after these troubleshoots and taking a look at your logs then we can try and move the project file you have.

Logan

Ok, so, to help me get a further understanding and eliminate possible issues I have a few more troubleshoots for you.

1.) If you would update your drivers for your Video card. This shouldn’t make a huge difference in builds but just to eliminate this being an issue if you would go ahead make sure you have the latest version.

2.) When building your lighting, if you would bring up your swarm agent and look through your logs to see if the swarm agent is communicating with your PC and make sure there are no errors there.

3.) I will be linking you to the swarm agent troubleshooting guide to help you decipher what exactly is going on with that and what you should expect to see vs. an issue.

4.) If you would verify your 4.9 version of UE4. From the launcher next to the label that is on your engine there is a dropdown arrow next to the Launch tab. From there click on the verify option under the dropdown. Then, if that doesn’t work, try uninstalling and reinstalling that version of the engine.

5.) Do these first just so we can cross them off the list of possible things to cause the crash. If after these troubleshoots and taking a look at your logs then we can try and move the project file you have.

Logan

I didn’t find any similar problem. I don’t recive any error log in the engine, and the common error is: Light build failed. Swarm Agent failed to kick off. But I recive: Light build failed. Here is the swarm agent error log.link text

After pooling more knowledge from our team and taking a look at your logs we suspect that your swarm agent is failing to determine your engine directory.

Troubleshoots :

IN SWARM AGENT - Clean and then validate your Swarm Cache. In the documentation I linked above there are instructions for this.

Navigate to your folder C:\Users\XXXX\AppData\Local\UnrealEngine and delete everything in this folder. The AppData is hidden by default so you will need to make this visible before you can see folders in this Window.

Let me know after you have completed these two troubleshoots. If you have more than one map in your scene, and this is the only map having the issue, then perhaps it is unique to this map. From there you may be able to determine which .uasset is causing this problem.

I am hoping that cleaning up your AppData, and then verifying your swarm, will eliminate this issue.

I completed it, nothing changed, I got the same error again, and yes, it’s the only map having the issue, but I don’t know what is causing it. An asset can be the cause of that problem?

  1. Run Swarm for the logs. Go the settings and set the Verbosity to Super Verbose. This may point to the asset causing the issue.

  2. Make a copy of that particular map and start going through and deleting a few assets > Build Lighting > If it works then one of those few assets caused the issue > If it didn’t build. Delete a few more assets > Build Lighting > Repeat.

Logan

I don’t find the asset causing the error in the Swarm log…
And when I duplicate the map I recive this error.

If you did not find the asset that is causing the error though the swarm log. What you would need to do is start to manually remove .uassets from that map until you are able to build. Then you know specifically what could be causing the issue.

Okay, but when I try to duplicate the map to delete the assets I recive an error and it doesn’t make the copy, and I don’t want to delete the assets in the original one…

At this point this is really your only option. You can make a copy of the folder you have your project in to make sure you have a backup just in case.

Finally! I found it. The asset causing the error was an sphere with scale 0 0 0 (scale that I modify whit blueprints). I changed the scale and the lighting built with no problems.
Thanks for the help!

Just in case someone will encounter the same problem.
Check if the folder where Swarm located is not read-only. I had my SwarmAgent placed in a Program Files folder. Moving Swarm Agent to another drive helped to nail the issue

Other reason can be Force No Precomputed Lighting checked (World Settings). Must be unchecked…

Thanks this done it for me using an older marketplace asset.