[Linux] Lighting Won't build.

The lighting gets stuck at 0%. No error report. I waited 15 hours for the small test map. Nothing. This has been a problem in the Past. But it resolved it self before. Now I can’t build anything! (And I had this really cool scene going!)
(Tim Hobson… I won’t open a ton of threads this time! Just this one. :slight_smile: )

Hey,

Tim Hobson… I won’t open a ton of threads this time! Just this one. :slight_smile:

No worries. :slight_smile:

Are you using one of the template example scenes (ie. FPS or Third Person) or is this a custom scene that you’ve setup?

Have you tried lowering the lightmap resolutions of the meshes in your scene?

Yes I have lowered all the lightmap resolutions. I Opened all the Template scenes and tried… No avail. I made a simple scene with Nothing except Bsp And a light… Nothing. Help.

I just tried everything I could. Turned all the setting to low. made sure everything was on the lowest setting It could be. I also should note I use 4.7 still. Should I upgrade? Will it effect my work? (None of my important scenes use blueprint as of yet.)

You can try an upgrade and see if it helps. It’s always best to make a backup copy of your project so that if something should go wrong you have a copy.

There shouldn’t be anything that will cause an issue when upgrading though if you’re just using assets and don’t have any code or blueprints to worry about.

Give that a shot and let me know if it helps.

I upgraded last night to 4.9. That error is still happening. Any ideas?
I turn everything down to the lowest setting. I have a gtx 550ti, 8gb memory.
Someone once said it was a firewall setting? Could that be a cause?

That’s a possibility, but not necessarily a guarantee. I’ve often found that we just have to go through a bunch of troubleshooting suggestions until one works in my experience.

Try this first before the other suggestions. Since you’re on Linux, I’m not sure off hand where this folder would be, but if you’re having trouble finding it, I can see if I can find the information.

Clean and Validate the Derived Data Cache:

  • Open Swarm Agent from the taskbar > Menu > Cache > Click Clean and Click Validate
  • Navigate to the following file path and delete all folders while the editor is closed: X: / Users / [Your Computer Name] / AppData / Local / UnrealEngine /
    Note: This folder is a hidden system folder. Make sure to unhide system folders first to see it.

If that doesn’t work try these suggestions.

Here’s my usual check-list of suggestions:

  • Check the taskbar to make sure that there is not a second instance of Swarm Agent open. If there is this will need to be closed.
  • Turn off your Firewall/Anti-virus software and see if Swarm Agent will build lighting. If it does all that will need to be done is to add a exception to both or either for Swarm Agent to work properly.
  • Try closing down the editor and restarting the project or even your computer.
  • Install/reinstall Visual C++ Redistributables
  • Re-install/update .NET framework
  • Computer cannot use special characters or be just a number (ie. Ù or 123)
  • Copy all assets from .umap file to another map and try to build lighting. Sometimes a map file can become corrupted and not allow lighting to be built properly. This can easily be done by going to File > Export > Save as Unreal Text file (.t3d). Create New Map > File > Import > Select the .t3d file you just created and it will populate the map with your assets so long as they are in the project content folder.

Some of these suggestions are very edge case and since you’re on Linux some of these may not work in your case.

Swarm agent in ubuntu?! I thought it didn’t work in Ubuntu?
Or am I just really stupid. Also, I cannot find that file.
I will try the firewall thing the copy all assets.

Honestly, I’m not sure, I’ll have to look into that more. I don’t have a lot of documentation or knowledge about what is or is not available in Ubuntu. These are just my general checklist that I’ve made when looking into swarm issues.

I’ll let you know what I find though.

I hope you find something!
Thanks for looking into this annoying problem affecting me! :slight_smile:

Just bumping this up. :slight_smile:

Sorry for the delay. From using our test machine with Linux I cannot access the SwarmAgent.exe to open the program. I saw a post that there are plans to port swarm agent to c++ so that it should work with Linux/OS X, but that was from a year ago. I’ve emailed the developer to check the status on that. I will let you know when I have an update from them.

We will be releasing 4.8 very soon. I’m not sure if this may resolve the issue, but that would be worth a try when it releases to see if the issue still continues.

That’s okay. I can wait. Hope to hear from you soon!

I spoke with the developer who had mentioned that in a previous post yesterday and unfortunately that plan has been shelved with no idea when there would be time to actually work on it. It may be done at some later date, but there is no plans to currently continue with that task.

At the moment I’m out of suggestions until 4.8 releases and we see if that builds properly for you. Do you still have 4.6 on your computer, and if so, does that build lighting? I may have asked before, but I don’t see it in this thread. If so, this may simply be a 4.7 issue.

I do not have 4.6. Do look into a little more if you have some free time. And i’ll wait for 4.8. Hopefully it will work.

Okay, I updated to 4.8… I turned on UE4. started up the first person template. went To Disneyland all day. And when I came home. It was still trying to do the lighting. What now?

I’m bumping this up! It’s been 4 days.
Also, I haven’t been able to use UE4 for 3weeks now… Help!

Have you tried disabling the firewall on your machine? Particularly for 6666 UDP port, but start with disabling it altogether. This should unblock the lighting issue.

Okay! It’s fixed! It was the Firewall. There was something wrong with Ubuntu’s Firewall. So I just reinstalled Unbuntu… Now it works! Thanks guys!