# Unreal 4.15 - Swarm Agent failed to kick off

**URL:** <https://forums.unrealengine.com/t/unreal-4-15-swarm-agent-failed-to-kick-off/390275>\
**Category:** Rendering\
**Tags:** building-lighting, swarm-agent, unreal-engine, question\
**Created:** [April 7, 2017, 5:22pm UTC](https://forums.unrealengine.com/t/unreal-4-15-swarm-agent-failed-to-kick-off/390275 "2017-04-07T17:22:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_ab1ea73f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ab1ea73f](https://forums.unrealengine.com/u/anonymous_user_ab1ea73f)\
**Post date:** [April 7, 2017, 5:22pm UTC](https://forums.unrealengine.com/t/unreal-4-15-swarm-agent-failed-to-kick-off/390275/1 "2017-04-07T17:22:27Z")

</div>

Hi guys, i have been trying to build the lights in my project, but swarm agent failed everytime. I tried all the solutions that i found in this answerhub. The log error in Swarm Agent is:

**0:12:18: Starting up SwarmAgent …  
0:12:18: … registering SwarmAgent with remoting service  
0:12:18: … registering SwarmAgent network channels  
0:12:18: … initializing SwarmAgent  
0:12:18: … certificate check has failed  
0:12:18: … initializing cache  
0:12:18: … using cache folder ‘C:/Users//AppData/Local/UnrealEngine/4.15/Saved/Swarm\SwarmCache’  
0:12:18: … recreating SwarmAgent cache staging area  
0:12:18: … initializing connection to SwarmCoordinator  
0:12:18: … using SwarmCoordinator on RENDER-01  
0:12:20: … SwarmCoordinator failed to be initialized  
0:12:20: … initializing local performance monitoring subsystem  
0:12:21: … initialization successful, SwarmAgent now running  
0:12:21: [Interface:TryOpenConnection] Local connection established  
0:12:22: [Job] Accepted Job D8A13BA7-45B9524F-6911A4B7-06563DDD  
0:12:24: [Interface:OpenChannel] Error: System.IO.IOException: The process cannot access the file ‘C:\Users\AppData\Local\UnrealEngine\4.15\Saved\Swarm\SwarmCache\AgentStagingArea  
v1.CC2F0757AA2598765416D9CF7469EB09B77DA0D0.mtrlgz’ because it is being used by another process.  
at [System.IO](http://System.IO).\_\_Error.WinIOError(Int32 errorCode, String maybeFullPath)  
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY\_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)  
at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share)  
at NSwarm.FSwarmInterface.OpenChannel(String ChannelName, EChannelFlags ChannelFlags)  
0:14:29: [RequestCacheClear] Request ignored because of active, open connections  
0:14:32: [RequestCacheValidate] Request ignored because of active, open connections**

I Turned off the Antivirus and Firewall, Clean Cache and delete the folder, created a new level and move all there. Nothing works…please help 😕

Thanks!

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [April 7, 2017, 7:42pm UTC](https://forums.unrealengine.com/t/unreal-4-15-swarm-agent-failed-to-kick-off/390275/2 "2017-04-07T19:42:10Z")

</div>

**‘C:\Users\AppData\Local\UnrealEngine\4.15\Saved\Swarm\SwarmCache\AgentStagingArea  
v1.CC2F0757AA2598765416D9CF7469EB09B77DA0D0.mtrlgz’ because it is being used by another process.**

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

Follow along in that part of the Wiki I made to resolve your issue. Ultimately, once you know what process is being used that prevents Swarm from using the correct port you’ll need to solve that locally on your machine. This isn’t something that I’ll be able to really walk you through, so you’ll need to use Google and a little bit of digging. Hopefully that helps you figure out what’s going on. 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ab1ea73f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ab1ea73f](https://forums.unrealengine.com/u/anonymous_user_ab1ea73f)\
**Post date:** [April 10, 2017, 1:35pm UTC](https://forums.unrealengine.com/t/unreal-4-15-swarm-agent-failed-to-kick-off/390275/3 "2017-04-10T13:35:05Z")

</div>

Hi Tim, thanks for the answer, but is not a problem about ports, as you can see in the image below:

 ![133379-port.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/3/1/9312ed17a232c88320c7ce0d8bc3c05a071c592c.jpeg)

Swarm Agent is using the port 8008, so I don’t know what is wrong

---

<div class="post-metadata">

**Author:** ![stehc88](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stehc88](https://forums.unrealengine.com/u/stehc88)\
**Post date:** [May 12, 2017, 7:24am UTC](https://forums.unrealengine.com/t/unreal-4-15-swarm-agent-failed-to-kick-off/390275/4 "2017-05-12T07:24:46Z")

</div>

Hi everyone, I also have a problem with the swarm agent. I can not make it work on the net with my second pc, on the first machine, the one where I installed unreal4, in the SwarmStatus tells me Waiting for remote access to become available, but do not leave. On the second pc in the log i by the following errors:

[StartJobExecution] Exception was: System.UnauthorizedAccessException: Access to the path ‘C:\Program Files\Epic Games\UE\_4.15\Engine\Binaries\DotNET/SwarmCache\Jobs\Job-F0357984-4E93988B-4A72B680-490D7F86\UnrealLightmass.exe’ is denied.  
at [System.IO](http://System.IO).\_\_Error.WinIOError(Int32 errorCode, String maybeFullPath)  
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)  
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)  
at Agent.AgentJob.StartJobExecution()

To set the swarm I followed this video

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/9/2/5921b5414df6e75e5c42a61eefc3f3b8221e4b29.jpeg "UDK - Networking the SWARM AGENT") ](https://www.youtube.com/watch?v=WY2z8p6-kg8)

Use a crossover network cable. Help my please and please, sorry for bad enghlish!! 🙂

---

<div class="post-metadata">

**Author:** ![Ironbelly](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ironbelly/32/990679_2.png) [@Ironbelly](https://forums.unrealengine.com/u/Ironbelly)\
**Post date:** [May 27, 2017, 8:06pm UTC](https://forums.unrealengine.com/t/unreal-4-15-swarm-agent-failed-to-kick-off/390275/5 "2017-05-27T20:06:29Z")

</div>

Anytime I’ve run into this: C:\Users\AppData\Local\UnrealEngine\4.15\Saved\Swarm\SwarmCache\AgentStagingArea\ v1.CC2F0757AA2598765416D9CF7469EB09B77DA0D0.mtrlgz’ because it is being used by another process.

it’s because of materials with duplicate names. Try searching for them in your content browser and renaming the dupes

---

<div class="post-metadata">

**Author:** ![youthnick](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@youthnick](https://forums.unrealengine.com/u/youthnick)\
**Post date:** [June 1, 2017, 9:48am UTC](https://forums.unrealengine.com/t/unreal-4-15-swarm-agent-failed-to-kick-off/390275/6 "2017-06-01T09:48:31Z")

</div>

make sure that there is no error or warning in the Message log windows
