# SwarmAgent stopping with error

**URL:** <https://forums.unrealengine.com/t/swarmagent-stopping-with-error/357080>\
**Category:** Rendering\
**Tags:** swarm, Lightmass, swarm-agent, unreal-engine, UE4, question\
**Created:** [May 11, 2016, 5:16am UTC](https://forums.unrealengine.com/t/swarmagent-stopping-with-error/357080 "2016-05-11T05:16:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dluchau](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dluchau](https://forums.unrealengine.com/u/dluchau)\
**Post date:** [May 11, 2016, 5:16am UTC](https://forums.unrealengine.com/t/swarmagent-stopping-with-error/357080/1 "2016-05-11T05:16:23Z")

</div>

Hi,

I’m trying to build lighting for my project with 5249 unbuilt objects with “Preview” quality and lightmap res set to 4 on all foliage.

I’ve built lightning successfully many times in this project before, but when trying to now, I get the following in SwarmAgent:

[Interface:OpenChannel] Error: System.OverflowException: Array dimensions exceeded supported range.  
at NSwarm.FSwarmInterface.OpenChannel(String ChannelName, EChannelFlags ChannelFlags)  
07:13:31: [Job] Job has failed! Job executable didn’t exit cleanly. Exit code 2

My system:  
i5-6600K @3.5GHz  
32GB 2133MHz RAM  
AMD Radeon R9 Fury

---

<div class="post-metadata">

**Author:** ![DenKuzn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DenKuzn](https://forums.unrealengine.com/u/DenKuzn)\
**Post date:** [April 6, 2018, 2:49am UTC](https://forums.unrealengine.com/t/swarmagent-stopping-with-error/357080/2 "2018-04-06T02:49:05Z")

</div>

Up.  
I have problem like that

---

<div class="post-metadata">

**Author:** ![Sonaloux](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sonaloux](https://forums.unrealengine.com/u/Sonaloux)\
**Post date:** [November 16, 2018, 1:02pm UTC](https://forums.unrealengine.com/t/swarmagent-stopping-with-error/357080/3 "2018-11-16T13:02:44Z")

</div>

Up. I have problem like that

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_dbd6e987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dbd6e987](https://forums.unrealengine.com/u/anonymous_user_dbd6e987)\
**Post date:** [November 29, 2018, 8:46am UTC](https://forums.unrealengine.com/t/swarmagent-stopping-with-error/357080/4 "2018-11-29T08:46:50Z")

</div>

Up again, I have the same exact problem on a 36 cores / 64GB machine in swarm with the same exact pc plus a few others. The project was building perfectly fine until it suddenly didn’t want to anymore.

---

<div class="post-metadata">

**Author:** ![Levantail](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/levantail/32/88718_2.png) [@Levantail](https://forums.unrealengine.com/u/Levantail)\
**Post date:** [April 12, 2021, 6:36pm UTC](https://forums.unrealengine.com/t/swarmagent-stopping-with-error/357080/5 "2021-04-12T18:36:53Z")

</div>

Up. Exact problem, from some moment project suddenly refuse to build lighting with swarm.

---

<div class="post-metadata">

**Author:** ![SB\_CDufour](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sb_cdufour/32/1008648_2.png) [@SB\_CDufour](https://forums.unrealengine.com/u/SB_CDufour)\
**Post date:** [February 4, 2022, 6:15pm UTC](https://forums.unrealengine.com/t/swarmagent-stopping-with-error/357080/6 "2022-02-04T18:15:55Z")

</div>

Up, same problem

---

<div class="post-metadata">

**Author:** ![ThunderWInteractive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thunderwinteractive/32/725327_2.png) [@ThunderWInteractive](https://forums.unrealengine.com/u/ThunderWInteractive)\
**Post date:** [May 17, 2022, 3:22am UTC](https://forums.unrealengine.com/t/swarmagent-stopping-with-error/357080/7 "2022-05-17T03:22:27Z")

</div>

anyone have a fix for this?

---

<div class="post-metadata">

**Author:** ![Polite\_Muon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Polite\_Muon](https://forums.unrealengine.com/u/Polite_Muon)\
**Post date:** [May 19, 2022, 10:29pm UTC](https://forums.unrealengine.com/t/swarmagent-stopping-with-error/357080/8 "2022-05-19T22:29:22Z")

</div>

Thank you for posting your question. From what I was able to find, the people [who face this same issue](https://forums.unrealengine.com/t/ue4-4-27-2-build-lighting-crash/558939) typically attribute it to a high poly model or two in their levels.

Another resource for now is the [documentation](https://docs.unrealengine.com/4.27/en-US/RenderingAndGraphics/Lightmass/UnrealSwarmOverview/) on Swarm itself.

I hope this information is useful to you.
