hi i have this error i tried everything 4 days just googling nothing
message log
Error WorldSettings_1 Maps need lighting rebuilt
Info Map check complete: 1 Error(s), 0 Warning(s), took 32٫188ms to complete.
this swarm log
02:20:14 م: Starting up SwarmAgent ...
02:20:14 م: ... registering SwarmAgent with remoting service
02:20:14 م: ... registering SwarmAgent network channels
02:20:14 م: ... initializing SwarmAgent
02:20:14 م: ......... certificate check has failed
02:20:14 م: ...... initializing cache
02:20:14 م: ......... using cache folder 'C:/Users/Ali hero/AppData/Local/UnrealEngine/4.13/Saved/Swarm\SwarmCache'
02:20:14 م: ......... recreating SwarmAgent cache staging area
02:20:14 م: ...... initializing connection to SwarmCoordinator
02:20:14 م: ......... using SwarmCoordinator on RENDER-01
02:20:16 م: ......... SwarmCoordinator failed to be initialized
02:20:16 م: ...... initializing local performance monitoring subsystem
02:20:16 م: ... initialization successful, SwarmAgent now running
02:20:16 م: [Interface:TryOpenConnection] Local connection established
02:20:16 م: [Interface:OpenJob] Error: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. (Exception from HRESULT: 0x80070422)
02:49:42 م: [Connection] Detected new local connection from same process ID as an existing one, closing the old one
02:49:42 م: [CloseConnection] Closing connection 7AD775D9 using handle 7AD775D9
02:49:42 م: [CloseConnection] Connection confirmed for disconnection 7AD775D9
02:49:42 م: [CloseConnection] Closing orphaned Job ()
02:49:42 م: [CloseConnection] Connection disconnected 7AD775D9
02:49:42 م: [GetMessage] Safely returning to 7AD775D9 with no message
02:49:42 م: [Interface:TryOpenConnection] Local connection established
02:49:42 م: [Interface:OpenJob] Error: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. (Exception from HRESULT: 0x80070422)
02:49:42 م: [MaintainConnections] Local connection has closed (7AD775D9)
02:49:42 م: [MaintainConnections] Removed connection 7AD775D9
02:51:21 م: [Connection] Detected new local connection from same process ID as an existing one, closing the old one
02:51:21 م: [CloseConnection] Closing connection 2660ACE7 using handle 2660ACE7
02:51:21 م: [CloseConnection] Connection confirmed for disconnection 2660ACE7
02:51:21 م: [CloseConnection] Closing orphaned Job ()
02:51:21 م: [CloseConnection] Connection disconnected 2660ACE7
02:51:21 م: [GetMessage] Safely returning to 2660ACE7 with no message
02:51:21 م: [Interface:TryOpenConnection] Local connection established
02:51:21 م: [Interface:OpenJob] Error: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. (Exception from HRESULT: 0x80070422)
02:51:22 م: [MaintainConnections] Local connection has closed (2660ACE7)
02:51:22 م: [MaintainConnections] Removed connection 2660ACE7
I don’t know if your issue was the same as mine but I found a solution. A good step to take now is to check if SWARM agent is running correctly.
Diagnostics:
Navigate to your engine folder: …\4.14\Engine\Binaries\DotNET
and run SwarmAgent.exe (it will be minimised in your tray so double click).
Try rebuilding the lighting in UE4 and have a look at the log inside swarm for any errors. If SWARM cannot access the internet then it won’t do much so there should be one error in the log.
My Solution:
There are a number of applications that depend on the windows service “Windows Management Instrumentation”.
Start > Run… > “services.msc”
Ensure that this service is set to “Automatic” (it should be by default). Change it, and ‘Start’ the service if not.
Try rebuilding the lighting, should work now.
If not then I advise enabling Windows Update and check to see if your .NET framework is up to date.
Seriously, this does not get enough recognition. I’ve had this problem for a long time but it was impossible to get an answer to what was wrong. You are the best person on the internets!
That looks like a network issue to me, could be firewall blocking a port or an unstable connection. Try it on another connection (hotspot your phone?).
What do you mean services.msc should be set to automatic? Are you referring to swarmagent.exe? Because that’s nowhere to be found in services.msc for me.
Thank you Razivoid, you saved me a headache and troubleshooting time. Much appreciated.
(i had disabled WMI, troubleshooting something unrelated, and forgot to set it back to auto)
I find it extremely concerning that after 9 months, no one knows the answer to my question. I can build normal lighting in my level but when it comes to building texture streaming, I get an error World 0 map needs to be rebuilt. But I can’t start to fix the issue if swarm.exe doesn’t appear in the services.msc. Is the problem so obscure that no one knows the answer?
I noticed in the error log of Swarm that it was having issues to find LightMass.exe,
if you are having the same issue, and you are building the engine from sources, go to VisualStudio and under UE4/5, check Lightmass and build that project.