UE4 Linux can't build lighting

Hello,

I just build UE4 under Linux and, unfortunately, the lighting won’t build. It simply gets stuck at 0%, though my cpu is definitely working pretty hard. I tested it on a template project just to make sure it wasn’t anything funny I did. To compare, I rebooted to my Win7 install and lighting built without an issue.

Right now, I’m running Linux Mint 17 on a 3.2 GHz i7 cpu. I have two video cards installed, but I only use one - an nVidia 560TI (driver v346.72). I built UE4 with clang 3.5.

Anyway, I’ve noticed this is a recurring issue on OS X / Linux platforms, but thus far, the solutions I’ve found don’t work or didn’t make sense…

Any thoughts on where to start figuring this out?

Version of the engine ? 4.8 or 4.7?

version 4.8

I’m having the same problem. Also using Unreal 4.8. Similar config with a GTX970.

On a whim, I rebuilt UE4 with clang 3.3. No luck, unfortunately.

I’ve had this problem too. And it’s still hapening! I also use to be able to build the lighting!

[SOLVED] UE4 Linux can’t build lighting

It appears (at least in my case), this has to do with the firewall in Linux Mint. I disabled the firewall and lighting built immediately. I found the answer here:

https://answers.unrealengine.com/questions/231706/linux-lighting-wont-build.html

It suggests unblocking UDP 6666 in the firewall (which I haven’t tried) as the best solution.

Disabling the firewall requires some terminal work. Specifically,


sudo ufw disable

disables it. It will not re-enable on it’s own (even after rebooting). Use


sudo ufw enable

to do that.

Ah, I have tried that too. But now it doesn’t work offline. (It does online now.)
Does yours work offline!?

I’ve not tried it offline. I hadn’t realized you needed to be “online” just to build the lighting in the first place. I’m going to assume, though, that if my firewall was at fault, it follows it won’t work offline.

BTW, I re-enabled my firewall and allowed UDP port 6666, and it works just fine, now.

Well, I have tried everything… And it won’t build the Lighting offline! Could you try it? (I have to unplug the cord.) It would really help. As I don’t know anyone else who has been having these problems!