Why does build lighting hang for 30 seconds before starting?

> Probably unrelated, but… what have you done to the engine to loose key parts of it? O_o

Yeah, I was surprised about that too. I was trying to make a Moon from a cylinder, then a plane. While making the material, I think edited/moved the default texture in my fumbling around. Probably drag-n-drop.

> Also you don’t have to un-install/re-install you can re-verify engine files from the Epic launcher. It essentially does the same thing and re-acquires/downloads whatever is missing.

Awesome! Thank you!

> As far as swarm goes after you launch the build it pops up as a process accessible through your taskbar hidden icons, and it probably would have told you what was being processed/if it was working or waiting on something.

SWEET! I looked everywhere (except there - I’m a Linux nerd, so Windows is new to me).

Below are the log messages. I think the 7 second delay at :49 was the initial problem.

5:11:49 PM: Starting up SwarmAgent ...
5:11:49 PM: ... registering SwarmAgent with remoting service
5:11:49 PM: ... registering SwarmAgent network channels
5:11:49 PM: ... initializing SwarmAgent
5:11:49 PM: ......... certificate check has failed
5:11:49 PM: ...... initializing cache
5:11:49 PM: ......... using cache folder 'C:/Users/michael/AppData/Local/UnrealEngine/4.22/Saved/Swarm\SwarmCache'
5:11:49 PM: ......... recreating SwarmAgent cache staging area
5:11:49 PM: ...... initializing connection to SwarmCoordinator
5:11:49 PM: ......... using SwarmCoordinator on RENDER-01

5:11:56 PM: ......... SwarmCoordinator failed to be initialized
5:11:56 PM: ...... initializing local performance monitoring subsystem
5:11:57 PM: ... initialization successful, SwarmAgent now running
5:11:57 PM: [Interface:TryOpenConnection] Local connection established
5:11:57 PM: [Job] Accepted Job xxx
5:11:59 PM: [Job] Launched Job UnrealLightmass_2019-09-04_15-08-53_1101200-64bit.exe
5:11:59 PM: [Job] PID is 5780
5:11:59 PM: [Job] GUID is "xxx"
5:11:59 PM: LogLightmass: Display: Lightmass Win64 started on: DESKTOP-ITU0U36. Command-line: xxx
5:11:59 PM: Failed to determine engine directory: Defaulting to ../../../Engine/
5:11:59 PM: Failed to load 'aqProf.dll' (GetLastError=126)
5:11:59 PM: File 'aqProf.dll' does not exist
5:11:59 PM: Failed to load 'VtuneApi.dll' (GetLastError=126)
5:11:59 PM: File 'VtuneApi.dll' does not exist
5:11:59 PM: Failed to load 'VtuneApi32e.dll' (GetLastError=126)
5:11:59 PM: File 'VtuneApi32e.dll' does not exist

I tried to ping and got this:

5:22:46 PM: [Network] Pinging Coordinator...
5:22:46 PM: [Network] Coordinator has failed to respond
5:22:46 PM: [Network] Coordinator ping complete

Then I kicked off another build at 5:39:11, hung at Geometry (80 seconds), and then got this in the agent log:

5:40:31 PM: [Interface:TryOpenConnection] Local connection established
5:40:31 PM: [Job] Accepted Job 2B67D7BE-40FAE91E-29249694-A2D69B63
5:40:32 PM: [Job] Launched Job UnrealLightmass_2019-09-04_15-08-53_1101200-64bit.exe
5:40:32 PM: [Job] PID is 16468
5:40:32 PM: [Job] GUID is "2B67D7BE-40FAE91E-29249694-A2D69B63"
5:40:32 PM: LogLightmass: Display: Lightmass Win64 started on: DESKTOP-ITU0U36. Command-line: 2B67D7BE40FAE91E29249694A2D69B63
5:40:32 PM: Failed to determine engine directory: Defaulting to ../../../Engine/
5:40:32 PM: Failed to load 'aqProf.dll' (GetLastError=126)
5:40:32 PM: File 'aqProf.dll' does not exist
5:40:32 PM: Failed to load 'VtuneApi.dll' (GetLastError=126)
5:40:32 PM: File 'VtuneApi.dll' does not exist
5:40:32 PM: Failed to load 'VtuneApi32e.dll' (GetLastError=126)
5:40:32 PM: File 'VtuneApi32e.dll' does not exist
5:40:32 PM: Lightmass Win64 started on: DESKTOP-ITU0U36. Command-line: 2B67D7BE40FAE91E29249694A2D69B63
5:40:32 PM: LogLightmass: Display: Processing scene GUID: 2B67D7BE40FAE91E29249694A2D69B63 with 10 threads
5:40:32 PM: Processing scene GUID: 2B67D7BE40FAE91E29249694A2D69B63 with 10 threads
5:40:32 PM: Building static lighting...
5:40:32 PM: [OpenConnection] Registering TCP channel ...
5:40:32 PM: [OpenConnection] Connecting to agent ...
5:40:32 PM: [TryOpenConnection] Testing the Agent
5:40:32 PM: [TryOpenConnection] Opening Connection to Agent
5:40:32 PM: [TryOpenConnection] Local Process ID is 16468
5:40:32 PM: [Job] Found a parent connection for PID 16468
...

Started Swarm Coordinator (from instructions at link above), I get the same long delay.

Exited the agent, and try again, error “Failed to Connet to Swarm”

Tried it again, and now I’m hung at “Starting up Swarm Connection” and getting the same long connection delay as Geometry.

Is there a way to turn off Swarm for my project? I’m building mobile (Oculus Quest) games, so a render farm is a luxury at the moment.

In the end, I’d rather use the tools than fight them. Looking forward to the 4.23 :slight_smile: