UE 4.9 hangs on building lighting, "starting swarm connection 100%"

Okay, so I’ve been having this issue way back since UE 4.8 but never thought much of it until I learned to make a game in ue4. But every time I try to build the lighting The editor stops responding at “starting up Swarm connection” reaches 100%, I open up swarm and find this in the log:

**13:15:23: Starting up SwarmAgent ...

13:15:23: … registering SwarmAgent with remoting service

13:15:23: … registering SwarmAgent network channels

13:15:23: … initializing SwarmAgent

13:15:23: … certificate check has failed

13:15:23: … initializing cache

13:15:23: … using cache folder ‘C:/Users//AppData/Local/UnrealEngine/4.9/Saved/Swarm\SwarmCache’

13:15:23: … recreating SwarmAgent cache staging area

13:15:23: … initializing connection to SwarmCoordinator

13:15:23: … using SwarmCoordinator on RENDER-01

13:15:25: … SwarmCoordinator failed to be initialized

13:15:25: … initializing local performance monitoring subsystem

13:15:26: … initialization successful, SwarmAgent now running
**

I’ve tried all the recommended stuff such as clearing the cache, running as admin, screwing with the settings, turning off the firewall and my anti-virus etc… Please could someone try to solve this and not just link me to other questions, I’ve tried them, they don’t work.

I am aware of how difficult this issue is to solve so I would appreciate any solution, no matter how complex or inefficient,

P.S this applies to every project I’ve made.

HI Lord C,

This was a known issue with 4.9 that was remedied in 4.10. There were any number of reasons that this could cause the light build to not complete properly even though it showed 100% completion in the log.

It is recommended to update your engine version in this instance.

Thank you!

Tim

Thanks, I’ll get to downloading ue4.10 now.

I have the exact same problem with UE 4.10.2 on Windows 10 :confused: Any other solutions?

This specific issue was resolved with 4.10’s release. It may be better to post this as a separate question, but if you have any specific steps that can reproduce the issue I am happy to investigate.

This issue in question originally was a widespread issue that prevented static Lighting in numerous ways from completing. It was a minor fix that prevented lighting from exporting back to the editor after it completed.

I’ve downloaded ue4.10.2, this time it freezes at “Gathering level Geometry” it’s been at it for about 30 minutes now with nothing in the swarm console but what I got in 4.9…

Open Swarm Agent and then make sure to set the logging to Super Verbose. Copy the text to a text file and post here.

If it’s stalling with gathering the scene then likely it’s a different issue and not the one that was plaguing 4.9. The other issue that was resolved with 4.10 would build lighting and complete but not export the scene back to UE4 to be applied.

When you build lighting, please do so in a new Default with only a couple of basic geometry shapes. It doesn’t need to be a complex scene or anything. This is a good test case that eliminates it being an issue with your level specifically.

So I got the following in the log: link text

It then proceeded to repeat that last error over and over every second or so.
I am aware that it is something to do with the swarm coordinator, yes, I’ve tried unlocking it from the firewalls and running as admin etc…

Did you set the logging to super verbose? This doesn’t appear to be the full log.

The Coordinator message will appear in any log whether you’re using it or not. If you’re not using coordinator (only for networked swarm agents), then there is not need to worry about that message.

You can try using the free program TCPView and see if Swarm Agent is running on the correct port. It requires port 8008/8009 to be free for use otherwise there can be some issues that will not let it build lighting.

When you open the program make sure you have swarm agent loaded, it doesn’t have to be building lighting or anything. Then under the tab for Local port click this so that it lines them up numerically. Then you can locate the process name for swarm agent. Let me know which port is being used.

Did you set the logging to super verbose? This doesn’t appear to be the full log.

The Coordinator message will appear in any log whether you’re using it or not. If you’re not using coordinator (only for networked swarm agents), then there is not need to worry about that message.

You can try using the free program TCPView and see if Swarm Agent is running on the correct port. It requires port 8008/8009 to be free for use otherwise there can be some issues that will not let it build lighting.

When you open the program make sure you have swarm agent loaded, it doesn’t have to be building lighting or anything. Then under the tab for Local port click this so that it lines them up numerically. Then you can locate the process name for swarm agent. Let me know which port is being used.

Yeah, it’s using port 8008:

Did you set the logging to super verbose? This doesn’t appear to be the full log.

It is yes, that’s all I’m getting :confused:

The lighting started to build and it finally works! here’s the super verbose log just inscase this was only chance:
link text