I am currently unable to build lighting in any of my projects or maps. It stops at 0:00:00 Starting up Swarm Connection… (98%) with the error message “Failed to connect to Swarm”.
I have tried disabling the Windows firewall, deactivate the antivirus (windows defender) and reinstalling unreal.
I am currently running version 4.0.1-2027741. Here is the log file of swarm agent.
Any help would be greatly appreciated.
Swarm Log:
Starting up SwarmAgent ...
... registering SwarmAgent with remoting service
... registering SwarmAgent network channels
... initializing SwarmAgent
...... checking certificate
......... certificate check has failed
...... initializing cache
......... using cache folder 'C:\Program Files\Unreal Engine\4.0\Engine\Binaries\DotNET/SwarmCache'
......... recreating SwarmAgent cache staging area
...... initializing connection to SwarmCoordinator
......... using SwarmCoordinator on RENDER-01
[PingCoordinator] Determined that we couldn't ping the coordinator
[PingCoordinator] Coordinator ping failed
......... SwarmCoordinator failed to be initialized
...... initializing local performance monitoring subsystem
...... local performance monitoring subsystem initialization failed
Having a similar problem. I’ve uninstalled my anti virus and shut down my firewall. Not even sure where to start to diagnose the problems. Swarm is booting up,but it ‘fails to connect’ and then swarm shuts down (or crashes).
The certificate check failure is ok. You can ignore it.
Could please try to go into the Settings and move the Cache directory into another location that is not under C:/ProgramFiles/, i.e. C:/Temp/SwarmCache/ or something like that?
Also try temporarily enabling verbose logging in the Swarm settings. Perhaps the log will provide some more details then, thanks!
Perhaps a silly question but how does one access the swarm settings? Remember, I can’t currently open swam - as it immediately crashes. This happens even if I execute it directly without going through the unreal build process.
I have a similar problem.
If I start the engine without admin rights I just see “connect to Swarm” the whole time when I wanna build the lighting.
But in the Task Manager “not responding”. I can wait a hour and nothing will do anything.
And if I start the engine with admin rights the lighting will build, but the whole 3d models (just brushes converted to static meshs) are black after building the light.
I’ve attached the logs.
I’m using the unreal engine 4 that I compiled in Visual .
I fixed it, but you guys aren’t going to like the answer. I did a fresh re-install of windows and everything works just fine. Just an uneducated guess, but I think its something related to the.net stuff maybe?
We have not heard from you in quite some time. I am going to mark this as accepted for tracking purposes. If you are still experiencing issues, please let us know. Thank you!
Had the same problem, solved by deleting the swarm cache. You can find the cache data here: C:\Users\YourUsername\AppData\Local\UnrealEngine\4.1\Saved\Swarm\SwarmCache.Clear the cache and restart the Editor. This worked for me, allthough it doesn’t prevent swarm to crash later again.
This worked for me too… I had a different error: Lightmass cannot be run due to an incompatibility with 64-bit windows. I just deleted the whole SwarmCache folder, and it worked! Thanks lugit!
I use to have the same problem. the only thing I was able to do was to close unreal with taskmanager
after some testing and deleting cache folder , the problem was still there, until somehow it shows me a new window.
and I figure out that I compiled ue4 to my “G” drive and since a little while ago that I remove one of my HDD, and install this new windows , that drive has changed to “E” and “G” is now DVD drive and it cant write anything into it.
I think in most cases this is what cause the problem, you either don’t have permission to write into that drive or antivirus has blocked it, or you changed the installation directory.
Yup, I had the same issue with 4.11 which I got via Github. I spotted the error in SwarmAgent’s log window telling it couldn’t cache the UnrealLightmass.exe which in turn didn’t exist in the Engine\Binaries\Win64 -folder.
@ I’m very upset. I’ve even format and reinstall the OS (w8.1) with everything new (the all .net framwork versions & all c++ VS distributed versions) no antivirus, no firewall. Just UE 4.13 version installed on the PC and still having errors. Check the last swarm log and my settings. Note: I’m just building the lights in a standalone PC.