Swarm fails to build light (UE5)

I’m trying to build the sample game, but Swarm keeps failing to build light.

Swarm log:

4:27:44 AM: [Interface:TryOpenConnection] Local connection established
4:27:44 AM: [Job] Accepted Job A6EE14D9-4E2FA16E-676F2296-3B364903
4:27:45 AM: [Job] Launched Job UnrealLightmass_2021-12-09_20-02-10_1230336-64bit.exe
4:27:45 AM: [Job] PID is 2916
4:27:45 AM: [Job] GUID is “A6EE14D9-4E2FA16E-676F2296-3B364903”
4:27:45 AM: LogLightmass: Display: Lightmass Win64 started on: DESKTOP-F22UUM7. Command-line: A6EE14D94E2FA16E676F22963B364903
4:27:45 AM: Failed to determine engine directory: Defaulting to
4:27:45 AM: Failed to load ‘aqProf.dll’ (GetLastError=126)
4:27:45 AM: File ‘aqProf.dll’ does not exist
4:27:45 AM: Loading WinPixEventRuntime.dll for PIX profiling (from …/…/…/Engine/Binaries/ThirdParty/Windows/WinPixEventRuntime/x64).
4:27:45 AM: Failed to load ‘…/…/…/Engine/Binaries/ThirdParty/Windows/WinPixEventRuntime/x64/WinPixEventRuntime.dll’ (GetLastError=126)
4:27:45 AM: File ‘…/…/…/Engine/Binaries/ThirdParty/Windows/WinPixEventRuntime/x64/WinPixEventRuntime.dll’ does not exist
4:27:45 AM: Failed to get WinPixEventRuntime.dll handle: The system cannot find the path specified. (3)
4:27:45 AM: Failed to load ‘VtuneApi.dll’ (GetLastError=126)
4:27:45 AM: File ‘VtuneApi.dll’ does not exist
4:27:45 AM: Failed to load ‘VtuneApi32e.dll’ (GetLastError=126)
4:27:45 AM: File ‘VtuneApi32e.dll’ does not exist
4:27:45 AM: Lightmass Win64 started on: DESKTOP-F22UUM7. Command-line: A6EE14D94E2FA16E676F22963B364903
4:27:45 AM: LogLightmass: Display: Processing scene GUID: A6EE14D94E2FA16E676F22963B364903 with 14 threads
4:27:45 AM: Processing scene GUID: A6EE14D94E2FA16E676F22963B364903 with 14 threads
4:27:45 AM: Building static lighting…
4:27:45 AM: [OpenConnection] Registering TCP channel …
4:27:45 AM: [OpenConnection] Connecting to agent …
4:27:45 AM: [TryOpenConnection] Testing the Agent
4:27:45 AM: [TryOpenConnection] Opening Connection to Agent
4:27:45 AM: [TryOpenConnection] Local Process ID is 2916
4:27:45 AM: [Job] Found a parent connection for PID 2916
4:27:45 AM: [Job] 4E7F22A1 → 6766B630
4:27:45 AM: [Interface:TryOpenConnection] Local connection established
4:27:45 AM: Skylight import processing 0.004s with CubemapSize 128
4:27:45 AM: Measured CPU frequency: 3.80 GHz
4:27:45 AM: FStaticLightingSystem started using GKDOPMaxTrisPerLeaf: 4
4:27:45 AM: Number of texture mappings: 7
4:27:45 AM: Number of fluid mappings: 0
4:27:45 AM: Number of landscape mappings: 0
4:27:45 AM: Number of BSP mappings: 0
4:27:45 AM: Number of static mesh instance mappings: 7
4:27:45 AM: [Job] Job has failed! Job executable didn’t exit cleanly. Exit code: -1073740940
4:27:45 AM: [CloseConnection] Closing connection 4E7F22A1 using handle 4E7F22A1
4:27:45 AM: [CloseConnection] Connection confirmed for disconnection 4E7F22A1
4:27:45 AM: [CloseConnection] Closing orphaned Job (A6EE14D9-4E2FA16E-676F2296-3B364903)
4:27:45 AM: [MaintainConnections] Connection 4E7F22A1 is DISCONNECTING
4:27:45 AM: [MaintainConnections] Detected dropped local connection, cleaning up (6766B630)
4:27:45 AM: [CloseConnection] Closing connection 6766B630 using handle 6766B630
4:27:45 AM: [CloseConnection] Connection confirmed for disconnection 6766B630
4:27:45 AM: [CloseConnection] Connection disconnected 6766B630
4:27:45 AM: [GetMessage] Safely returning to 6766B630 with no message
4:27:46 AM: [MaintainConnections] Connection 4E7F22A1 is DISCONNECTING
4:27:46 AM: [MaintainConnections] Local connection has closed (6766B630)
4:27:46 AM: [MaintainConnections] Removed connection 6766B630
4:27:46 AM: [MaintainConnections] Connection 4E7F22A1 is DISCONNECTING
4:27:47 AM: [MaintainConnections] Connection 4E7F22A1 is DISCONNECTING
4:27:47 AM: [MaintainConnections] Connection 4E7F22A1 is DISCONNECTING
4:27:48 AM: [MaintainConnections] Connection 4E7F22A1 is DISCONNECTING
4:27:49 AM: [MaintainConnections] Connection 4E7F22A1 is DISCONNECTING
4:27:49 AM: [MaintainConnections] Connection 4E7F22A1 is DISCONNECTING
4:27:49 AM: [MaintainConnections] Connection 4E7F22A1 is DISCONNECTING
4:27:50 AM: [CloseConnection] Connection disconnected 4E7F22A1
4:27:50 AM: [GetMessage] Safely returning to 4E7F22A1 with no message
4:27:50 AM: [MaintainConnections] Local connection has closed (4E7F22A1)
4:27:50 AM: [MaintainConnections] Removed connection 4E7F22A1
4:27:50 AM: [MaintainConnections] All connections have closed

I don’t know if it matters that it failed to load some .dll. Or it’s just a warning and the real problem is something else.

I’ve validated and cleared the Swarm cache. Didn’t help.

Upgrading to 7692c2 solved it.