Cyrus 365Academy
cyrus365.com

Β© 2019-2026 Cyrus 365. All rights reserved.

AcademySolutionsContact
Cyrus 365Academy
cyrus365.com
Back to Academy
Deep DiveBeginner

Fix UE5 Lighting Build Fails Instantly πŸ”¦

Lighting build stuck at 99% or failing? Here is how to fix common Swarm Agent errors and get your static lighting baked.

25 Nov 2025Cyrus 3651 min read
UE5LightingSwarm AgentOptimization

There is nothing worse than waiting for a lighting build only to have it fail or hang indefinitely. Usually, the culprit is the Swarm Agent. Here is the quick fix! ⚑

Method 1: Clean the Swarm Cache

  1. 1Look in your Windows System Tray (bottom right) for the Swarm Agent icon (yellow/orange 'S').
  2. 2Double-click it to open the window.
  3. 3Go to the Menu bar β†’ Cache β†’ Clean.
  4. 4Click Yes to confirm.

This clears out old, potentially corrupted lighting data. Try building again!

Method 2: Force Validate

If cleaning the cache didn't work, we need to force Swarm to validate the data.

  1. 1In the Swarm Agent window, click the Settings tab.
  2. 2Set CacheFolder to a path with plenty of space.
  3. 3Change CleanOldCache to True.

Pro Tip: Firewall Issues

If Swarm won't even start, your firewall might be blocking it. Ensure this executable has permission:

text
Engine\Binaries\DotNET\UnrealBuildTool\SwarmAgent.exe

Related articles

Deep DiveAdvanced

Cross-Project DLC (Pak) Loading | Unreal Engine 5 Advanced Tutorials

Learn how to build DLCs (UE paks) like Steam or Android downloadable content in Unreal Engine 5.

31 Aug 2024Cyrus 365

Β© 2019-2026 Cyrus 365. All rights reserved.

AcademySolutionsContact